net.minecraft.commands.arguments

public class ResourceOrTagLocationArgument<T>

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

er
net.minecraft.commands.arguments.ResourceOrTagLocationArgument
net.minecraft.class_7066
net.minecraft.unmapped.C_kmrsoqit
net.minecraft.command.argument.RegistryPredicateArgumentType
net.minecraft.command.argument.ResourceOrTagIdentifierArgument
net.minecraft.src.C_207048_
net.minecraft.commands.arguments.ResourceOrTagLocationArgument

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_37223
f_werdtzqm
EXAMPLES
EXAMPLES
f_210943_
final ResourceKey<? extends Registry<T>>
b
registryKey
field_37226
f_yvbcxcdx
registryRef
key
f_210946_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <T> ResourceOrTagLocationArgument<T>
a(aba<? extends hm<T>> arg0)
resourceOrTag(ResourceKey<? extends Registry<T>> arg0)
method_41170(class_5321<? extends class_2378<T>> arg0)
m_vqbwbzay(C_xhhleach<? extends C_tqxyjqsk<T>> arg0)
registryPredicate(RegistryKey<? extends Registry<T>> registryRef)
resourceOrTag(RegistryKey<? extends Registry<T>> key)
m_210968_(C_5264_<? extends C_4705_<T>> p_210969_)
public static <T> ResourceOrTagLocationArgument$Result<T>
a(com.mojang.brigadier.context.CommandContext<dr> arg0, String arg1, aba<hm<T>> arg2, com.mojang.brigadier.exceptions.DynamicCommandExceptionType arg3)
getRegistryType(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_hozojrrd(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)
getRegistryType(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argument, RegistryKey<Registry<T>> key, com.mojang.brigadier.exceptions.DynamicCommandExceptionType dynamicException)
m_210955_(com.mojang.brigadier.context.CommandContext<C_2969_> p_210956_, String p_210957_, C_5264_<C_4705_<T>> p_210958_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_210959_)
public ResourceOrTagLocationArgument$Result<T>
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_41164(com.mojang.brigadier.StringReader arg0)
m_roefpnxf(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
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_210978_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()