public class ListJigsawPiece extends JigsawPiece
Modifier and Type | Field and Description |
---|---|
private java.util.List<JigsawPiece> |
elements |
Constructor and Description |
---|
ListJigsawPiece(com.mojang.datafixers.Dynamic<?> p_i51406_1_) |
ListJigsawPiece(java.util.List<JigsawPiece> p_i51404_1_)
Deprecated.
|
ListJigsawPiece(java.util.List<JigsawPiece> p_i51405_1_,
JigsawPattern.PlacementBehaviour p_i51405_2_) |
Modifier and Type | Method and Description |
---|---|
MutableBoundingBox |
getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
java.util.List<Template.BlockInfo> |
getJigsawBlocks(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand) |
IJigsawDeserializer |
getType() |
boolean |
place(TemplateManager p_225575_1_,
IWorld p_225575_2_,
ChunkGenerator<?> p_225575_3_,
BlockPos p_225575_4_,
Rotation p_225575_5_,
MutableBoundingBox p_225575_6_,
java.util.Random p_225575_7_) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize0(com.mojang.datafixers.types.DynamicOps<T> ops) |
JigsawPiece |
setPlacementBehaviour(JigsawPattern.PlacementBehaviour placementBehaviour) |
private void |
setProjectionOnEachElement(JigsawPattern.PlacementBehaviour p_214864_1_) |
java.lang.String |
toString() |
getGroundLevelDelta, getPlacementBehaviour, handleDataMarker, serialize
private final java.util.List<JigsawPiece> elements
@Deprecated public ListJigsawPiece(java.util.List<JigsawPiece> p_i51404_1_)
public ListJigsawPiece(java.util.List<JigsawPiece> p_i51405_1_, JigsawPattern.PlacementBehaviour p_i51405_2_)
public ListJigsawPiece(com.mojang.datafixers.Dynamic<?> p_i51406_1_)
public java.util.List<Template.BlockInfo> getJigsawBlocks(TemplateManager templateManagerIn, BlockPos pos, Rotation rotationIn, java.util.Random rand)
getJigsawBlocks
in class JigsawPiece
public MutableBoundingBox getBoundingBox(TemplateManager templateManagerIn, BlockPos pos, Rotation rotationIn)
getBoundingBox
in class JigsawPiece
public boolean place(TemplateManager p_225575_1_, IWorld p_225575_2_, ChunkGenerator<?> p_225575_3_, BlockPos p_225575_4_, Rotation p_225575_5_, MutableBoundingBox p_225575_6_, java.util.Random p_225575_7_)
place
in class JigsawPiece
public IJigsawDeserializer getType()
getType
in class JigsawPiece
public JigsawPiece setPlacementBehaviour(JigsawPattern.PlacementBehaviour placementBehaviour)
setPlacementBehaviour
in class JigsawPiece
public <T> com.mojang.datafixers.Dynamic<T> serialize0(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize0
in class JigsawPiece
public java.lang.String toString()
toString
in class java.lang.Object
private void setProjectionOnEachElement(JigsawPattern.PlacementBehaviour p_214864_1_)