Package net.minecraft.block.entity
Class JigsawBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.JigsawBlockEntity
public class JigsawBlockEntity extends BlockEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JigsawBlockEntity.Joint
-
Field Summary
Fields Modifier and Type Field Description private String
finalState
private JigsawBlockEntity.Joint
joint
private Identifier
name
private Identifier
pool
private Identifier
target
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description JigsawBlockEntity(BlockPos blockPos, BlockState blockState)
-
Method Summary
Modifier and Type Method Description void
fromTag(CompoundTag tag)
void
generate(ServerWorld world, int maxDepth, boolean keepJigsaws)
String
getFinalState()
JigsawBlockEntity.Joint
getJoint()
Identifier
getName()
Identifier
getPool()
Identifier
getTarget()
void
setAttachmentType(Identifier value)
void
setFinalState(String finalState)
void
setJoint(JigsawBlockEntity.Joint joint)
void
setPool(Identifier pool)
void
setTargetPool(Identifier target)
CompoundTag
toInitialChunkDataTag()
CompoundTag
toTag(CompoundTag tag)
BlockEntityUpdateS2CPacket
toUpdatePacket()
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld
-
Field Details
-
name
-
target
-
pool
-
joint
-
finalState
-
-
Constructor Details
-
JigsawBlockEntity
-
-
Method Details
-
getName
-
getTarget
-
getPool
-
getFinalState
-
getJoint
-
setAttachmentType
-
setTargetPool
-
setPool
-
setFinalState
-
setJoint
-
toTag
- Overrides:
toTag
in classBlockEntity
-
fromTag
- Overrides:
fromTag
in classBlockEntity
-
toUpdatePacket
- Overrides:
toUpdatePacket
in classBlockEntity
-
toInitialChunkDataTag
- Overrides:
toInitialChunkDataTag
in classBlockEntity
-
generate
-