-
Bug
-
Resolution: Fixed
-
1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a
-
Confirmed
-
Structures
-
Normal
The bug
When trying to set a structure's size or offset to be larger than 32 via the GUI, it gets capped at 32 when the GUI closes.
Code analysis (Mojang mappings)
This bug is caused by the fact that the offset and size are still capped to 32 upon reading the incoming packet (ServerboundSetStructureBlockPacket).
net.minecraft.network.protocol.game.ServerboundSetStructureBlockPacket
this.offset = new BlockPos(Mth.clamp(friendlyByteBuf.readByte(), -32, 32), Mth.clamp(friendlyByteBuf.readByte(), -32, 32), Mth.clamp(friendlyByteBuf.readByte(), -32, 32)); this.size = new BlockPos(Mth.clamp(friendlyByteBuf.readByte(), 0, 32), Mth.clamp(friendlyByteBuf.readByte(), 0, 32), Mth.clamp(friendlyByteBuf.readByte(), 0, 32));
Workaround
To work around this, use data modify to set the size or offset instead.
- is duplicated by
-
MC-192496 Structure Block in Realms Max Volume Not Increased in 1.16
- Resolved
-
MC-193830 Structure Block - size of structure
- Resolved
-
MC-194970 Structure Block size not updated on Realms
- Resolved
-
MC-196936 Structure Blocks maximum loading volume is supposed to be 48 cubed, right?
- Resolved
- relates to
-
MC-179481 Structure block offset can't be bigger than 32
- Resolved