Class StructurePlaceSettings
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings
-
Field Summary
Modifier 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
-
Method Summary
Modifier and TypeMethodDescriptionaddProcessor
(StructureProcessor p_74384_) copy()
boolean
getRandomPalette
(List<StructureTemplate.Palette> p_74388_, BlockPos p_74389_) boolean
popProcessor
(StructureProcessor p_74398_) setBoundingBox
(BoundingBox p_74382_) setFinalizeEntities
(boolean p_74406_) setIgnoreEntities
(boolean p_74393_) setKnownShape
(boolean p_74403_) setLiquidSettings
(LiquidSettings p_352241_) setRandom
(RandomSource p_230325_) setRotation
(Rotation p_74380_) setRotationPivot
(BlockPos p_74386_) 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> p_74388_, @Nullable BlockPos p_74389_) -
setFinalizeEntities
-
shouldFinalizeEntities
public boolean shouldFinalizeEntities()
-