#Can someone help me with this?

1 messages · Page 1 of 1 (latest)

pliant hare
#

why are we doing it this way?
I would:

  • store the shop owner's UUID in the NBT of the block
  • get that on click/increment a counter in the block (this holds the # of diamonds traded in)
  • the owner can take the diamonds out
pliant hare
#

i just outlined the steps.. thats how you "do that". If you need more on a specific step, ask specific questions (ie "How do I set an NBT tag?").

See the skbee wiki for NBT syntax and examples

minor vine
pliant hare
#

well wait until they join and give them then

#

although this will not work if their inventory is full

#

thats why I suggested storing the diamonds

minor vine
pliant hare
#

set a string tag

#

what have you got so far?

minor vine