Class EmptyPoolElement
java.lang.Object
net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
net.minecraft.world.level.levelgen.structure.pools.EmptyPoolElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<EmptyPoolElement> static final EmptyPoolElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBoundingBox(StructureTemplateManager p_227172_, BlockPos p_227173_, Rotation p_227174_) getShuffledJigsawBlocks(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) getSize(StructureTemplateManager p_227169_, Rotation p_227170_) getType()booleanplace(StructureTemplateManager p_227158_, WorldGenLevel p_227159_, StructureManager p_227160_, ChunkGenerator p_227161_, BlockPos p_227162_, BlockPos p_227163_, Rotation p_227164_, BoundingBox p_227165_, RandomSource p_227166_, LiquidSettings p_345294_, boolean p_227167_) toString()Methods inherited from class net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
empty, feature, getGroundLevelDelta, getProjection, handleDataMarker, legacy, legacy, list, projectionCodec, setProjection, single, single, single, single
-
Field Details
-
CODEC
-
INSTANCE
-
-
Constructor Details
-
EmptyPoolElement
private EmptyPoolElement()
-
-
Method Details
-
getSize
- Specified by:
getSizein classStructurePoolElement
-
getShuffledJigsawBlocks
public List<StructureTemplate.StructureBlockInfo> getShuffledJigsawBlocks(StructureTemplateManager p_227176_, BlockPos p_227177_, Rotation p_227178_, RandomSource p_227179_) - Specified by:
getShuffledJigsawBlocksin classStructurePoolElement
-
getBoundingBox
public BoundingBox getBoundingBox(StructureTemplateManager p_227172_, BlockPos p_227173_, Rotation p_227174_) - Specified by:
getBoundingBoxin classStructurePoolElement
-
place
public boolean place(StructureTemplateManager p_227158_, WorldGenLevel p_227159_, StructureManager p_227160_, ChunkGenerator p_227161_, BlockPos p_227162_, BlockPos p_227163_, Rotation p_227164_, BoundingBox p_227165_, RandomSource p_227166_, LiquidSettings p_345294_, boolean p_227167_) - Specified by:
placein classStructurePoolElement
-
getType
- Specified by:
getTypein classStructurePoolElement
-
toString
-