net.minecraft.commands.arguments

public class ResourceOrTagKeyArgument<T>

implements com.mojang.brigadier.arguments.ArgumentType<ResourceOrTagKeyArgument$Result<T>>

eu
net.minecraft.commands.arguments.ResourceOrTagKeyArgument
net.minecraft.class_7066
net.minecraft.unmapped.C_ybgoyqmh
net.minecraft.command.argument.RegistryPredicateArgumentType
net.minecraft.command.argument.RegistryKeyOrTagKeyResult
net.minecraft.src.C_243418_
net.minecraft.commands.arguments.ResourceOrTagKeyArgument

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_37223
f_idfywblo
EXAMPLES
EXAMPLES
f_244586_
final ResourceKey<? extends Registry<T>>
b
registryKey
field_37226
f_zqlvjvdr
registryRef
registryKey
f_243745_

Constructor summary

ModifierConstructor
public (ResourceKey<? extends Registry<T>> registryRef)

Method summary

Modifier and TypeMethod
public static <T> ResourceOrTagKeyArgument<T>
a(aev<? extends hq<T>> arg0)
resourceOrTagKey(ResourceKey<? extends Registry<T>> arg0)
method_41170(class_5321<? extends class_2378<T>> arg0)
m_tvljewfq(C_xhhleach<? extends C_tqxyjqsk<T>> arg0)
registryPredicate(RegistryKey<? extends Registry<T>> registryRef)
create(RegistryKey<? extends Registry<T>> registryKey)
m_247494_(C_5264_<? extends C_4705_<T>> p_249175_)
public static <T> ResourceOrTagKeyArgument$Result<T>
a(com.mojang.brigadier.context.CommandContext<dt> arg0, String arg1, aev<hq<T>> arg2, com.mojang.brigadier.exceptions.DynamicCommandExceptionType arg3)
getResourceOrTagKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1, ResourceKey<Registry<T>> arg2, com.mojang.brigadier.exceptions.DynamicCommandExceptionType arg3)
method_41166(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1, class_5321<class_2378<T>> arg2, com.mojang.brigadier.exceptions.DynamicCommandExceptionType arg3)
m_smfremsu(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1, C_xhhleach<C_tqxyjqsk<T>> arg2, com.mojang.brigadier.exceptions.DynamicCommandExceptionType arg3)
getPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException)
getResult(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception)
m_246379_(com.mojang.brigadier.context.CommandContext<C_2969_> p_252162_, String p_248628_, C_5264_<C_4705_<T>> p_249008_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_251387_)
public ResourceOrTagKeyArgument$Result<T>
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_41164(com.mojang.brigadier.StringReader arg0)
m_ojjxlyec(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_251141_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()