Class EmptyJigsawPiece
java.lang.Object
net.minecraft.world.gen.feature.jigsaw.JigsawPiece
net.minecraft.world.gen.feature.jigsaw.EmptyJigsawPiece
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EmptyJigsawPiece>
static final EmptyJigsawPiece
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBoundingBox
(TemplateManager p_214852_1_, BlockPos p_214852_2_, Rotation p_214852_3_) getShuffledJigsawBlocks
(TemplateManager p_214849_1_, BlockPos p_214849_2_, Rotation p_214849_3_, Random p_214849_4_) getType()
boolean
place
(TemplateManager p_230378_1_, ISeedReader p_230378_2_, StructureManager p_230378_3_, ChunkGenerator p_230378_4_, BlockPos p_230378_5_, BlockPos p_230378_6_, Rotation p_230378_7_, MutableBoundingBox p_230378_8_, Random p_230378_9_, boolean p_230378_10_) toString()
Methods inherited from class net.minecraft.world.gen.feature.jigsaw.JigsawPiece
empty, feature, getGroundLevelDelta, getProjection, handleDataMarker, legacy, legacy, list, projectionCodec, setProjection, single, single
-
Field Details
-
CODEC
-
INSTANCE
-
-
Constructor Details
-
EmptyJigsawPiece
private EmptyJigsawPiece()
-
-
Method Details
-
getShuffledJigsawBlocks
public List<Template.BlockInfo> getShuffledJigsawBlocks(TemplateManager p_214849_1_, BlockPos p_214849_2_, Rotation p_214849_3_, Random p_214849_4_) - Specified by:
getShuffledJigsawBlocks
in classJigsawPiece
-
getBoundingBox
public MutableBoundingBox getBoundingBox(TemplateManager p_214852_1_, BlockPos p_214852_2_, Rotation p_214852_3_) - Specified by:
getBoundingBox
in classJigsawPiece
-
place
public boolean place(TemplateManager p_230378_1_, ISeedReader p_230378_2_, StructureManager p_230378_3_, ChunkGenerator p_230378_4_, BlockPos p_230378_5_, BlockPos p_230378_6_, Rotation p_230378_7_, MutableBoundingBox p_230378_8_, Random p_230378_9_, boolean p_230378_10_) - Specified by:
place
in classJigsawPiece
-
getType
- Specified by:
getType
in classJigsawPiece
-
toString
-