Started by
gabrieltarzia
on
Topic category: Help with Minecraft modding (Java Edition)
I really need a help, im Trying to get information from a variable of other block, somebody can help Me? Sorry for bad english
Topic category: Help with Minecraft modding (Java Edition)
I really need a help, im Trying to get information from a variable of other block, somebody can help Me? Sorry for bad english
You can't use local variables for this. To achieve this, use block NBT data using block NBT management procedures.
but, i can get some variable informatio for the other block with nbt?
i need to do some blocks like a eletric cables, i need to check energy and get the same valou for all connected cables
Yes you must use block nbt data to achieve this. Make sure to name the nbt variable correctly
Can u give me some help width This? O dont know how to use nbt data