Class StructurePlaceSettings
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BoundingBox
private boolean
private boolean
private boolean
private LiquidSettings
private Mirror
private int
private final List
<StructureProcessor> private RandomSource
private Rotation
private BlockPos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProcessor
(StructureProcessor processor) copy()
boolean
getRandomPalette
(List<StructureTemplate.Palette> palettes, BlockPos pos) boolean
popProcessor
(StructureProcessor processor) setBoundingBox
(BoundingBox boundingBox) setFinalizeEntities
(boolean finalizeEntities) setIgnoreEntities
(boolean ignoreEntities) setKnownShape
(boolean knownShape) setLiquidSettings
(LiquidSettings liquidSettings) setRandom
(RandomSource random) setRotation
(Rotation rotation) setRotationPivot
(BlockPos rotationPivot) boolean
boolean
-
Field Details
-
mirror
-
rotation
-
rotationPivot
-
ignoreEntities
private boolean ignoreEntities -
boundingBox
-
liquidSettings
-
random
-
palette
private int palette -
processors
-
knownShape
private boolean knownShape -
finalizeEntities
private boolean finalizeEntities
-
-
Constructor Details
-
StructurePlaceSettings
public StructurePlaceSettings()
-
-
Method Details
-
copy
-
setMirror
-
setRotation
-
setRotationPivot
-
setIgnoreEntities
-
setBoundingBox
-
setRandom
-
setLiquidSettings
-
setKnownShape
-
clearProcessors
-
addProcessor
-
popProcessor
-
getMirror
-
getRotation
-
getRotationPivot
-
getRandom
-
isIgnoreEntities
public boolean isIgnoreEntities() -
getBoundingBox
-
getKnownShape
public boolean getKnownShape() -
getProcessors
-
shouldApplyWaterlogging
public boolean shouldApplyWaterlogging() -
getRandomPalette
public StructureTemplate.Palette getRandomPalette(List<StructureTemplate.Palette> palettes, @Nullable BlockPos pos) -
setFinalizeEntities
-
shouldFinalizeEntities
public boolean shouldFinalizeEntities()
-