public abstract class JigsawPiece
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private JigsawPattern.PlacementBehaviour |
projection |
Modifier | Constructor and Description |
---|---|
protected |
JigsawPiece(com.mojang.datafixers.Dynamic<?> p_i51399_1_) |
protected |
JigsawPiece(JigsawPattern.PlacementBehaviour projection) |
Modifier and Type | Method and Description |
---|---|
abstract MutableBoundingBox |
getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
int |
getGroundLevelDelta() |
abstract java.util.List<Template.BlockInfo> |
getJigsawBlocks(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand) |
JigsawPattern.PlacementBehaviour |
getPlacementBehaviour() |
abstract IJigsawDeserializer |
getType() |
void |
handleDataMarker(IWorld worldIn,
Template.BlockInfo p_214846_2_,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand,
MutableBoundingBox p_214846_6_) |
abstract 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> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
protected abstract <T> com.mojang.datafixers.Dynamic<T> |
serialize0(com.mojang.datafixers.types.DynamicOps<T> ops) |
JigsawPiece |
setPlacementBehaviour(JigsawPattern.PlacementBehaviour placementBehaviour) |
@Nullable private volatile JigsawPattern.PlacementBehaviour projection
protected JigsawPiece(JigsawPattern.PlacementBehaviour projection)
protected JigsawPiece(com.mojang.datafixers.Dynamic<?> p_i51399_1_)
public abstract java.util.List<Template.BlockInfo> getJigsawBlocks(TemplateManager templateManagerIn, BlockPos pos, Rotation rotationIn, java.util.Random rand)
public abstract MutableBoundingBox getBoundingBox(TemplateManager templateManagerIn, BlockPos pos, Rotation rotationIn)
public abstract 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_)
public abstract IJigsawDeserializer getType()
public void handleDataMarker(IWorld worldIn, Template.BlockInfo p_214846_2_, BlockPos pos, Rotation rotationIn, java.util.Random rand, MutableBoundingBox p_214846_6_)
public JigsawPiece setPlacementBehaviour(JigsawPattern.PlacementBehaviour placementBehaviour)
public JigsawPattern.PlacementBehaviour getPlacementBehaviour()
protected abstract <T> com.mojang.datafixers.Dynamic<T> serialize0(com.mojang.datafixers.types.DynamicOps<T> ops)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
public int getGroundLevelDelta()