类 SkullBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.SkullBlockEntity
- 所有已实现的接口:
IAttachmentHolder
,IBlockEntityExtension
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.entity.BlockEntity
BlockEntity.BlockEntityPathElement
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
-
字段概要
字段修饰符和类型字段说明private int
static final Executor
private Component
private boolean
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.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
animation
(Level p_261710_, BlockPos p_262153_, BlockState p_262021_, SkullBlockEntity p_261594_) protected void
applyImplicitComponents
(DataComponentGetter p_397656_) static void
clear()
protected void
static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchGameProfile
(String p_295932_) static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchGameProfile
(UUID p_339604_) (专用程序包) static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchProfileById
(UUID p_339663_, Services p_339676_, BooleanSupplier p_339631_) (专用程序包) static CompletableFuture
<Optional<com.mojang.authlib.GameProfile>> fetchProfileByName
(String p_339683_, Services p_339592_) float
getAnimation
(float p_262053_) getUpdateTag
(HolderLookup.Provider p_323711_) protected void
loadAdditional
(ValueInput p_422414_) void
removeComponentsFromTag
(ValueOutput p_421915_) protected void
saveAdditional
(ValueOutput p_421512_) void
setOwner
(ResolvableProfile p_332738_) static void
private void
从类继承的方法 net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, clearRemoved, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, preRemoveSideEffects, problemPath, removeData, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setData, setLevel, setRemoved, triggerEvent
从类继承的方法 net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, serializeAttachments
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
从接口继承的方法 net.neoforged.neoforge.common.extensions.IBlockEntityExtension
getModelData, handleUpdateTag, invalidateCapabilities, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate
-
字段详细资料
-
TAG_PROFILE
- 另请参阅:
-
TAG_NOTE_BLOCK_SOUND
- 另请参阅:
-
TAG_CUSTOM_NAME
- 另请参阅:
-
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_339683_, Services p_339592_) -
fetchProfileById
static CompletableFuture<Optional<com.mojang.authlib.GameProfile>> fetchProfileById(UUID p_339663_, Services p_339676_, BooleanSupplier p_339631_) -
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_295932_) -
fetchGameProfile
public static CompletableFuture<Optional<com.mojang.authlib.GameProfile>> fetchGameProfile(UUID p_339604_) -
applyImplicitComponents
- 覆盖:
applyImplicitComponents
在类中BlockEntity
-
collectImplicitComponents
- 覆盖:
collectImplicitComponents
在类中BlockEntity
-
removeComponentsFromTag
- 覆盖:
removeComponentsFromTag
在类中BlockEntity
-