Get NBT itemstack tag [tagName] of block at x: [x] y: [y] z: [z] if it has block entity

Get NBT itemstack tag [tagName] of block at x: [x] y: [y] z: [z] if it has block entity. Procedure block in the block category. It gives back a item value.

Get NBT itemstack tag tagName of block at x: x y: y z: z if it has block entity
Category
Block
Block type
Value block (plugs into another block)
Returns
Item
Needs
World
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
xPlug-in valueNumber
yPlug-in valueNumber
zPlug-in valueNumber
tagNamePlug-in valueString

not_inventory_replacement