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 classJigsawBlockEntity.Joint -
Field Summary
Fields Modifier and Type Field Description private StringfinalStateprivate JigsawBlockEntity.Jointjointprivate Identifiernameprivate Identifierpoolprivate IdentifiertargetFields 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 voidfromTag(CompoundTag tag)voidgenerate(ServerWorld world, int maxDepth, boolean keepJigsaws)StringgetFinalState()JigsawBlockEntity.JointgetJoint()IdentifiergetName()IdentifiergetPool()IdentifiergetTarget()voidsetAttachmentType(Identifier value)voidsetFinalState(String finalState)voidsetJoint(JigsawBlockEntity.Joint joint)voidsetPool(Identifier pool)voidsetTargetPool(Identifier target)CompoundTagtoInitialChunkDataTag()CompoundTagtoTag(CompoundTag tag)BlockEntityUpdateS2CPackettoUpdatePacket()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:
toTagin classBlockEntity
-
fromTag
- Overrides:
fromTagin classBlockEntity
-
toUpdatePacket
- Overrides:
toUpdatePacketin classBlockEntity
-
toInitialChunkDataTag
- Overrides:
toInitialChunkDataTagin classBlockEntity
-
generate
-