net.minecraft.commands.arguments

record ResourceOrTagKeyArgument$ResourceResult<T>

implements ResourceOrTagKeyArgument$Result<T>

fx$b
net.minecraft.commands.arguments.ResourceOrTagKeyArgument$ResourceResult
net.minecraft.class_7066$class_7067
net.minecraft.command.argument.RegistryPredicateArgumentType$RegistryKeyBased
net.minecraft.src.C_243418_$C_243648_
net.minecraft.commands.arguments.ResourceOrTagKeyArgument$b

Field summary

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

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_245276_()
public <E> Optional<ResourceOrTagKeyArgument$Result<E>>
a(akq<? extends jz<E>> arg0)
cast(ResourceKey<? extends Registry<E>> arg0)
method_41175(class_5321<? extends class_2378<E>> arg0)
tryCast(RegistryKey<? extends Registry<E>> arg0)
m_245137_(C_5264_<? extends C_4705_<E>> arg0)
public boolean
a(jm<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_245390_()
public ResourceKey<T>
c()
key()
comp_522()
key()
f_243909_()