net.minecraft.commands.arguments

record ResourceOrTagLocationArgument$ResourceResult<T>

implements ResourceOrTagLocationArgument$Result<T>

er$b
net.minecraft.commands.arguments.ResourceOrTagLocationArgument$ResourceResult
net.minecraft.class_7066$class_7067
net.minecraft.command.argument.RegistryPredicateArgumentType$RegistryKeyBased
net.minecraft.src.C_207049_
net.minecraft.commands.arguments.ResourceOrTagLocationArgument$b

Field summary

Modifier and TypeField
private final ResourceKey<T>
a
key
comp_522
key
f_210981_

Constructor summary

ModifierConstructor
(ResourceKey<T> arg0)

Method summary

Modifier and TypeMethod
public com.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>>
a()
unwrap()
method_41173()
getKey()
m_207418_()
public <E> Optional<ResourceOrTagLocationArgument$Result<E>>
a(aba<? extends hm<E>> arg0)
cast(ResourceKey<? extends Registry<E>> arg0)
method_41175(class_5321<? extends class_2378<E>> arg0)
tryCast(RegistryKey<? extends Registry<E>> arg0)
m_207209_(C_5264_<? extends C_4705_<E>> arg0)
public boolean
a(hc<T> arg0)
test(Holder<T> arg0)
method_41174(class_6880<T> arg0)
test(RegistryEntry<T> arg0)
test(C_203228_<T> arg0)
public String
b()
asPrintable()
method_41176()
asString()
m_207276_()
public ResourceKey<T>
c()
key()
comp_522()
key()
f_210981_()