#How can I get the uuid of an item?

13 messages · Page 1 of 1 (latest)

gritty agate
#

How can I get the uuid of an item?

potent bridgeBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

tender arch
#

what for?

#

give context

#

??xy

hearty pecanBOT
# tender arch ??xy

The XY problem is when you really want to do X, and you think that Y can achieve X. However, you can't get Y to work, and so ask for help exclusively about Y.

This can lead to a lot of confusion from the people trying to help you, as Y can seem like a very random thing to want to do, and a lot of the time isn't the best way to achieve X anyway.

Its fine to ask about Y, just always include some context about X so you can be put on the right track if Y won't do X well, or there is an easier way to do X.

ripe hemlock
#

items dont have UUID

#

they have an ID, which is just item.id

tender arch
#

i was gonna say that after they answered the xy thing lol

gusty oriole
#

if it were an ItemEntity in world it would.... but that's more of an entity then an item at that point

gritty agate
# tender arch give context

I want to make my created block (like a workbench ) it could break down over time. I decided to store its strength in JSON. The position of the block and its strength, and when the block is broken, I will take the uuid of the object instead of the position.

tender arch
#

or are you using custom machinery