接口 Holder<T>
- 所有超级接口:
IReverseTag<T>
,Supplier<T>
-
嵌套类概要
嵌套类修饰符和类型接口说明static final record
static enum
static class
-
方法概要
修饰符和类型方法说明boolean
canSerializeIn
(HolderOwner<T> p_255833_) default boolean
containsTag
(TagKey<T> key) static <T> Holder
<T> direct
(T p_205710_) default T
get()
default String
boolean
is
(Predicate<ResourceKey<T>> p_205711_) boolean
已过时。boolean
is
(ResourceKey<T> p_205712_) boolean
is
(ResourceLocation p_205713_) boolean
boolean
isBound()
kind()
tags()
com.mojang.datafixers.util.Either
<ResourceKey<T>, T> unwrap()
value()
从接口继承的方法 net.minecraftforge.registries.tags.IReverseTag
containsTag
-
方法详细资料
-
containsTag
- 指定者:
containsTag
在接口中IReverseTag<T>
-
getTagKeys
- 指定者:
getTagKeys
在接口中IReverseTag<T>
-
get
-
value
T value() -
isBound
boolean isBound() -
is
-
is
-
is
-
is
-
is
已过时。 -
tags
-
unwrap
com.mojang.datafixers.util.Either<ResourceKey<T>,T> unwrap() -
unwrapKey
Optional<ResourceKey<T>> unwrapKey() -
kind
Holder.Kind kind() -
canSerializeIn
-
getRegisteredName
-
direct
-