net.minecraft.commands.arguments

record ResourceOrTagKeyArgument$ResourceResult<T>

implements ResourceOrTagKeyArgument$Result<T>

ga$b
net.minecraft.commands.arguments.ResourceOrTagKeyArgument$ResourceResult
net.minecraft.class_7066$class_7067
net.minecraft.command.argument.RegistryPredicateArgumentType$RegistryKeyBased
net.minecraft.commands.arguments.ResourceOrTagKeyArgument$b

Field summary

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

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()
public <E> Optional<ResourceOrTagKeyArgument$Result<E>>
a(aly<? extends kd<E>> arg0)
cast(ResourceKey<? extends Registry<E>> arg0)
method_41175(class_5321<? extends class_2378<E>> arg0)
tryCast(RegistryKey<? extends Registry<E>> arg0)
public boolean
a(jq<T> arg0)
test(Holder<T> arg0)
method_41174(class_6880<T> arg0)
test(RegistryEntry<T> arg0)
public String
b()
asPrintable()
method_41176()
asString()
public ResourceKey<T>
c()
key()
comp_522()
key()