net.minecraft.core

public record Holder$Direct<T>

implements Holder<T>

ji$a
net.minecraft.core.Holder$Direct
net.minecraft.class_6880$class_6881
net.minecraft.registry.entry.RegistryEntry$Direct
net.minecraft.src.C_203228_$C_203229_
net.minecraft.core.Holder$a

Field summary

Modifier and TypeField
private final T
a
value
comp_349
value
f_205714_

Constructor summary

ModifierConstructor
public (T arg0)

Method summary

Modifier and TypeMethod
public boolean
b()
isBound()
method_40227()
hasKeyAndValue()
m_203633_()
public boolean
a(alf arg0)
is(ResourceLocation arg0)
method_40226(class_2960 arg0)
matchesId(Identifier arg0)
m_203373_(C_5265_ arg0)
public boolean
a(ale<T> arg0)
is(ResourceKey<T> arg0)
method_40225(class_5321<T> arg0)
matchesKey(RegistryKey<T> arg0)
m_203565_(C_5264_<T> arg0)
public boolean
a(axf<T> arg0)
is(TagKey<T> arg0)
method_40220(class_6862<T> arg0)
isIn(TagKey<T> arg0)
m_203656_(C_203208_<T> arg0)
public boolean
a(ji<T> arg0)
is(Holder<T> arg0)
method_55838(class_6880<T> arg0)
matches(RegistryEntry<T> arg0)
m_318604_(C_203228_<T> arg0)
public boolean
a(Predicate<ale<T>> arg0)
is(Predicate<ResourceKey<T>> arg0)
method_40224(Predicate<class_5321<T>> arg0)
matches(Predicate<RegistryKey<T>> arg0)
m_203425_(Predicate<C_5264_<T>> arg0)
public com.mojang.datafixers.util.Either<ResourceKey<T>, T>
d()
unwrap()
method_40229()
getKeyOrValue()
m_203439_()
public Optional<ResourceKey<T>>
e()
unwrapKey()
method_40230()
getKey()
m_203543_()
public Holder$Kind
f()
kind()
method_40231()
getType()
m_203376_()
public boolean
a(jl<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46745(class_7876<T> arg0)
ownerEquals(RegistryEntryOwner<T> arg0)
m_203401_(C_254571_<T> arg0)
public Stream<TagKey<T>>
c()
tags()
method_40228()
streamTags()
m_203616_()
public T
a()
value()
comp_349()
value()
m_203334_()