类 JigsawBlockEntity
- java.lang.Object
-
- net.minecraft.block.entity.BlockEntity
-
- net.minecraft.block.entity.JigsawBlockEntity
-
public class JigsawBlockEntity extends BlockEntity
- Mappings:
Namespace Name official ciiintermediary net/minecraft/class_3751named net/minecraft/block/entity/JigsawBlockEntity
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classJigsawBlockEntity.Joint
-
字段概要
字段 修饰符和类型 字段 说明 static StringFINAL_STATE_KEYprivate StringfinalStateprivate JigsawBlockEntity.Jointjointstatic StringJOINT_KEYprivate Identifiernamestatic StringNAME_KEYprivate Identifierpoolstatic StringPOOL_KEYprivate Identifiertargetstatic StringTARGET_KEY-
从类继承的字段 net.minecraft.block.entity.BlockEntity
pos, removed, world
-
-
构造器概要
构造器 构造器 说明 JigsawBlockEntity(BlockPos pos, BlockState state)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidgenerate(ServerWorld world, int maxDepth, boolean keepJigsaws)StringgetFinalState()JigsawBlockEntity.JointgetJoint()IdentifiergetName()IdentifiergetPool()IdentifiergetTarget()voidreadNbt(CompoundTag nbt)voidsetAttachmentType(Identifier value)voidsetFinalState(String finalState)voidsetJoint(JigsawBlockEntity.Joint joint)voidsetPool(Identifier pool)voidsetTargetPool(Identifier target)CompoundTagtoInitialChunkDataNbt()@Nullable BlockEntityUpdateS2CPackettoUpdatePacket()CompoundTagwriteNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld
-
-
-
-
字段详细资料
-
TARGET_KEY
public static final String TARGET_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLcii;a:Ljava/lang/String;intermediary field_31343Lnet/minecraft/class_3751;field_31343:Ljava/lang/String;named TARGET_KEYLnet/minecraft/block/entity/JigsawBlockEntity;TARGET_KEY:Ljava/lang/String;
-
POOL_KEY
public static final String POOL_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLcii;b:Ljava/lang/String;intermediary field_31344Lnet/minecraft/class_3751;field_31344:Ljava/lang/String;named POOL_KEYLnet/minecraft/block/entity/JigsawBlockEntity;POOL_KEY:Ljava/lang/String;
-
JOINT_KEY
public static final String JOINT_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLcii;c:Ljava/lang/String;intermediary field_31345Lnet/minecraft/class_3751;field_31345:Ljava/lang/String;named JOINT_KEYLnet/minecraft/block/entity/JigsawBlockEntity;JOINT_KEY:Ljava/lang/String;
-
NAME_KEY
public static final String NAME_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLcii;d:Ljava/lang/String;intermediary field_31346Lnet/minecraft/class_3751;field_31346:Ljava/lang/String;named NAME_KEYLnet/minecraft/block/entity/JigsawBlockEntity;NAME_KEY:Ljava/lang/String;
-
FINAL_STATE_KEY
public static final String FINAL_STATE_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLcii;e:Ljava/lang/String;intermediary field_31347Lnet/minecraft/class_3751;field_31347:Ljava/lang/String;named FINAL_STATE_KEYLnet/minecraft/block/entity/JigsawBlockEntity;FINAL_STATE_KEY:Ljava/lang/String;
-
name
private Identifier name
- Mappings:
Namespace Name Mixin selector official fLcii;f:Lwp;intermediary field_16550Lnet/minecraft/class_3751;field_16550:Lnet/minecraft/class_2960;named nameLnet/minecraft/block/entity/JigsawBlockEntity;name:Lnet/minecraft/util/Identifier;
-
target
private Identifier target
- Mappings:
Namespace Name Mixin selector official gLcii;g:Lwp;intermediary field_16552Lnet/minecraft/class_3751;field_16552:Lnet/minecraft/class_2960;named targetLnet/minecraft/block/entity/JigsawBlockEntity;target:Lnet/minecraft/util/Identifier;
-
pool
private Identifier pool
- Mappings:
Namespace Name Mixin selector official hLcii;h:Lwp;intermediary field_23327Lnet/minecraft/class_3751;field_23327:Lnet/minecraft/class_2960;named poolLnet/minecraft/block/entity/JigsawBlockEntity;pool:Lnet/minecraft/util/Identifier;
-
joint
private JigsawBlockEntity.Joint joint
- Mappings:
Namespace Name Mixin selector official iLcii;i:Lcii$a;intermediary field_23328Lnet/minecraft/class_3751;field_23328:Lnet/minecraft/class_3751$class_4991;named jointLnet/minecraft/block/entity/JigsawBlockEntity;joint:Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
-
finalState
private String finalState
- Mappings:
Namespace Name Mixin selector official jLcii;j:Ljava/lang/String;intermediary field_16551Lnet/minecraft/class_3751;field_16551:Ljava/lang/String;named finalStateLnet/minecraft/block/entity/JigsawBlockEntity;finalState:Ljava/lang/String;
-
-
构造器详细资料
-
JigsawBlockEntity
public JigsawBlockEntity(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official <init>Lcii;<init>(Lgb;Lcjr;)Vintermediary <init>Lnet/minecraft/class_3751;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/JigsawBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
方法详细资料
-
getName
public Identifier getName()
- Mappings:
Namespace Name Mixin selector official dLcii;d()Lwp;intermediary method_16381Lnet/minecraft/class_3751;method_16381()Lnet/minecraft/class_2960;named getNameLnet/minecraft/block/entity/JigsawBlockEntity;getName()Lnet/minecraft/util/Identifier;
-
getTarget
public Identifier getTarget()
- Mappings:
Namespace Name Mixin selector official fLcii;f()Lwp;intermediary method_26399Lnet/minecraft/class_3751;method_26399()Lnet/minecraft/class_2960;named getTargetLnet/minecraft/block/entity/JigsawBlockEntity;getTarget()Lnet/minecraft/util/Identifier;
-
getPool
public Identifier getPool()
- Mappings:
Namespace Name Mixin selector official gLcii;g()Lwp;intermediary method_16382Lnet/minecraft/class_3751;method_16382()Lnet/minecraft/class_2960;named getPoolLnet/minecraft/block/entity/JigsawBlockEntity;getPool()Lnet/minecraft/util/Identifier;
-
getFinalState
public String getFinalState()
- Mappings:
Namespace Name Mixin selector official hLcii;h()Ljava/lang/String;intermediary method_16380Lnet/minecraft/class_3751;method_16380()Ljava/lang/String;named getFinalStateLnet/minecraft/block/entity/JigsawBlockEntity;getFinalState()Ljava/lang/String;
-
getJoint
public JigsawBlockEntity.Joint getJoint()
- Mappings:
Namespace Name Mixin selector official iLcii;i()Lcii$a;intermediary method_26400Lnet/minecraft/class_3751;method_26400()Lnet/minecraft/class_3751$class_4991;named getJointLnet/minecraft/block/entity/JigsawBlockEntity;getJoint()Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
-
setAttachmentType
public void setAttachmentType(Identifier value)
- Mappings:
Namespace Name Mixin selector official aLcii;a(Lwp;)Vintermediary method_16379Lnet/minecraft/class_3751;method_16379(Lnet/minecraft/class_2960;)Vnamed setAttachmentTypeLnet/minecraft/block/entity/JigsawBlockEntity;setAttachmentType(Lnet/minecraft/util/Identifier;)V
-
setTargetPool
public void setTargetPool(Identifier target)
- Mappings:
Namespace Name Mixin selector official bLcii;b(Lwp;)Vintermediary method_16378Lnet/minecraft/class_3751;method_16378(Lnet/minecraft/class_2960;)Vnamed setTargetPoolLnet/minecraft/block/entity/JigsawBlockEntity;setTargetPool(Lnet/minecraft/util/Identifier;)V
-
setPool
public void setPool(Identifier pool)
- Mappings:
Namespace Name Mixin selector official cLcii;c(Lwp;)Vintermediary method_26398Lnet/minecraft/class_3751;method_26398(Lnet/minecraft/class_2960;)Vnamed setPoolLnet/minecraft/block/entity/JigsawBlockEntity;setPool(Lnet/minecraft/util/Identifier;)V
-
setFinalState
public void setFinalState(String finalState)
- Mappings:
Namespace Name Mixin selector official aLcii;a(Ljava/lang/String;)Vintermediary method_16377Lnet/minecraft/class_3751;method_16377(Ljava/lang/String;)Vnamed setFinalStateLnet/minecraft/block/entity/JigsawBlockEntity;setFinalState(Ljava/lang/String;)V
-
setJoint
public void setJoint(JigsawBlockEntity.Joint joint)
- Mappings:
Namespace Name Mixin selector official aLcii;a(Lcii$a;)Vintermediary method_26396Lnet/minecraft/class_3751;method_26396(Lnet/minecraft/class_3751$class_4991;)Vnamed setJointLnet/minecraft/block/entity/JigsawBlockEntity;setJoint(Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;)V
-
writeNbt
public CompoundTag writeNbt(CompoundTag nbt)
- 覆盖:
writeNbt在类中BlockEntity- Mappings:
Namespace Name Mixin selector official bLchp;b(Lmv;)Lmv;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
readNbt
public void readNbt(CompoundTag nbt)
- 覆盖:
readNbt在类中BlockEntity- Mappings:
Namespace Name Mixin selector official aLchp;a(Lmv;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
toUpdatePacket
@Nullable public @Nullable BlockEntityUpdateS2CPacket toUpdatePacket()
- 覆盖:
toUpdatePacket在类中BlockEntity- Mappings:
Namespace Name Mixin selector official aLchp;a()Lpt;intermediary method_16886Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;named toUpdatePacketLnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
toInitialChunkDataNbt
public CompoundTag toInitialChunkDataNbt()
- 覆盖:
toInitialChunkDataNbt在类中BlockEntity- Mappings:
Namespace Name Mixin selector official bLchp;b()Lmv;intermediary method_16887Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;named toInitialChunkDataNbtLnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt()Lnet/minecraft/nbt/CompoundTag;
-
generate
public void generate(ServerWorld world, int maxDepth, boolean keepJigsaws)
- Mappings:
Namespace Name Mixin selector official aLcii;a(Labj;IZ)Vintermediary method_27191Lnet/minecraft/class_3751;method_27191(Lnet/minecraft/class_3218;IZ)Vnamed generateLnet/minecraft/block/entity/JigsawBlockEntity;generate(Lnet/minecraft/server/world/ServerWorld;IZ)V
-
-