net.minecraft.commands.arguments

record ResourceOrTagKeyArgument$ResourceResult<T>

implements ResourceOrTagKeyArgument$Result<T>

eu$b
net.minecraft.commands.arguments.ResourceOrTagKeyArgument$ResourceResult
net.minecraft.class_7066$class_7067
net.minecraft.unmapped.C_ybgoyqmh$C_gecdolwz
net.minecraft.command.argument.RegistryPredicateArgumentType$RegistryKeyBased
net.minecraft.command.argument.RegistryKeyOrTagKeyResult$RegistryKeyResult
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
f_hfpjadoi
key
key
f_243909_

Constructor summary

ModifierConstructor
(ResourceKey<T> registryKey)

Method summary

Modifier and TypeMethod
public com.mojang.datafixers.util.Either<ResourceKey<T>, TagKey<T>>
a()
unwrap()
method_41173()
m_plvjoeqs()
getKey()
getResultValue()
m_245276_()
public <E> Optional<ResourceOrTagKeyArgument$Result<E>>
a(aev<? extends hq<E>> arg0)
cast(ResourceKey<? extends Registry<E>> arg0)
method_41175(class_5321<? extends class_2378<E>> arg0)
m_ynmuoeuc(C_xhhleach<? extends C_tqxyjqsk<E>> arg0)
tryCast(RegistryKey<? extends Registry<E>> arg0)
castTo(RegistryKey<? extends Registry<E>> arg0)
m_245137_(C_5264_<? extends C_4705_<E>> arg0)
public boolean
a(he<T> arg0)
test(Holder<T> arg0)
method_41174(class_6880<T> arg0)
m_vgprsjol(C_cjzoxshv<T> arg0)
test(RegistryEntry<T> arg0)
test(Holder<T> arg0)
test(C_203228_<T> arg0)
public String
b()
asPrintable()
method_41176()
m_uysvgqki()
asString()
getStringRepresentation()
m_245390_()
public ResourceKey<T>
c()
key()
comp_522()
m_detykton()
key()
key()
f_243909_()