net.minecraft.structure

public abstract class ShiftableStructurePiece

extends StructurePiece

net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
net.minecraft.class_3418
net.minecraft.structure.ShiftableStructurePiece

Field summary

Modifier and TypeField
protected final int
width
field_15244
width
protected final int
height
field_15243
height
protected final int
depth
field_15242
depth
protected int
heightPosition
field_15241
hPos

Constructor summary

ModifierConstructor
protected (StructurePieceType type, int x, int y, int z, int width, int height, int depth, Direction orientation)
protected (StructurePieceType type, NbtCompound tag)

Method summary

Modifier and TypeMethod
protected void
addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag)
method_14943(class_6625 arg0, class_2487 arg1)
writeNbt(StructureContext arg0, NbtCompound arg1)
protected boolean
updateAverageGroundHeight(LevelAccessor level, BoundingBox chunkBB, int offset)
method_14839(class_1936 arg0, class_3341 arg1, int arg2)
adjustToAverageHeight(WorldAccess world, BlockBox boundingBox, int deltaY)
protected boolean
updateHeightPositionToLowestGroundHeight(LevelAccessor level, int offset)
method_38462(class_1936 arg0, int arg1)
adjustToMinHeight(WorldAccess world, int yOffset)