Dyeable (Item, Armor)

Published by BaR1BoD on
Supported MCreator versions
2024.1
2024.2
Tags / plugin type
Java plugin
Procedures
MCreator plugin
Downloads:
626
Upvotes: 12
About the plugin

A plugin that allows you to cerate item and armor that can be dyed.

 

NOTE: Dyeable armor has added only for NeoForge 1.20.6

NOTE: Dyeable armor overlay texture only works for default armor model, and if you use custom java model, the whole armor will be dyeable

Dyeable armor require the Forge mixin plugin support

Example

 

The only thing you need to know is that a new mod element called Dyeable Item has been added, which has a new page called dye, where you can change a series of values.
Also, for the item, you can put one main texture of the item and one overlay in the texture.
The main texture of the item is better to be mostly white and colors tending to white, for better coloring.
Overlay is a part of the texture that will not be dyed.

You can see a preview of your item in the mod element icon of your item.

Also, some new procedures have been added.

 

 

How to use overlay texture for dyeable items with custom model?

The overlay texture inside the Dyeable Item mod element will not have any effect on the item with the custom model.

When you are creating a model and texture in Blockbench, by right-clicking on the face that is supposed to be dyeable and activating the Tint option on that face, that face will be dyeable.

 

Supported versions:

  • Forge 1.20.1
  • NeoForge 1.20.4
  • NeoForge 1.20.6

 


 

Changelog

1.1.1

  • Fixed Forge 1.20.1 item texture
  • Fixed NeoForge 1.20.6 and Forge 1.20.1 procedures
  • Move NeoForge 1.20.6 color listener from main mod file to RegisterColor

1.1.0

  • Port to MCreator 2024.2
  • Added NeoForge-1.20.6 support
  • Added Dyeable Armor
  • Added Dyeable Item custom model support
  • Fixed Dyeable Item mod element UI

1.0.0

  • Initial release
License
MIT License

Plugin downloads
Dyeable-1.0.0 | MCreator 2024.1 - Dyeable.zip Uploaded on: 07/06/2024 - 08:52   File size: 57.27 KB
Dyeable-1.1.1 | MCreator 2024.2 - Dyeable_0.zip Uploaded on: 07/28/2024 - 17:30   File size: 97.56 KB

Comments

error: incompatible types: ItemStack cannot be converted to IDyeableItem
if (itemstack instanceof IDyeableItem _dyeableItem_)
^

error: cannot find symbol
bus.addListener(RegisterColor::onItemColorRegister);
^
symbol: variable RegisterColor

Doesn't work for me and when i try using the procedures it gives an error i'm using 2024.1 neoforge 1.20.4

chance for this to ever get dyeable blocks and armor? currently you cant do much with a dyeable item but its a cool plugin

I see that you can add a model. How does it work? Like do I need to bind two textures to a model or select textures in an element?

Unfortunately, overlay texture does not work for custom models.
If there is a part of your texture that you want not to be dyed, you can make that part with darker colors. Darker colors are less affected when dyed.

Any plans/ possibility to make this work for armor?? 👀 This is amazing.

Minecraft itself has an event for rendering color (RegisterColorHandlerEvent.Item).
For each item that is going to have a color, we will give it the color and the item itself.
The color of each item is stored in the nbt tag of the item