类 SkullBlockEntity
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.SkullBlockEntity
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.ComponentHelper, BlockEntity.DataComponentInput
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段修饰符和类型字段说明private int
static final Executor
private Component
private boolean
private static final org.slf4j.Logger
private static Executor
private ResourceLocation
private ResolvableProfile
private static com.google.common.cache.LoadingCache
<UUID, CompletableFuture<Optional<com.mojang.authlib.GameProfile>>> private static com.google.common.cache.LoadingCache
<String, CompletableFuture<Optional<com.mojang.authlib.GameProfile>>> private static final String
private static final String
private 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 p_261710_, BlockPos p_262153_, BlockState p_262021_, SkullBlockEntity p_261594_) protected void
static void
clear()
protected void
static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchGameProfile
(String p_298654_) static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchGameProfile
(UUID p_331248_) (专用程序包) static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchProfileById
(UUID p_332548_, Services p_336268_, BooleanSupplier p_335205_) (专用程序包) static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchProfileByName
(String p_333451_, Services p_332839_) float
getAnimation
(float p_262053_) getUpdateTag
(HolderLookup.Provider p_335540_) protected void
loadAdditional
(CompoundTag p_335831_, HolderLookup.Provider p_329643_) void
removeComponentsFromTag
(CompoundTag p_332333_) protected void
saveAdditional
(CompoundTag p_187518_, HolderLookup.Provider p_329143_) void
setOwner
(ResolvableProfile p_328553_) static void
private void
从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onChunkUnloaded, parseCustomNameSafe, saveCustomAndMetadata, saveCustomOnly, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEvent
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
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
getModelData, getRenderBoundingBox, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate
-
字段详细资料
-
TAG_PROFILE
- 另请参阅:
-
TAG_NOTE_BLOCK_SOUND
- 另请参阅:
-
TAG_CUSTOM_NAME
- 另请参阅:
-
LOGGER
private static final org.slf4j.Logger LOGGER -
mainThreadExecutor
-
profileCacheByName
@Nullable private static com.google.common.cache.LoadingCache<String,CompletableFuture<Optional<com.mojang.authlib.GameProfile>>> profileCacheByName -
profileCacheById
@Nullable private static com.google.common.cache.LoadingCache<UUID,CompletableFuture<Optional<com.mojang.authlib.GameProfile>>> profileCacheById -
CHECKED_MAIN_THREAD_EXECUTOR
-
owner
-
noteBlockSound
-
animationTickCount
private int animationTickCount -
isAnimating
private boolean isAnimating -
customName
-
-
构造器详细资料
-
SkullBlockEntity
-
-
方法详细资料
-
setup
-
fetchProfileByName
static CompletableFuture<Optional<com.mojang.authlib.GameProfile>> fetchProfileByName(String p_333451_, Services p_332839_) -
fetchProfileById
static CompletableFuture<Optional<com.mojang.authlib.GameProfile>> fetchProfileById(UUID p_332548_, Services p_336268_, BooleanSupplier p_335205_) -
clear
public static void clear() -
saveAdditional
- 覆盖:
saveAdditional
在类中BlockEntity
-
loadAdditional
- 覆盖:
loadAdditional
在类中BlockEntity
-
animation
public static void animation(Level p_261710_, BlockPos p_262153_, BlockState p_262021_, SkullBlockEntity p_261594_) -
getAnimation
public float getAnimation(float p_262053_) -
getOwnerProfile
-
getNoteBlockSound
-
getUpdatePacket
- 覆盖:
getUpdatePacket
在类中BlockEntity
-
getUpdateTag
- 覆盖:
getUpdateTag
在类中BlockEntity
-
setOwner
-
updateOwnerProfile
private void updateOwnerProfile() -
fetchGameProfile
public static CompletableFuture<Optional<com.mojang.authlib.GameProfile>> fetchGameProfile(String p_298654_) -
fetchGameProfile
public static CompletableFuture<Optional<com.mojang.authlib.GameProfile>> fetchGameProfile(UUID p_331248_) -
applyImplicitComponents
- 覆盖:
applyImplicitComponents
在类中BlockEntity
-
collectImplicitComponents
- 覆盖:
collectImplicitComponents
在类中BlockEntity
-
removeComponentsFromTag
- 覆盖:
removeComponentsFromTag
在类中BlockEntity
-