set Block Nbt
Replace the NBT data of a block entity.
Parameters
block
the target BlockEntity
tag
the CompoundTag to set on the block entity
Set the NBT of a block entity at the given position.
Return
true if set succeeded, false if no block entity present
Parameters
level
level to modify
pos
block position
tag
CompoundTag to set