Create: Chain Conveyors Compat

Quick rating

Create: Chain Conveyors Compat

No reviews yet

A Create addon that adds a tag to allow any item to be used as a chain conveyor connector with custom texture support. For modpack development and adding compatibility with modded chains or items

Tech
QoL & Tweaks
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
createchaincompat-0.1.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Create: Chain Conveyors Compat

This Create addon for Neoforge 1.21.1 allows any item to be used for connecting chain conveyors via a unique tag.

The chain items featured in the screenshots are from TerraFirmaCraft as this addon was initially intended to support those exclusively, but TFC is not a dependency, and this addon can be used to add chain conveyor functionality to items from any mod. The code is partially based on the implementation of this feature in the WoodenCog addon for Forge 1.20.1 by Manwe_b.

This mod's entire implementation is built on mixins, and as I'm not terribly experienced in working with these, I can't guarantee its compatibility with other mods or addons that affect the behavior of Create's Chain Conveyors.

Compatibility Notes

  • TerraFirmaCraft (Out-of-the-box compatibility)
  • Create Aeronautics (Modded chains work on chain conveyors on physics contraptions)
  • Quark, Supplementaries, Farmer's Delight (Rope can be added to tag, but the default rendering looks very broken. As of v0.1.0, a generic rope texture is included in the mod, together with conditionally-loaded data map entries for these items. Users are no longer required to supply their own replacement texture for these items to appear without broken rendering )
  • Let me know how it gets along with other mods!

Adding Compatibility for Modded Chains (or other items)

Items that can be used to connect chain conveyors are included in the item tag #createchaincompat:valid_for_chain_conveyor. By default, this tag inherits from the #c:chains tag. Valid connectors for chain conveyors can be added to the tag using datapacks, KubeJS, or any other method for adding tags to items. Theoretically, any item (not just chains) can be added to this tag, but non-chainlike blocks may render strangely and non-block items (items that cannot be placed) will render identically to the vanilla minecraft chain unless a custom texture for that item is added to the data map.

Adding Custom Textures via Data Map (v0.0.4)

v0.0.4 adds a data map that can be used to add custom textures for blocks and items when they are used to connect chain conveyors. The datamap is located at createchaincompat/data_maps/item/chain_tex_data.json. This also allows for live reloading with the /reload command to quickly test your changes ingame!

See the example .json file below:

{
  "values": {
    "minecraft:melon_slice": {
      "texture": "minecraft:textures/block/melon_side.png"
    }
  }
}

Note: the melon slice is not added to the valid_for_chain_conveyor tag by default. It is only included as an example of how to use this feature.

Known Issues

  • Game crashes when loading into an existing world with "vanilla" chain conveyors. Fixed in v0.0.2
  • In cases where the chain's block texture location does not match the resource location of the block itself, the texture will not load properly. I'm trying to work out a better way to get the intended texture. Fixed in v0.0.4
  • Sneak-wrenching chain conveyors in pre-existing worlds with chain connections made before installing this addon will not return any chains to the player's inventory. Fixed in v0.1.0

Create: Chain Conveyors Compat

This Create addon for Neoforge 1.21.1 allows any item to be used for connecting chain conveyors via a unique tag.

The chain items featured in the screenshots are from TerraFirmaCraft as this addon was initially intended to support those exclusively, but TFC is not a dependency, and this addon can be used to add chain conveyor functionality to items from any mod. The code is partially based on the implementation of this feature in the WoodenCog addon for Forge 1.20.1 by manubarrach.

This mod's entire implementation is built on mixins, and as I'm not terribly experienced in working with these, I can't guarantee its compatibility with other mods or addons that affect the behavior of Create's Chain Conveyors.

Compatibility Notes

  • TerraFirmaCraft (Out-of-the-box compatibility)
  • Create Aeronautics (Modded chains work on chain conveyors on physics contraptions)
  • Quark, Supplementaries, Farmer's Delight (Rope can be added to tag, but the default rendering looks very broken. As of v0.1.0, a generic rope texture is included in the mod, together with conditionally-loaded data map entries for these items. Users are no longer required to supply their own replacement texture for these items to appear without broken rendering)
  • Let me know how it gets along with other mods!

Adding Compatibility for Modded Chains

Items that can be used to connect chain conveyors are included in the item tag #createchaincompat:valid_for_chain_conveyor. By default, this tag inherits from the #c:chains tag. Valid connectors for chain conveyors can be added to the tag using datapacks, KubeJS, or any other method for adding tags to items. Theoretically, any item (not just chains) can be added to this tag, but non-chainlike blocks may render strangely and non-block items (items that cannot be placed) will render identically to the vanilla minecraft chain unless a custom texture for that item is added to the data map.

Adding Custom Textures via Data Map (v0.0.4)

v0.0.4 adds a data map that can be used to add custom textures for blocks and items when they are used to connect chain conveyors. The datamap is located at createchaincompat/data_maps/item/chain_tex_data.json. This also allows for live reloading with the /reload command to quickly test your changes ingame!

See the example entry below:

{
  "values": {
    "minecraft:melon_slice": {
      "texture": "minecraft:textures/block/melon_side.png"
    }
  }
}

Note: the melon slice is not added to the valid_for_chain_conveyor tag by default. It is only included as an example of how to use this feature.

Known Issues

  • Game crashes when loading into an existing world with "vanilla" chain conveyors. Fixed in v0.0.2
  • In cases where the chain's block texture location does not match the resource location of the block itself, the texture will not load properly. I'm trying to work out a better way to get the intended texture. Fixed in v0.0.4
  • Sneak-wrenching chain conveyors in pre-existing worlds with chain connections made before installing this addon will not return any chains to the player's inventory. Fixed in v0.1.0

Screenshots

Gallery

  • TFC Chains
    TFC Chains Showcasing TerraFirmaCraft chains on chain conveyors!
  • Functional Frogports and Packagers
    Functional Frogports and Packagers Two frogports and a package travelling across a Red Steel Chain
  • Gui Example
    Gui Example Displays the same interface and consumes the same number of chains as base Create
  • dirt_chain.png
    dirt_chain.png Dirt chains not included...
  • for_demonstration_purposes_only.png
    for_demonstration_purposes_only.png How a chain made of dirt will appear...
  • Rope Texture Showcase
    Rope Texture Showcase Showcase of the rope_generic texture included in v0.1.0 with Supplementaries rope.
  • Create Aeronautics Compatibility
    Create Aeronautics Compatibility
  • TFC Chains
    TFC Chains Showcasing TerraFirmaCraft chains on chain conveyors!
  • Functional Frogports and Packagers
    Functional Frogports and Packagers Two frogports and a package travelling across a Red Steel Chain
  • Gui Example
    Gui Example Displays the same interface and consumes the same number of chains as base Create
  • Tag-based Support
    Tag-based Support Dirt chains not included...
  • For demonstration purposes only
    For demonstration purposes only How a chain made of dirt will appear...
  • Rope Texture Showcase (v0.1.0)
    Rope Texture Showcase (v0.1.0) Showcase of the rope_generic texture included in v0.1.0 with Supplementaries rope.
  • Create Aeronautics Compatibility
    Create Aeronautics Compatibility

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Total Downloads
CurseForge
~1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works