类 SkullBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.SkullBlockEntity
- 所有已实现的接口:
ICapabilityProvider
,ICapabilityProviderImpl<BlockEntity>
,ICapabilitySerializable<CompoundTag>
,IForgeBlockEntity
,INBTSerializable<CompoundTag>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段修饰符和类型字段说明private int
private boolean
private static Executor
private ResourceLocation
private com.mojang.authlib.GameProfile
private static GameProfileCache
private static com.mojang.authlib.minecraft.MinecraftSessionService
static final String
static final String
从类继承的字段 net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
从接口继承的字段 net.minecraftforge.common.extensions.IForgeBlockEntity
INFINITE_EXTENT_AABB
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
animation
(Level pLevel, BlockPos pPos, BlockState pState, SkullBlockEntity pBlockEntity) static void
clear()
float
getAnimation
(float pPartialTick) com.mojang.authlib.GameProfile
void
load
(CompoundTag pTag) protected void
saveAdditional
(CompoundTag pTag) void
setOwner
(com.mojang.authlib.GameProfile pOwner) static void
static void
updateGameprofile
(com.mojang.authlib.GameProfile pProfile, Consumer<com.mojang.authlib.GameProfile> pProfileConsumer) private void
从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlockEntity
deserializeNBT, getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
-
字段详细资料
-
TAG_SKULL_OWNER
- 另请参阅:
-
TAG_NOTE_BLOCK_SOUND
- 另请参阅:
-
profileCache
-
sessionService
@Nullable private static com.mojang.authlib.minecraft.MinecraftSessionService sessionService -
mainThreadExecutor
-
owner
@Nullable private com.mojang.authlib.GameProfile owner -
noteBlockSound
-
animationTickCount
private int animationTickCount -
isAnimating
private boolean isAnimating
-
-
构造器详细资料
-
SkullBlockEntity
-
-
方法详细资料
-
setup
-
clear
public static void clear() -
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-
load
- 覆盖:
load
在类中BlockEntity
-
animation
public static void animation(Level pLevel, BlockPos pPos, BlockState pState, SkullBlockEntity pBlockEntity) -
getAnimation
public float getAnimation(float pPartialTick) -
getOwnerProfile
@Nullable public com.mojang.authlib.GameProfile getOwnerProfile() -
getNoteBlockSound
-
getUpdatePacket
- 覆盖:
getUpdatePacket
在类中BlockEntity
-
getUpdateTag
- 覆盖:
getUpdateTag
在类中BlockEntity
-
setOwner
public void setOwner(@Nullable com.mojang.authlib.GameProfile pOwner) -
updateOwnerProfile
private void updateOwnerProfile() -
updateGameprofile
public static void updateGameprofile(@Nullable com.mojang.authlib.GameProfile pProfile, Consumer<com.mojang.authlib.GameProfile> pProfileConsumer)
-