on place:
set {_i} to player's held item
if custom nbt compound of {_i} has tag "ID":
send "&a&lSUCCESS: &7You have placed a ""%name of {_i}%&7""" to player
set {_id} to int tag "ID" of custom nbt compound of {_i}
broadcast "Item NBT ID:%{_id}%"
set int tag "blockID" of nbt of event-block to {_id}
set {_p} to int tag "blockID" of nbt of event-block
set {debug} to int tag "ID" of custom nbt of {_i}
broadcast "%{_p}%"
add event-block to {generators::*}
every {@DropTime} seconds:
loop {generators::*}:
if block at loop-value is not air:
set {_example} to int tag "blockID" of custom nbt compound of loop-value
broadcast "%{_example}%"
#need helpp
1 messages · Page 1 of 1 (latest)
it says <none> in {_example}
yesterday worked now it doesnt
set {debug} to int tag "ID" of custom nbt of {_i}
broadcast "%{_p}%"
says none