public class PlacementSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private StructureBoundingBox |
boundingBox |
private ChunkPos |
chunk |
private boolean |
ignoreEntities |
private boolean |
ignoreStructureBlock |
private float |
integrity |
private Mirror |
mirror |
private java.util.Random |
random |
private Block |
replacedBlock |
private Rotation |
rotation |
private java.lang.Long |
setSeed |
Constructor and Description |
---|
PlacementSettings() |
private Mirror mirror
private Rotation rotation
private boolean ignoreEntities
@Nullable private Block replacedBlock
@Nullable private ChunkPos chunk
@Nullable private StructureBoundingBox boundingBox
private boolean ignoreStructureBlock
private float integrity
@Nullable private java.util.Random random
@Nullable private java.lang.Long setSeed
public PlacementSettings copy()
public PlacementSettings setMirror(Mirror mirrorIn)
public PlacementSettings setRotation(Rotation rotationIn)
public PlacementSettings setIgnoreEntities(boolean ignoreEntitiesIn)
public PlacementSettings setReplacedBlock(Block replacedBlockIn)
public PlacementSettings setChunk(ChunkPos chunkPosIn)
public PlacementSettings setBoundingBox(StructureBoundingBox boundingBoxIn)
public PlacementSettings setSeed(@Nullable java.lang.Long seedIn)
public PlacementSettings setRandom(@Nullable java.util.Random randomIn)
public PlacementSettings setIntegrity(float integrityIn)
public Mirror getMirror()
public PlacementSettings setIgnoreStructureBlock(boolean ignoreStructureBlockIn)
public Rotation getRotation()
public java.util.Random getRandom(@Nullable BlockPos seed)
public float getIntegrity()
public boolean getIgnoreEntities()
@Nullable public Block getReplacedBlock()
@Nullable public StructureBoundingBox getBoundingBox()
public boolean getIgnoreStructureBlock()
void setBoundingBoxFromChunk()
@Nullable private StructureBoundingBox getBoundingBoxFromChunk(@Nullable ChunkPos pos)