net.minecraft.commands.arguments

record ResourceOrTagArgument$ResourceResult<T>

implements ResourceOrTagArgument$Result<T>

eq$b
net.minecraft.commands.arguments.ResourceOrTagArgument$ResourceResult
net.minecraft.class_7737$class_7740
net.minecraft.command.argument.RegistryEntryPredicateArgumentType$EntryBased
net.minecraft.src.C_243640_$C_243479_
net.minecraft.commands.arguments.ResourceOrTagArgument$b

Field summary

Modifier and TypeField
private final Holder$Reference<T>
a
value
comp_1023
value
f_243689_

Constructor summary

ModifierConstructor
(Holder$Reference<T> arg0)

Method summary

Modifier and TypeMethod
public com.mojang.datafixers.util.Either<Holder$Reference<T>, HolderSet$Named<T>>
a()
unwrap()
method_45647()
getEntry()
m_245347_()
public <E> Optional<ResourceOrTagArgument$Result<E>>
a(adc<? extends hq<E>> arg0)
cast(ResourceKey<? extends Registry<E>> arg0)
method_45648(class_5321<? extends class_2378<E>> arg0)
tryCast(RegistryKey<? extends Registry<E>> arg0)
m_245172_(C_5264_<? extends C_4705_<E>> arg0)
public boolean
a(hd<T> arg0)
test(Holder<T> arg0)
method_45649(class_6880<T> arg0)
test(RegistryEntry<T> arg0)
test(C_203228_<T> arg0)
public String
b()
asPrintable()
method_45650()
asString()
m_245443_()
public Holder$Reference<T>
c()
value()
comp_1023()
value()
f_243689_()