类 SkullBlockEntity
- java.lang.Object
-
- net.minecraft.block.entity.BlockEntity
-
- net.minecraft.block.entity.SkullBlockEntity
-
public class SkullBlockEntity extends BlockEntity
- Mappings:
Namespace Name official ciqintermediary net/minecraft/class_2631named net/minecraft/block/entity/SkullBlockEntity
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable com.mojang.authlib.GameProfileownerprivate booleanpoweredprivate static @Nullable com.mojang.authlib.minecraft.MinecraftSessionServicesessionServicestatic StringSKULL_OWNER_KEYprivate intticksPoweredprivate static @Nullable UserCacheuserCache-
从类继承的字段 net.minecraft.block.entity.BlockEntity
pos, removed, world
-
-
构造器概要
构造器 构造器 说明 SkullBlockEntity(BlockPos pos, BlockState state)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 @Nullable com.mojang.authlib.GameProfilegetOwner()floatgetTicksPowered(float tickDelta)private voidloadOwnerProperties()static @Nullable com.mojang.authlib.GameProfileloadProperties(@Nullable com.mojang.authlib.GameProfile profile)voidreadNbt(CompoundTag nbt)voidsetOwner(@Nullable com.mojang.authlib.GameProfile owner)static voidsetSessionService(com.mojang.authlib.minecraft.MinecraftSessionService value)static voidsetUserCache(UserCache value)static voidtick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity)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
-
-
-
-
字段详细资料
-
SKULL_OWNER_KEY
public static final String SKULL_OWNER_KEY
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLciq;a:Ljava/lang/String;intermediary field_31363Lnet/minecraft/class_2631;field_31363:Ljava/lang/String;named SKULL_OWNER_KEYLnet/minecraft/block/entity/SkullBlockEntity;SKULL_OWNER_KEY:Ljava/lang/String;
-
userCache
@Nullable private static @Nullable UserCache userCache
- Mappings:
Namespace Name Mixin selector official bLciq;b:Ladv;intermediary field_12089Lnet/minecraft/class_2631;field_12089:Lnet/minecraft/class_3312;named userCacheLnet/minecraft/block/entity/SkullBlockEntity;userCache:Lnet/minecraft/util/UserCache;
-
sessionService
@Nullable private static @Nullable com.mojang.authlib.minecraft.MinecraftSessionService sessionService
- Mappings:
Namespace Name Mixin selector official cLciq;c:Lcom/mojang/authlib/minecraft/MinecraftSessionService;intermediary field_12088Lnet/minecraft/class_2631;field_12088:Lcom/mojang/authlib/minecraft/MinecraftSessionService;named sessionServiceLnet/minecraft/block/entity/SkullBlockEntity;sessionService:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
-
owner
@Nullable private @Nullable com.mojang.authlib.GameProfile owner
- Mappings:
Namespace Name Mixin selector official dLciq;d:Lcom/mojang/authlib/GameProfile;intermediary field_12087Lnet/minecraft/class_2631;field_12087:Lcom/mojang/authlib/GameProfile;named ownerLnet/minecraft/block/entity/SkullBlockEntity;owner:Lcom/mojang/authlib/GameProfile;
-
ticksPowered
private int ticksPowered
- Mappings:
Namespace Name Mixin selector official eLciq;e:Iintermediary field_12085Lnet/minecraft/class_2631;field_12085:Inamed ticksPoweredLnet/minecraft/block/entity/SkullBlockEntity;ticksPowered:I
-
powered
private boolean powered
- Mappings:
Namespace Name Mixin selector official fLciq;f:Zintermediary field_12086Lnet/minecraft/class_2631;field_12086:Znamed poweredLnet/minecraft/block/entity/SkullBlockEntity;powered:Z
-
-
构造器详细资料
-
SkullBlockEntity
public SkullBlockEntity(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official <init>Lciq;<init>(Lgb;Lcjr;)Vintermediary <init>Lnet/minecraft/class_2631;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/SkullBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
方法详细资料
-
setUserCache
public static void setUserCache(UserCache value)
- Mappings:
Namespace Name Mixin selector official aLciq;a(Ladv;)Vintermediary method_11337Lnet/minecraft/class_2631;method_11337(Lnet/minecraft/class_3312;)Vnamed setUserCacheLnet/minecraft/block/entity/SkullBlockEntity;setUserCache(Lnet/minecraft/util/UserCache;)V
-
setSessionService
public static void setSessionService(com.mojang.authlib.minecraft.MinecraftSessionService value)
- Mappings:
Namespace Name Mixin selector official aLciq;a(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Vintermediary method_11336Lnet/minecraft/class_2631;method_11336(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)Vnamed setSessionServiceLnet/minecraft/block/entity/SkullBlockEntity;setSessionService(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)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
-
tick
public static void tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity)
- Mappings:
Namespace Name Mixin selector official aLciq;a(Lbvr;Lgb;Lcjr;Lciq;)Vintermediary method_31695Lnet/minecraft/class_2631;method_31695(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2631;)Vnamed tickLnet/minecraft/block/entity/SkullBlockEntity;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/SkullBlockEntity;)V
-
getTicksPowered
public float getTicksPowered(float tickDelta)
- Mappings:
Namespace Name Mixin selector official aLciq;a(F)Fintermediary method_11338Lnet/minecraft/class_2631;method_11338(F)Fnamed getTicksPoweredLnet/minecraft/block/entity/SkullBlockEntity;getTicksPowered(F)F
-
getOwner
@Nullable public @Nullable com.mojang.authlib.GameProfile getOwner()
- Mappings:
Namespace Name Mixin selector official dLciq;d()Lcom/mojang/authlib/GameProfile;intermediary method_11334Lnet/minecraft/class_2631;method_11334()Lcom/mojang/authlib/GameProfile;named getOwnerLnet/minecraft/block/entity/SkullBlockEntity;getOwner()Lcom/mojang/authlib/GameProfile;
-
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;
-
setOwner
public void setOwner(@Nullable @Nullable com.mojang.authlib.GameProfile owner)
- Mappings:
Namespace Name Mixin selector official aLciq;a(Lcom/mojang/authlib/GameProfile;)Vintermediary method_11333Lnet/minecraft/class_2631;method_11333(Lcom/mojang/authlib/GameProfile;)Vnamed setOwnerLnet/minecraft/block/entity/SkullBlockEntity;setOwner(Lcom/mojang/authlib/GameProfile;)V
-
loadOwnerProperties
private void loadOwnerProperties()
- Mappings:
Namespace Name Mixin selector official fLciq;f()Vintermediary method_11339Lnet/minecraft/class_2631;method_11339()Vnamed loadOwnerPropertiesLnet/minecraft/block/entity/SkullBlockEntity;loadOwnerProperties()V
-
loadProperties
@Nullable public static @Nullable com.mojang.authlib.GameProfile loadProperties(@Nullable @Nullable com.mojang.authlib.GameProfile profile)
- Mappings:
Namespace Name Mixin selector official bLciq;b(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;intermediary method_11335Lnet/minecraft/class_2631;method_11335(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;named loadPropertiesLnet/minecraft/block/entity/SkullBlockEntity;loadProperties(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
-
-