Package net.minecraft.block.entity
Class JigsawBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.JigsawBlockEntity
- Mappings:
Namespace Name official cte
intermediary net/minecraft/class_3751
named net/minecraft/block/entity/JigsawBlockEntity
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
private String
private JigsawBlockEntity.Joint
static final String
private Identifier
static final String
private RegistryKey<StructurePool>
static final String
private Identifier
static final String
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(ServerWorld world, int maxDepth, boolean keepJigsaws) getJoint()
getName()
getPool()
void
readNbt
(NbtCompound nbt) void
setFinalState
(String finalState) void
setJoint
(JigsawBlockEntity.Joint joint) void
setName
(Identifier name) void
setPool
(RegistryKey<StructurePool> pool) void
setTarget
(Identifier target) Serializes the state of this block entity that is observable by clients.Implement and return a packet that should be sent to players nearby when the observable state of this block entity changes.protected void
writeNbt
(NbtCompound nbt) Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, writeIdToNbt
-
Field Details
-
TARGET_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcte;a:Ljava/lang/String;
intermediary field_31343
Lnet/minecraft/class_3751;field_31343:Ljava/lang/String;
named TARGET_KEY
Lnet/minecraft/block/entity/JigsawBlockEntity;TARGET_KEY:Ljava/lang/String;
-
POOL_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lcte;b:Ljava/lang/String;
intermediary field_31344
Lnet/minecraft/class_3751;field_31344:Ljava/lang/String;
named POOL_KEY
Lnet/minecraft/block/entity/JigsawBlockEntity;POOL_KEY:Ljava/lang/String;
-
JOINT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcte;c:Ljava/lang/String;
intermediary field_31345
Lnet/minecraft/class_3751;field_31345:Ljava/lang/String;
named JOINT_KEY
Lnet/minecraft/block/entity/JigsawBlockEntity;JOINT_KEY:Ljava/lang/String;
-
NAME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcte;d:Ljava/lang/String;
intermediary field_31346
Lnet/minecraft/class_3751;field_31346:Ljava/lang/String;
named NAME_KEY
Lnet/minecraft/block/entity/JigsawBlockEntity;NAME_KEY:Ljava/lang/String;
-
FINAL_STATE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcte;e:Ljava/lang/String;
intermediary field_31347
Lnet/minecraft/class_3751;field_31347:Ljava/lang/String;
named FINAL_STATE_KEY
Lnet/minecraft/block/entity/JigsawBlockEntity;FINAL_STATE_KEY:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official f
Lcte;f:Laaj;
intermediary field_16550
Lnet/minecraft/class_3751;field_16550:Lnet/minecraft/class_2960;
named name
Lnet/minecraft/block/entity/JigsawBlockEntity;name:Lnet/minecraft/util/Identifier;
-
target
- Mappings:
Namespace Name Mixin selector official g
Lcte;g:Laaj;
intermediary field_16552
Lnet/minecraft/class_3751;field_16552:Lnet/minecraft/class_2960;
named target
Lnet/minecraft/block/entity/JigsawBlockEntity;target:Lnet/minecraft/util/Identifier;
-
pool
- Mappings:
Namespace Name Mixin selector official h
Lcte;h:Laai;
intermediary field_23327
Lnet/minecraft/class_3751;field_23327:Lnet/minecraft/class_5321;
named pool
Lnet/minecraft/block/entity/JigsawBlockEntity;pool:Lnet/minecraft/util/registry/RegistryKey;
-
joint
- Mappings:
Namespace Name Mixin selector official i
Lcte;i:Lcte$a;
intermediary field_23328
Lnet/minecraft/class_3751;field_23328:Lnet/minecraft/class_3751$class_4991;
named joint
Lnet/minecraft/block/entity/JigsawBlockEntity;joint:Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
-
finalState
- Mappings:
Namespace Name Mixin selector official j
Lcte;j:Ljava/lang/String;
intermediary field_16551
Lnet/minecraft/class_3751;field_16551:Ljava/lang/String;
named finalState
Lnet/minecraft/block/entity/JigsawBlockEntity;finalState:Ljava/lang/String;
-
-
Constructor Details
-
JigsawBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcte;<init>(Lgt;Lcur;)V
intermediary <init>
Lnet/minecraft/class_3751;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/JigsawBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
getName
- Mappings:
Namespace Name Mixin selector official c
Lcte;c()Laaj;
intermediary method_16381
Lnet/minecraft/class_3751;method_16381()Lnet/minecraft/class_2960;
named getName
Lnet/minecraft/block/entity/JigsawBlockEntity;getName()Lnet/minecraft/util/Identifier;
-
getTarget
- Mappings:
Namespace Name Mixin selector official d
Lcte;d()Laaj;
intermediary method_26399
Lnet/minecraft/class_3751;method_26399()Lnet/minecraft/class_2960;
named getTarget
Lnet/minecraft/block/entity/JigsawBlockEntity;getTarget()Lnet/minecraft/util/Identifier;
-
getPool
- Mappings:
Namespace Name Mixin selector official f
Lcte;f()Laai;
intermediary method_16382
Lnet/minecraft/class_3751;method_16382()Lnet/minecraft/class_5321;
named getPool
Lnet/minecraft/block/entity/JigsawBlockEntity;getPool()Lnet/minecraft/util/registry/RegistryKey;
-
getFinalState
- Mappings:
Namespace Name Mixin selector official g
Lcte;g()Ljava/lang/String;
intermediary method_16380
Lnet/minecraft/class_3751;method_16380()Ljava/lang/String;
named getFinalState
Lnet/minecraft/block/entity/JigsawBlockEntity;getFinalState()Ljava/lang/String;
-
getJoint
- Mappings:
Namespace Name Mixin selector official i
Lcte;i()Lcte$a;
intermediary method_26400
Lnet/minecraft/class_3751;method_26400()Lnet/minecraft/class_3751$class_4991;
named getJoint
Lnet/minecraft/block/entity/JigsawBlockEntity;getJoint()Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
-
setName
- Mappings:
Namespace Name Mixin selector official a
Lcte;a(Laaj;)V
intermediary method_16379
Lnet/minecraft/class_3751;method_16379(Lnet/minecraft/class_2960;)V
named setName
Lnet/minecraft/block/entity/JigsawBlockEntity;setName(Lnet/minecraft/util/Identifier;)V
-
setTarget
- Mappings:
Namespace Name Mixin selector official b
Lcte;b(Laaj;)V
intermediary method_16378
Lnet/minecraft/class_3751;method_16378(Lnet/minecraft/class_2960;)V
named setTarget
Lnet/minecraft/block/entity/JigsawBlockEntity;setTarget(Lnet/minecraft/util/Identifier;)V
-
setPool
- Mappings:
Namespace Name Mixin selector official a
Lcte;a(Laai;)V
intermediary method_26398
Lnet/minecraft/class_3751;method_26398(Lnet/minecraft/class_5321;)V
named setPool
Lnet/minecraft/block/entity/JigsawBlockEntity;setPool(Lnet/minecraft/util/registry/RegistryKey;)V
-
setFinalState
- Mappings:
Namespace Name Mixin selector official a
Lcte;a(Ljava/lang/String;)V
intermediary method_16377
Lnet/minecraft/class_3751;method_16377(Ljava/lang/String;)V
named setFinalState
Lnet/minecraft/block/entity/JigsawBlockEntity;setFinalState(Ljava/lang/String;)V
-
setJoint
- Mappings:
Namespace Name Mixin selector official a
Lcte;a(Lcte$a;)V
intermediary method_26396
Lnet/minecraft/class_3751;method_26396(Lnet/minecraft/class_3751$class_4991;)V
named setJoint
Lnet/minecraft/block/entity/JigsawBlockEntity;setJoint(Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;)V
-
writeNbt
- Overrides:
writeNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcsl;b(Lpj;)V
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readNbt
- Overrides:
readNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcsl;a(Lpj;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named readNbt
Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
toUpdatePacket
Description copied from class:BlockEntity
Implement and return a packet that should be sent to players nearby when the observable state of this block entity changes. Return null to not send an update packet.If the data returned by
initial chunk data
is suitable for updates, the following shortcut can be used to create an update packet:BlockEntityUpdateS2CPacket.create(this)
.The NBT will be passed to
BlockEntity.readNbt(net.minecraft.nbt.NbtCompound)
on the client.- Overrides:
toUpdatePacket
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official j
Lcte;j()Lsz;
intermediary method_38248
Lnet/minecraft/class_3751;method_38248()Lnet/minecraft/class_2622;
named toUpdatePacket
Lnet/minecraft/block/entity/JigsawBlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
toInitialChunkDataNbt
Serializes the state of this block entity that is observable by clients. It is sent alongside the initial chunk data, as well as when the block entity implementsBlockEntity.toUpdatePacket()
and decides to use the defaultBlockEntityUpdateS2CPacket
.- Overrides:
toInitialChunkDataNbt
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official ab_
Lcsl;ab_()Lpj;
intermediary method_16887
Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
named toInitialChunkDataNbt
Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt()Lnet/minecraft/nbt/NbtCompound;
-
generate
- Mappings:
Namespace Name Mixin selector official a
Lcte;a(Lafo;IZ)V
intermediary method_27191
Lnet/minecraft/class_3751;method_27191(Lnet/minecraft/class_3218;IZ)V
named generate
Lnet/minecraft/block/entity/JigsawBlockEntity;generate(Lnet/minecraft/server/world/ServerWorld;IZ)V
-