Class StructurePlaceSettings
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BoundingBoxprivate booleanprivate booleanprivate booleanprivate booleanprivate Mirrorprivate intprivate final List<StructureProcessor> private RandomSourceprivate Rotationprivate BlockPos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProcessor(StructureProcessor p_74384_) copy()booleangetRandomPalette(List<StructureTemplate.Palette> p_74388_, BlockPos p_74389_) booleanpopProcessor(StructureProcessor p_74398_) setBoundingBox(BoundingBox p_74382_) setFinalizeEntities(boolean p_74406_) setIgnoreEntities(boolean p_74393_) setKeepLiquids(boolean p_163783_) setKnownShape(boolean p_74403_) setRandom(RandomSource p_230325_) setRotation(Rotation p_74380_) setRotationPivot(BlockPos p_74386_) booleanboolean
-
Field Details
-
mirror
-
rotation
-
rotationPivot
-
ignoreEntities
private boolean ignoreEntities -
boundingBox
-
keepLiquids
private boolean keepLiquids -
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
-
setKeepLiquids
-
setKnownShape
-
clearProcessors
-
addProcessor
-
popProcessor
-
getMirror
-
getRotation
-
getRotationPivot
-
getRandom
-
isIgnoreEntities
public boolean isIgnoreEntities() -
getBoundingBox
-
getKnownShape
public boolean getKnownShape() -
getProcessors
-
shouldKeepLiquids
public boolean shouldKeepLiquids() -
getRandomPalette
public StructureTemplate.Palette getRandomPalette(List<StructureTemplate.Palette> p_74388_, @Nullable BlockPos p_74389_) -
setFinalizeEntities
-
shouldFinalizeEntities
public boolean shouldFinalizeEntities()
-