Blocks metadata

Started by Nogitsu on

Topic category: Help with modding (Java Edition)

Last seen on 17:29, 28. Mar 2023
Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Blocks metadata

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…
Mon, 03/04/2019 - 16:21

MCreator does not have direct metadata support yet, but 1.8.3 will introduce custom block NBT data.

Last seen on 17:59, 5. Jan 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
YESS
Thu, 05/02/2019 - 22:38

YESS

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Because Nogitsu is trying to…
Fri, 05/03/2019 - 05:55

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…
Fri, 05/03/2019 - 12:40

Nuparu, that is true. We plan to add block states and parameters dependent on them in the future too.

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have a question with nbt…
Fri, 05/03/2019 - 14:00

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…
Fri, 05/03/2019 - 16:35

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.

Last seen on 09:43, 4. Jan 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well me i don't know what's…
Fri, 05/03/2019 - 16:43

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

Last seen on 17:49, 25. Mar 2021
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen I will check later…
Fri, 05/03/2019 - 17:12

@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