Package net.minecraft.core
Interface Holder<T>
- All Superinterfaces:
- IReverseTag<T>,- Supplier<T>
- All Known Implementing Classes:
- Holder.Direct,- Holder.Reference
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic enumstatic class
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanSerializeIn(HolderOwner<T> p_255833_) default booleancontainsTag(TagKey<T> key) static <T> Holder<T>direct(T p_205710_) default Tget()booleanis(Predicate<ResourceKey<T>> p_205711_) booleanis(ResourceKey<T> p_205712_) booleanis(ResourceLocation p_205713_) booleanbooleanisBound()kind()tags()com.mojang.datafixers.util.Either<ResourceKey<T>,T> unwrap()value()Methods inherited from interface net.minecraftforge.registries.tags.IReverseTagcontainsTag
- 
Method Details- 
containsTag- Specified by:
- containsTagin interface- IReverseTag<T>
 
- 
getTagKeys- Specified by:
- getTagKeysin interface- IReverseTag<T>
 
- 
get
- 
valueT value()
- 
isBoundboolean isBound()
- 
is
- 
is
- 
is
- 
is
- 
tags
- 
unwrapcom.mojang.datafixers.util.Either<ResourceKey<T>,T> unwrap()
- 
unwrapKeyOptional<ResourceKey<T>> unwrapKey()
- 
kindHolder.Kind kind()
- 
canSerializeIn
- 
direct
 
-