Class PlacementSettings
java.lang.Object
net.minecraft.world.gen.feature.template.PlacementSettings
-
Field Summary
Modifier and TypeFieldDescriptionprivate MutableBoundingBox
private ChunkPos
private boolean
private boolean
private boolean
private boolean
private Mirror
private int
private final List<StructureProcessor>
private Random
private Rotation
private BlockPos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddProcessor
(StructureProcessor p_215222_1_) private MutableBoundingBox
calculateBoundingBox
(ChunkPos p_186216_1_) copy()
boolean
getRandomPalette
(List<Template.Palette> p_237132_1_, BlockPos p_237132_2_) boolean
popProcessor
(StructureProcessor p_215220_1_) setBoundingBox
(MutableBoundingBox p_186223_1_) setChunkPos
(ChunkPos p_186218_1_) setFinalizeEntities
(boolean p_237133_1_) setIgnoreEntities
(boolean p_186222_1_) setKnownShape
(boolean p_215223_1_) setRotation
(Rotation p_186220_1_) setRotationPivot
(BlockPos p_207665_1_) boolean
boolean
(package private) void
-
Field Details
-
mirror
-
rotation
-
rotationPivot
-
ignoreEntities
private boolean ignoreEntities -
chunkPos
-
boundingBox
-
keepLiquids
private boolean keepLiquids -
random
-
palette
@Nullable private int palette -
processors
-
knownShape
private boolean knownShape -
finalizeEntities
private boolean finalizeEntities
-
-
Constructor Details
-
PlacementSettings
public PlacementSettings()
-
-
Method Details
-
copy
-
setMirror
-
setRotation
-
setRotationPivot
-
setIgnoreEntities
-
setChunkPos
-
setBoundingBox
-
setRandom
-
setKnownShape
-
clearProcessors
-
addProcessor
-
popProcessor
-
getMirror
-
getRotation
-
getRotationPivot
-
getRandom
-
isIgnoreEntities
public boolean isIgnoreEntities() -
getBoundingBox
-
getKnownShape
public boolean getKnownShape() -
getProcessors
-
updateBoundingBoxFromChunkPos
void updateBoundingBoxFromChunkPos() -
shouldKeepLiquids
public boolean shouldKeepLiquids() -
getRandomPalette
public Template.Palette getRandomPalette(List<Template.Palette> p_237132_1_, @Nullable BlockPos p_237132_2_) -
calculateBoundingBox
-
setFinalizeEntities
-
shouldFinalizeEntities
public boolean shouldFinalizeEntities()
-