← Back to Index

StructureBlockUpdatePacket (90)

After the client makes changes in the Structure Block Screen we tell the server to update based off of that. This only sent when you close the UI.
Field Name Type Field Index Description
Block Position (Required) BlockPos 0

BlockPos

Field Name Type Field Index Description
X (Required) varint32 0
Y (Required) varint32 1
Z (Required) varint32 2
Structure Data (Required) StructureEditorData 1

StructureEditorData

Field Name Type Field Index Description
Structure Name (Required) Bedrock::Safety::RedactableString 0

Bedrock::Safety::RedactableString

Field Name Type Field Index Description
Unredacted (Required) string 0
Redacted string 1
Data Field (Required) string 1
Should include players? (Required) boolean 2
Should show bounding box? (Required) boolean 3
Structure Block Type (Required) varint32 4
Enum Values:
Index Value
0 Data
1 Save
2 Load
3 Corner
4 Invalid
5 Export
Structure Settings (Required) StructureSettings 5

StructureSettings

Field Name Type Field Index Description
Structure Palette Name (Required) string 0
Should ignore entities? (Required) boolean 1
Should ignore blocks? (Required) boolean 2
Should Allow Non Ticking Player and Ticking Area Chunks (Required) boolean 3
Structure Size (Required) BlockPos 4

BlockPos

Field Name Type Field Index Description
X (Required) varint32 0
Y (Required) varint32 1
Z (Required) varint32 2
Structure Offset (Required) BlockPos 5

BlockPos

Field Name Type Field Index Description
X (Required) varint32 0
Y (Required) varint32 1
Z (Required) varint32 2
Last Edit Player (Required) ActorUniqueID 6 Player who last edited the structure block.

ActorUniqueID

Field Name Type Field Index Description
Actor Unique ID (Required) varint64 0
Rotation (Required) uint8 7
Enum Values:
Index Value
0 None
1 Rotate90
2 Rotate180
3 Rotate270
4 Clockwise90
5 Clockwise180
6 CounterClockwise90
Mirror (Required) uint8 8
Enum Values:
Index Value
0 None
1 X
2 Z
3 XZ
Animation Mode (Required) uint8 9
Enum Values:
Index Value
0 None
1 Layers
2 Blocks
Animation Seconds (Required) float 10
Integrity Value (Required) float 11
Integrity Seed (Required) uint32 12
Rotation Pivot (Required) Vec3 13 Pivot used to rotate a structure around.

Vec3

Field Name Type Field Index Description
X (Required) float 0
Y (Required) float 1
Z (Required) float 2
Redstone Save Mode (Required) varuint8 6
Enum Values:
Index Value
0 SavesToMemory
1 SavesToDisk
Trigger? (Required) boolean 2
IsWaterlogged (Required) boolean 3