类 FeaturePoolElement
java.lang.Object
net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
net.minecraft.world.level.levelgen.structure.pools.FeaturePoolElement
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.Codec<FeaturePoolElement>
private final CompoundTag
private final Holder<PlacedFeature>
-
构造器概要
构造器限定符构造器说明protected
FeaturePoolElement
(Holder<PlacedFeature> p_210209_, StructureTemplatePool.Projection p_210210_) -
方法概要
修饰符和类型方法说明private CompoundTag
getBoundingBox
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) getShuffledJigsawBlocks
(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) getSize
(StructureTemplateManager pStructureTemplateManager, Rotation pRotation) getType()
boolean
place
(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos p_227185_, BlockPos p_227186_, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, boolean p_227190_) toString()
从类继承的方法 net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
empty, feature, getGroundLevelDelta, getProjection, handleDataMarker, legacy, legacy, list, projectionCodec, setProjection, single, single
-
字段详细资料
-
CODEC
-
feature
-
defaultJigsawNBT
-
-
构造器详细资料
-
FeaturePoolElement
protected FeaturePoolElement(Holder<PlacedFeature> p_210209_, StructureTemplatePool.Projection p_210210_)
-
-
方法详细资料
-
fillDefaultJigsawNBT
-
getSize
- 指定者:
getSize
在类中StructurePoolElement
-
getShuffledJigsawBlocks
public List<StructureTemplate.StructureBlockInfo> getShuffledJigsawBlocks(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation, RandomSource pRandom) -
getBoundingBox
public BoundingBox getBoundingBox(StructureTemplateManager pStructureTemplateManager, BlockPos pPos, Rotation pRotation) - 指定者:
getBoundingBox
在类中StructurePoolElement
-
place
public boolean place(StructureTemplateManager pStructureTemplateManager, WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, BlockPos p_227185_, BlockPos p_227186_, Rotation pRotation, BoundingBox pBox, RandomSource pRandom, boolean p_227190_) - 指定者:
place
在类中StructurePoolElement
-
getType
- 指定者:
getType
在类中StructurePoolElement
-
toString
-