Class LegacySingleJigsawPiece
java.lang.Object
net.minecraft.world.gen.feature.jigsaw.JigsawPiece
net.minecraft.world.gen.feature.jigsaw.SingleJigsawPiece
net.minecraft.world.gen.feature.jigsaw.LegacySingleJigsawPiece
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LegacySingleJigsawPiece>
Fields inherited from class net.minecraft.world.gen.feature.jigsaw.SingleJigsawPiece
processors, template
-
Constructor Summary
ModifierConstructorDescriptionprotected
LegacySingleJigsawPiece
(com.mojang.datafixers.util.Either<ResourceLocation, Template> p_i242007_1_, Supplier<StructureProcessorList> p_i242007_2_, JigsawPattern.PlacementBehaviour p_i242007_3_) -
Method Summary
Modifier and TypeMethodDescriptionprotected PlacementSettings
getSettings
(Rotation p_230379_1_, MutableBoundingBox p_230379_2_, boolean p_230379_3_) getType()
toString()
Methods inherited from class net.minecraft.world.gen.feature.jigsaw.SingleJigsawPiece
getBoundingBox, getDataMarkers, getShuffledJigsawBlocks, place, processorsCodec, templateCodec
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
-
-
Constructor Details
-
LegacySingleJigsawPiece
protected LegacySingleJigsawPiece(com.mojang.datafixers.util.Either<ResourceLocation, Template> p_i242007_1_, Supplier<StructureProcessorList> p_i242007_2_, JigsawPattern.PlacementBehaviour p_i242007_3_)
-
-
Method Details
-
getSettings
protected PlacementSettings getSettings(Rotation p_230379_1_, MutableBoundingBox p_230379_2_, boolean p_230379_3_) - Overrides:
getSettings
in classSingleJigsawPiece
-
getType
- Overrides:
getType
in classSingleJigsawPiece
-
toString
- Overrides:
toString
in classSingleJigsawPiece
-