Set when the block is rotated/mirrored by structure generation or similar mechanics; it ensures blockentity data is transformed accordingly. When placed by a player, this will always be "identity"
BlockEntity Data
Format
Description
connections
List of block positions in [X,Y,Z] format
e.g. [[2, 5, -6], [2, 5, -9]]
Relative distances to other blocks which this tube is connected to
inventory
[
{
"item": {},// itemstack object
"moves": [],// move list
"ticks_remaining":integer,
"max_duration":integer,
"fresh":boolean
}
]
List of the items currently travelling through the tube:
item is an itemstack object in standard vanilla format (with sub-fields id, count, components)
moves is the item's remaining moves encoded as a list of pairs of numbers [dir0, count0, dir1, count1, etc] where dirN, countN indicates count moves in the dir direction, where dirN is a direction ordinal in DUNSWE order
e.g. [0, 5, 4, 2] indicates DOWN 5 blocks followed by WEST 2 blocks
ticks_remaining is the number of ticks remaining in this tube before it moves to the next tube
max_duration is the total number of ticks the item spends in the tube
fresh indicates the tube is the tube which the item was originally inserted into (as opposed to a tube the item travelled to from another tube)