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 pProcessor) copy()
boolean
getRandomPalette
(List<StructureTemplate.Palette> pPalettes, BlockPos pPos) boolean
popProcessor
(StructureProcessor pProcessor) setBoundingBox
(BoundingBox pBoundingBox) setFinalizeEntities
(boolean pFinalizeEntities) setIgnoreEntities
(boolean pIgnoreEntities) setKnownShape
(boolean pKnownShape) setLiquidSettings
(LiquidSettings pLiquidSettings) setRandom
(RandomSource pRandom) setRotation
(Rotation pRotation) setRotationPivot
(BlockPos pRotationPivot) 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> pPalettes, @Nullable BlockPos pPos) -
setFinalizeEntities
-
shouldFinalizeEntities
public boolean shouldFinalizeEntities()
-