net.minecraft.commands.arguments

record ResourceOrTagKeyArgument$TagResult<T>

implements ResourceOrTagKeyArgument$Result<T>

ga$d
net.minecraft.commands.arguments.ResourceOrTagKeyArgument$TagResult
net.minecraft.class_7066$class_7070
net.minecraft.command.argument.RegistryPredicateArgumentType$TagBased
net.minecraft.commands.arguments.ResourceOrTagKeyArgument$d

Field summary

Modifier and TypeField
private final TagKey<T>
a
key
comp_523
key

Constructor summary

ModifierConstructor
(TagKey<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_41180(class_6880<T> arg0)
test(RegistryEntry<T> arg0)
public String
b()
asPrintable()
method_41176()
asString()
public TagKey<T>
c()
key()
comp_523()
key()