Started by
Nogitsu
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make some growable plants, to easily put the differents growing stages using metadata (so metadata id:0 is stage 0, id:1 stage 1, etc..)
But I can't find how to use metadata
MCreator does not have direct metadata support yet, but 1.8.3 will introduce custom block NBT data.
YESS
Because Nogitsu is trying to make a plant with multiple stages, I do not think that block NBT (which I suppose means NBT in TileEntity) will help that much, as this NBT data can not be directly accessed by the blockstate .JSON file, which means you can't change the way the block looks, unless you add also TileEntitySpecialRenderer or a blockstate value, that would act as a wrapper for the data in the TileEntity, but if you do this, you can just use blockstate in the first place (unless you need more than 16 variants).
Nuparu, that is true. We plan to add block states and parameters dependent on them in the future too.
I have a question with nbt tags (even if I was the one who suggested them XD).
Do they work with the vanilla ones? I mean, can we for example change a mob's direction, make it unaffected by gravity or add passengers on it?
If yes, then a lot more things are possible than I thought
For mobs, you can set NBT tags of existing entities too, but just new ones, I am not sure if you can alter existing tags with our current implementation yet.
Well me i don't know what's blocks, items, mobs NBT tag and what are they used for
I only know that structures uses .nbt file
@Klemen I will check later if they work with the vanilla ones
@Loic_MaitreDeFeu NBT tags are "parameters" that hold a piece of information of a Minecraft block, item, entity, etc. For example, the words written in a book, the profession of a villager or the mob in a mob spawner all are nbt tags.
If you are familiar with commands, they are used there.
For more info, go here