net.minecraft.block.entity

public class JigsawBlockEntity

extends BlockEntity

All mapped superinterfaces:

DebugTrackable, EntryConvertible

net.minecraft.world.level.block.entity.JigsawBlockEntity
net.minecraft.class_3751
net.minecraft.block.entity.JigsawBlockEntity

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RegistryKey<StructurePool>>
POOL_CODEC
field_57779
STRUCTURE_POOL_KEY_CODEC
public static final Identifier
EMPTY_ID
field_57780
DEFAULT_NAME
private static final int
DEFAULT_PLACEMENT_PRIORITY
field_57782
DEFAULT_PLACEMENT_PRIORITY
private static final int
DEFAULT_SELECTION_PRIORITY
field_57783
DEFAULT_SELECTION_PRIORITY
public static final String
TARGET
field_31343
TARGET_KEY
public static final String
POOL
field_31344
POOL_KEY
public static final String
JOINT
field_31345
JOINT_KEY
public static final String
PLACEMENT_PRIORITY
field_47096
PLACEMENT_PRIORITY_KEY
public static final String
SELECTION_PRIORITY
field_47097
SELECTION_PRIORITY_KEY
public static final String
NAME
field_31346
NAME_KEY
public static final String
FINAL_STATE
field_31347
FINAL_STATE_KEY
public static final String
DEFAULT_FINAL_STATE
field_57781
DEFAULT_FINAL_STATE
private Identifier
name
field_16550
name
private Identifier
target
field_16552
target
private RegistryKey<StructurePool>
pool
field_23327
pool
private JigsawBlockEntity$Joint
joint
field_23328
joint
private String
finalState
field_16551
finalState
private int
placementPriority
field_47098
placementPriority
private int
selectionPriority
field_47099
selectionPriority

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public Identifier
getName()
method_16381()
getName()
public Identifier
getTarget()
method_26399()
getTarget()
public RegistryKey<StructurePool>
getPool()
method_16382()
getPool()
public String
getFinalState()
method_16380()
getFinalState()
public JigsawBlockEntity$Joint
getJoint()
method_26400()
getJoint()
public int
getPlacementPriority()
method_54777()
getPlacementPriority()
public int
getSelectionPriority()
method_54778()
getSelectionPriority()
public void
setName(Identifier name)
method_16379(class_2960 arg0)
setName(Identifier name)
public void
setTarget(Identifier target)
method_16378(class_2960 arg0)
setTarget(Identifier target)
public void
setPool(ResourceKey<StructureTemplatePool> pool)
method_26398(class_5321<class_3785> arg0)
setPool(RegistryKey<StructurePool> pool)
public void
setFinalState(String finalState)
method_16377(String arg0)
setFinalState(String finalState)
public void
setJoint(JigsawBlockEntity$JointType joint)
method_26396(class_3751$class_4991 arg0)
setJoint(JigsawBlockEntity$Joint joint)
public void
setPlacementPriority(int placementPriority)
method_54775(int arg0)
setPlacementPriority(int placementPriority)
public void
setSelectionPriority(int selectionPriority)
method_54776(int arg0)
setSelectionPriority(int selectionPriority)
protected void
saveAdditional(ValueOutput output)
method_11007(class_11372 arg0)
writeData(WriteView arg0)
protected void
loadAdditional(ValueInput input)
method_11014(class_11368 arg0)
readData(ReadView arg0)
public BlockEntityUpdateS2CPacket
getUpdatePacket()
method_38235()
toUpdatePacket()
public NbtCompound
getUpdateTag(HolderLookup$Provider registries)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public void
generate(ServerLevel level, int levels, boolean keepJigsaws)
method_27191(class_3218 arg0, int arg1, boolean arg2)
generate(ServerWorld world, int maxDepth, boolean keepJigsaws)
public Packet
getUpdatePacket()
method_38235()
toUpdatePacket()
private JigsawBlockEntity$Joint
lambda$loadAdditional$0()
method_67682()
method_67682()