类 StructurePlaceSettings
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.StructurePlaceSettings
-
字段概要
字段修饰符和类型字段说明private BoundingBox
private boolean
private boolean
private boolean
private boolean
private Mirror
private int
private final List<StructureProcessor>
private RandomSource
private Rotation
private BlockPos
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addProcessor
(StructureProcessor pProcessor) copy()
boolean
getRandomPalette
(List<StructureTemplate.Palette> pPalettes, BlockPos pPos) boolean
popProcessor
(StructureProcessor pProcessor) setBoundingBox
(BoundingBox pBoundingBox) setFinalizeEntities
(boolean pFinalizeEntities) setIgnoreEntities
(boolean pIgnoreEntities) setKeepLiquids
(boolean pKeepLiquids) setKnownShape
(boolean pKnownShape) setRandom
(RandomSource pRandom) setRotation
(Rotation pRotation) setRotationPivot
(BlockPos pRotationPivot) boolean
boolean
-
字段详细资料
-
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
-
-
构造器详细资料
-
StructurePlaceSettings
public StructurePlaceSettings()
-
-
方法详细资料
-
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> pPalettes, @Nullable BlockPos pPos) -
setFinalizeEntities
-
shouldFinalizeEntities
public boolean shouldFinalizeEntities()
-