Started by
LuckyBacon
on
Topic category: Help with MCreator software
How can i change these values using the new NBT blocks? I would like to read/write a value to Base of "generic.maxHealth" like shown in the screenshot. It is not always located in "0", as i add more mods.
You can not alter existing NBT tags yet without custom code. In 1.9.1, you will be able to using command procedure block.
Alright, so now that its a thing, how do i read and write to it?
I believe there are commands that allow this, check Minecraft Wiki would be my recommendation.
Hey klemen, I created the following procedure:
https://ibb.co/CH69ZPY
I did it both with "/effect " and "effect ". Upon adding send to chat of all players Get Local: Command, it appeared that the command was exactly right, but yet it didn't go off.
Typing in exactly that string as it was printed in chat manually however did play the command. Am I missing something?
Try using entity selector @p
Thanks, that worked! I'll make a quick video tutorial on it because i predict this will be asked about multiple times from here on.
Cool, thanks!