Package net.minecraft.block.entity
Class SkullBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.SkullBlockEntity
public class SkullBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cgs
intermediary net/minecraft/class_2631
named net/minecraft/block/entity/SkullBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.authlib.GameProfile
owner
private boolean
powered
private static com.mojang.authlib.minecraft.MinecraftSessionService
sessionService
private int
ticksPowered
private static UserCache
userCache
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description SkullBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Modifier and Type Method Description void
fromTag(CompoundTag tag)
com.mojang.authlib.GameProfile
getOwner()
float
getTicksPowered(float tickDelta)
private void
loadOwnerProperties()
static com.mojang.authlib.GameProfile
loadProperties(com.mojang.authlib.GameProfile profile)
void
setOwner(com.mojang.authlib.GameProfile owner)
static void
setSessionService(com.mojang.authlib.minecraft.MinecraftSessionService value)
static void
setUserCache(UserCache value)
static void
tick(World world, BlockPos pos, BlockState state, SkullBlockEntity blockEntity)
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
-
userCache
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a:Ladg;
intermediary field_12089
Lnet/minecraft/class_2631;field_12089:Lnet/minecraft/class_3312;
named userCache
Lnet/minecraft/block/entity/SkullBlockEntity;userCache:Lnet/minecraft/util/UserCache;
-
sessionService
- Mappings:
Namespace Name Mixin selector official b
Lcgs;b:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
intermediary field_12088
Lnet/minecraft/class_2631;field_12088:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
named sessionService
Lnet/minecraft/block/entity/SkullBlockEntity;sessionService:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
-
owner
- Mappings:
Namespace Name Mixin selector official c
Lcgs;c:Lcom/mojang/authlib/GameProfile;
intermediary field_12087
Lnet/minecraft/class_2631;field_12087:Lcom/mojang/authlib/GameProfile;
named owner
Lnet/minecraft/block/entity/SkullBlockEntity;owner:Lcom/mojang/authlib/GameProfile;
-
ticksPowered
private int ticksPowered- Mappings:
Namespace Name Mixin selector official g
Lcgs;g:I
intermediary field_12085
Lnet/minecraft/class_2631;field_12085:I
named ticksPowered
Lnet/minecraft/block/entity/SkullBlockEntity;ticksPowered:I
-
powered
private boolean powered- Mappings:
Namespace Name Mixin selector official h
Lcgs;h:Z
intermediary field_12086
Lnet/minecraft/class_2631;field_12086:Z
named powered
Lnet/minecraft/block/entity/SkullBlockEntity;powered:Z
-
-
Constructor Details
-
SkullBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcgs;<init>(Lfx;Lcht;)V
intermediary <init>
Lnet/minecraft/class_2631;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/SkullBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
setUserCache
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Ladg;)V
intermediary method_11337
Lnet/minecraft/class_2631;method_11337(Lnet/minecraft/class_3312;)V
named setUserCache
Lnet/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 a
Lcgs;a(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
intermediary method_11336
Lnet/minecraft/class_2631;method_11336(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
named setSessionService
Lnet/minecraft/block/entity/SkullBlockEntity;setSessionService(Lcom/mojang/authlib/minecraft/MinecraftSessionService;)V
-
toTag
- Overrides:
toTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b(Lmq;)Lmq;
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toTag
Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
fromTag
- Overrides:
fromTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a(Lmq;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
tick
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Lbtv;Lfx;Lcht;Lcgs;)V
intermediary method_31695
Lnet/minecraft/class_2631;method_31695(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2631;)V
named tick
Lnet/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
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(F)F
intermediary method_11338
Lnet/minecraft/class_2631;method_11338(F)F
named getTicksPowered
Lnet/minecraft/block/entity/SkullBlockEntity;getTicksPowered(F)F
-
getOwner
- Mappings:
Namespace Name Mixin selector official d
Lcgs;d()Lcom/mojang/authlib/GameProfile;
intermediary method_11334
Lnet/minecraft/class_2631;method_11334()Lcom/mojang/authlib/GameProfile;
named getOwner
Lnet/minecraft/block/entity/SkullBlockEntity;getOwner()Lcom/mojang/authlib/GameProfile;
-
toUpdatePacket
- Overrides:
toUpdatePacket
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a()Lpo;
intermediary method_16886
Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;
named toUpdatePacket
Lnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
toInitialChunkDataTag
- Overrides:
toInitialChunkDataTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b()Lmq;
intermediary method_16887
Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
named toInitialChunkDataTag
Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataTag()Lnet/minecraft/nbt/CompoundTag;
-
setOwner
- Mappings:
Namespace Name Mixin selector official a
Lcgs;a(Lcom/mojang/authlib/GameProfile;)V
intermediary method_11333
Lnet/minecraft/class_2631;method_11333(Lcom/mojang/authlib/GameProfile;)V
named setOwner
Lnet/minecraft/block/entity/SkullBlockEntity;setOwner(Lcom/mojang/authlib/GameProfile;)V
-
loadOwnerProperties
private void loadOwnerProperties()- Mappings:
Namespace Name Mixin selector official f
Lcgs;f()V
intermediary method_11339
Lnet/minecraft/class_2631;method_11339()V
named loadOwnerProperties
Lnet/minecraft/block/entity/SkullBlockEntity;loadOwnerProperties()V
-
loadProperties
@Nullable public static com.mojang.authlib.GameProfile loadProperties(@Nullable com.mojang.authlib.GameProfile profile)- Mappings:
Namespace Name Mixin selector official b
Lcgs;b(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
intermediary method_11335
Lnet/minecraft/class_2631;method_11335(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
named loadProperties
Lnet/minecraft/block/entity/SkullBlockEntity;loadProperties(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
-