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
-
public class LegacySingleJigsawPiece extends SingleJigsawPiece
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<LegacySingleJigsawPiece>
CODEC
-
Fields inherited from class net.minecraft.world.gen.feature.jigsaw.SingleJigsawPiece
processors, template
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
LegacySingleJigsawPiece(com.mojang.datafixers.util.Either<ResourceLocation,Template> p_i242007_1_, java.util.function.Supplier<StructureProcessorList> p_i242007_2_, JigsawPattern.PlacementBehaviour p_i242007_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PlacementSettings
getSettings(Rotation p_230379_1_, MutableBoundingBox p_230379_2_, boolean p_230379_3_)
IJigsawDeserializer<?>
getType()
java.lang.String
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 Detail
-
CODEC
public static final com.mojang.serialization.Codec<LegacySingleJigsawPiece> CODEC
-
-
Constructor Detail
-
LegacySingleJigsawPiece
protected LegacySingleJigsawPiece(com.mojang.datafixers.util.Either<ResourceLocation,Template> p_i242007_1_, java.util.function.Supplier<StructureProcessorList> p_i242007_2_, JigsawPattern.PlacementBehaviour p_i242007_3_)
-
-
Method Detail
-
getSettings
protected PlacementSettings getSettings(Rotation p_230379_1_, MutableBoundingBox p_230379_2_, boolean p_230379_3_)
- Overrides:
getSettings
in classSingleJigsawPiece
-
getType
public IJigsawDeserializer<?> getType()
- Overrides:
getType
in classSingleJigsawPiece
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSingleJigsawPiece
-
-