net.minecraft.core

public interface Holder<T>

jr
net.minecraft.core.Holder
net.minecraft.class_6880
net.minecraft.registry.entry.RegistryEntry
net.minecraft.core.Holder

Method summary

Modifier and TypeMethod
T
a()
value()
comp_349()
value()
boolean
b()
isBound()
method_40227()
hasKeyAndValue()
boolean
a(akv arg0)
is(ResourceLocation arg0)
method_40226(class_2960 arg0)
matchesId(Identifier id)
boolean
a(aku<T> arg0)
is(ResourceKey<T> arg0)
method_40225(class_5321<T> arg0)
matchesKey(RegistryKey<T> key)
boolean
a(Predicate<aku<T>> arg0)
is(Predicate<ResourceKey<T>> arg0)
method_40224(Predicate<class_5321<T>> arg0)
matches(Predicate<RegistryKey<T>> predicate)
boolean
a(axf<T> arg0)
is(TagKey<T> arg0)
method_40220(class_6862<T> arg0)
isIn(TagKey<T> tag)
boolean
a(jr<T> arg0)
is(Holder<T> arg0)
method_55838(class_6880<T> arg0)
matches(RegistryEntry<T> entry)
Stream<TagKey<T>>
c()
tags()
method_40228()
streamTags()
com.mojang.datafixers.util.Either<ResourceKey<T>, T>
d()
unwrap()
method_40229()
getKeyOrValue()
Optional<ResourceKey<T>>
e()
unwrapKey()
method_40230()
getKey()
Holder$Kind
f()
kind()
method_40231()
getType()
boolean
a(ju<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46745(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> owner)
default String
g()
getRegisteredName()
method_55840()
getIdAsString()
static <T> Holder<T>
a(T arg0)
direct(T arg0)
method_40223(T arg0)
of(T value)