Class EmptyPoolElement
java.lang.Object
net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
net.minecraft.world.level.levelgen.structure.pools.EmptyPoolElement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EmptyPoolElement>
static final EmptyPoolElement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBoundingBox
(StructureManager p_210194_, BlockPos p_210195_, Rotation p_210196_) getShuffledJigsawBlocks
(StructureManager p_210198_, BlockPos p_210199_, Rotation p_210200_, Random p_210201_) getSize
(StructureManager p_210191_, Rotation p_210192_) getType()
boolean
place
(StructureManager p_210180_, WorldGenLevel p_210181_, StructureFeatureManager p_210182_, ChunkGenerator p_210183_, BlockPos p_210184_, BlockPos p_210185_, Rotation p_210186_, BoundingBox p_210187_, Random p_210188_, boolean p_210189_) 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
-
Field Details
-
CODEC
-
INSTANCE
-
-
Constructor Details
-
EmptyPoolElement
private EmptyPoolElement()
-
-
Method Details
-
getSize
- Specified by:
getSize
in classStructurePoolElement
-
getShuffledJigsawBlocks
public List<StructureTemplate.StructureBlockInfo> getShuffledJigsawBlocks(StructureManager p_210198_, BlockPos p_210199_, Rotation p_210200_, Random p_210201_) - Specified by:
getShuffledJigsawBlocks
in classStructurePoolElement
-
getBoundingBox
public BoundingBox getBoundingBox(StructureManager p_210194_, BlockPos p_210195_, Rotation p_210196_) - Specified by:
getBoundingBox
in classStructurePoolElement
-
place
public boolean place(StructureManager p_210180_, WorldGenLevel p_210181_, StructureFeatureManager p_210182_, ChunkGenerator p_210183_, BlockPos p_210184_, BlockPos p_210185_, Rotation p_210186_, BoundingBox p_210187_, Random p_210188_, boolean p_210189_) - Specified by:
place
in classStructurePoolElement
-
getType
- Specified by:
getType
in classStructurePoolElement
-
toString
-