Geckolib plugin question regarding dynamic dyeing

Started by pathetic_box on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Geckolib plugin question regarding dynamic dyeing

Greetings everyone! I am trying to make a mod that adds mechs to minecraft and i was curios if i could somehow make their parts be dyed during the assembly process like with the MrCrayfish's gun mod. Any help would be appreciated since its my first time making a mod and I am going in blind, so thanks in advance!

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
With MCreator and the…
Sat, 07/12/2025 - 11:14

With MCreator and the Geckolib plugin there is a procedure for changing the texture of entities. So you have to create a texture for each minecraft tint. I recommend using names like "my_vehicle_name" + "minecraft_dye_item_name", so you can easily create a procedure where when you dye your vehicle you get the dye name in your hand and add it to the vehicle texture name. This way the procedure will be very flexible without "if" columns