接口 HolderLookup.RegistryLookup.Delegate<T>
- 所有超级接口:
HolderGetter<T>
,HolderLookup<T>
,HolderLookup.RegistryLookup<T>
,HolderOwner<T>
- 封闭接口:
HolderLookup.RegistryLookup<T>
public static interface HolderLookup.RegistryLookup.Delegate<T>
extends HolderLookup.RegistryLookup<T>
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.core.HolderLookup
HolderLookup.Provider, HolderLookup.RegistryLookup<T>
从接口继承的嵌套类/接口 net.minecraft.core.HolderLookup.RegistryLookup
HolderLookup.RegistryLookup.Delegate<T>
-
方法概要
修饰符和类型方法说明default Optional
<Holder.Reference<T>> get
(ResourceKey<T> p_255619_) default Optional
<HolderSet.Named<T>> default <A> A
getData
(DataMapType<T, A> attachment, ResourceKey<T> key) 返回 the data map value attached with the object with the key, ornull
if there's no attached value。default ResourceKey
<? extends Registry<? extends T>> key()
default Stream
<Holder.Reference<T>> default Stream
<HolderSet.Named<T>> listTags()
parent()
default com.mojang.serialization.Lifecycle
从接口继承的方法 net.minecraft.core.HolderGetter
getOrThrow, getOrThrow
从接口继承的方法 net.minecraft.core.HolderLookup
listElementIds, listTagIds
从接口继承的方法 net.minecraft.core.HolderLookup.RegistryLookup
filterElements, filterFeatures
从接口继承的方法 net.minecraft.core.HolderOwner
canSerializeIn
-
方法详细资料
-
parent
HolderLookup.RegistryLookup<T> parent() -
key
- 指定者:
key
在接口中HolderLookup.RegistryLookup<T>
-
registryLifecycle
default com.mojang.serialization.Lifecycle registryLifecycle()- 指定者:
registryLifecycle
在接口中HolderLookup.RegistryLookup<T>
-
get
- 指定者:
get
在接口中HolderGetter<T>
-
listElements
- 指定者:
listElements
在接口中HolderLookup<T>
-
get
- 指定者:
get
在接口中HolderGetter<T>
-
listTags
- 指定者:
listTags
在接口中HolderLookup<T>
-
getData
从接口复制的说明:HolderLookup.RegistryLookup
返回 the data map value attached with the object with the key, ornull
if there's no attached value。- 指定者:
getData
在接口中HolderLookup.RegistryLookup<T>
- 类型参数:
A
- the data type- 参数:
attachment
- the type of the data mapkey
- the object to get the value for- 返回:
- the data map value attached with the object with the key, or
null
if there's no attached value
-