public class FeatureJigsawPiece extends JigsawPiece
Modifier and Type | Field and Description |
---|---|
private ConfiguredFeature<?,?> |
configuredFeature |
private CompoundNBT |
nbt |
Constructor and Description |
---|
FeatureJigsawPiece(ConfiguredFeature<?,?> configuredFeatureIn)
Deprecated.
|
FeatureJigsawPiece(ConfiguredFeature<?,?> p_i51410_1_,
JigsawPattern.PlacementBehaviour placementBehaviourIn) |
FeatureJigsawPiece(com.mojang.datafixers.Dynamic<T> p_i51411_1_) |
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) |
BlockPos |
getSize(TemplateManager p_214868_1_,
Rotation p_214868_2_) |
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() |
CompoundNBT |
writeNBT() |
getGroundLevelDelta, getPlacementBehaviour, handleDataMarker, serialize, setPlacementBehaviour
private final ConfiguredFeature<?,?> configuredFeature
private final CompoundNBT nbt
@Deprecated public FeatureJigsawPiece(ConfiguredFeature<?,?> configuredFeatureIn)
public FeatureJigsawPiece(ConfiguredFeature<?,?> p_i51410_1_, JigsawPattern.PlacementBehaviour placementBehaviourIn)
public FeatureJigsawPiece(com.mojang.datafixers.Dynamic<T> p_i51411_1_)
public CompoundNBT writeNBT()
public BlockPos getSize(TemplateManager p_214868_1_, Rotation p_214868_2_)
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 <T> com.mojang.datafixers.Dynamic<T> serialize0(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize0
in class JigsawPiece
public IJigsawDeserializer getType()
getType
in class JigsawPiece
public java.lang.String toString()
toString
in class java.lang.Object