public class SingleJigsawPiece extends JigsawPiece
Modifier and Type | Field and Description |
---|---|
protected ResourceLocation |
location |
protected com.google.common.collect.ImmutableList<StructureProcessor> |
processors |
Constructor and Description |
---|
SingleJigsawPiece(com.mojang.datafixers.Dynamic<?> p_i51403_1_) |
SingleJigsawPiece(java.lang.String location)
Deprecated.
|
SingleJigsawPiece(java.lang.String p_i51400_1_,
java.util.List<StructureProcessor> p_i51400_2_)
Deprecated.
|
SingleJigsawPiece(java.lang.String location,
java.util.List<StructureProcessor> processors,
JigsawPattern.PlacementBehaviour p_i51401_3_) |
Modifier and Type | Method and Description |
---|---|
protected PlacementSettings |
createPlacementSettings(Rotation rotationIn,
MutableBoundingBox boundsIn) |
MutableBoundingBox |
getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
java.util.List<Template.BlockInfo> |
getDataMarkers(TemplateManager p_214857_1_,
BlockPos p_214857_2_,
Rotation p_214857_3_,
boolean p_214857_4_) |
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) |
java.lang.String |
toString() |
getGroundLevelDelta, getPlacementBehaviour, handleDataMarker, serialize, setPlacementBehaviour
protected final ResourceLocation location
protected final com.google.common.collect.ImmutableList<StructureProcessor> processors
@Deprecated public SingleJigsawPiece(java.lang.String p_i51400_1_, java.util.List<StructureProcessor> p_i51400_2_)
public SingleJigsawPiece(java.lang.String location, java.util.List<StructureProcessor> processors, JigsawPattern.PlacementBehaviour p_i51401_3_)
@Deprecated public SingleJigsawPiece(java.lang.String location)
public SingleJigsawPiece(com.mojang.datafixers.Dynamic<?> p_i51403_1_)
public java.util.List<Template.BlockInfo> getDataMarkers(TemplateManager p_214857_1_, BlockPos p_214857_2_, Rotation p_214857_3_, boolean p_214857_4_)
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
protected PlacementSettings createPlacementSettings(Rotation rotationIn, MutableBoundingBox boundsIn)
public IJigsawDeserializer getType()
getType
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