net.minecraft.core

public class Holder$Reference<T>

implements Holder<T>

ji$c
net.minecraft.core.Holder$Reference
net.minecraft.class_6880$class_6883

Field summary

Modifier and TypeField
private final HolderOwner<T>
a
owner
field_40930
private Set<TagKey<T>>
b
tags
field_36450
private final Holder$Reference$Type
c
type
field_36451
private ResourceKey<T>
d
key
field_36452
private T
e
value
field_36453

Constructor summary

ModifierConstructor
protected (Holder$Reference$Type arg0, HolderOwner<T> arg1, ResourceKey<T> arg2, T arg3)

Method summary

Modifier and TypeMethod
public static <T> Holder$Reference<T>
a(jl<T> arg0, alv<T> arg1)
createStandAlone(HolderOwner<T> arg0, ResourceKey<T> arg1)
method_40234(class_7876<T> arg0, class_5321<T> arg1)
public static <T> Holder$Reference<T>
a(jl<T> arg0, T arg1)
createIntrusive(HolderOwner<T> arg0, T arg1)
method_40233(class_7876<T> arg0, T arg1)
public ResourceKey<T>
h()
key()
method_40237()
public T
a()
value()
comp_349()
public boolean
a(alw arg0)
is(ResourceLocation arg0)
method_40226(class_2960 arg0)
public boolean
a(alv<T> arg0)
is(ResourceKey<T> arg0)
method_40225(class_5321<T> arg0)
private Set<TagKey<T>>
i()
boundTags()
method_62677()
public boolean
a(ayk<T> arg0)
is(TagKey<T> arg0)
method_40220(class_6862<T> arg0)
public boolean
a(ji<T> arg0)
is(Holder<T> arg0)
method_55838(class_6880<T> arg0)
public boolean
a(Predicate<alv<T>> arg0)
is(Predicate<ResourceKey<T>> arg0)
method_40224(Predicate<class_5321<T>> arg0)
public boolean
a(jl<T> arg0)
canSerializeIn(HolderOwner<T> arg0)
method_46745(class_7876<T> arg0)
public com.mojang.datafixers.util.Either<ResourceKey<T>, T>
d()
unwrap()
method_40229()
public Optional<ResourceKey<T>>
e()
unwrapKey()
method_40230()
public Holder$Kind
f()
kind()
method_40231()
public boolean
b()
isBound()
method_40227()
void
b(alv<T> arg0)
bindKey(ResourceKey<T> arg0)
method_45917(class_5321<T> arg0)
protected void
b(T arg0)
bindValue(T arg0)
method_45918(T arg0)
void
a(Collection<ayk<T>> arg0)
bindTags(Collection<TagKey<T>> arg0)
method_40235(Collection<class_6862<T>> arg0)
public Stream<TagKey<T>>
c()
tags()
method_40228()