public class StructurePlacementData extends Object
Modifier and Type | Field and Description |
---|---|
private BlockBox |
boundingBox |
private ChunkPos |
chunkPosition |
private int |
field_15575 |
private boolean |
field_24043 |
private boolean |
ignoreEntities |
private BlockMirror |
mirror |
private boolean |
placeFluids |
private BlockPos |
position |
private List<StructureProcessor> |
processors |
private Random |
random |
private BlockRotation |
rotation |
private boolean |
updateNeighbors |
Constructor and Description |
---|
StructurePlacementData() |
private BlockMirror mirror
private BlockRotation rotation
private BlockPos position
private boolean ignoreEntities
private boolean placeFluids
@Nullable private int field_15575
private final List<StructureProcessor> processors
private boolean updateNeighbors
private boolean field_24043
public StructurePlacementData copy()
public StructurePlacementData setMirror(BlockMirror mirror)
public StructurePlacementData setRotation(BlockRotation rotation)
public StructurePlacementData setPosition(BlockPos position)
public StructurePlacementData setIgnoreEntities(boolean ignoreEntities)
public StructurePlacementData setChunkPosition(ChunkPos chunkPosition)
public StructurePlacementData setBoundingBox(BlockBox boundingBox)
public StructurePlacementData setRandom(@Nullable Random random)
public StructurePlacementData setUpdateNeighbors(boolean updateNeighbors)
public StructurePlacementData clearProcessors()
public StructurePlacementData addProcessor(StructureProcessor processor)
public StructurePlacementData removeProcessor(StructureProcessor processor)
public BlockMirror getMirror()
public BlockRotation getRotation()
public BlockPos getPosition()
public boolean shouldIgnoreEntities()
public boolean shouldUpdateNeighbors()
public List<StructureProcessor> getProcessors()
void calculateBoundingBox()
public boolean shouldPlaceFluids()
public Structure.PalettedBlockInfoList getRandomBlockInfos(List<Structure.PalettedBlockInfoList> list, @Nullable BlockPos pos)
public StructurePlacementData method_27264(boolean bool)
public boolean method_27265()