diff --git a/minecraft/protocol/structure.go b/minecraft/protocol/structure.go index 4c4cc247..a39a3925 100644 --- a/minecraft/protocol/structure.go +++ b/minecraft/protocol/structure.go @@ -36,6 +36,9 @@ type StructureSettings struct { // IgnoreBlocks specifies if the structure should ignore blocks or include them. If set to false, blocks // will show up in the exported structure. IgnoreBlocks bool + // AllowNonTickingChunks specifies if the structure should allow non-ticking chunks. If set to false, the structure + // will export non-ticking chunks. + AllowNonTickingChunks bool // Size is the size of the area that is about to be exported. The area exported will start at the // Position + Offset, and will extend as far as Size specifies. Size BlockPos @@ -70,6 +73,7 @@ func StructSettings(r IO, x *StructureSettings) { r.String(&x.PaletteName) r.Bool(&x.IgnoreEntities) r.Bool(&x.IgnoreBlocks) + r.Bool(&x.AllowNonTickingChunks) r.UBlockPos(&x.Size) r.UBlockPos(&x.Offset) r.Varint64(&x.LastEditingPlayerUniqueID)