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.command.argument.RegistryPredicateArgumentType
net.minecraft.src.C_207048_
net.minecraft.commands.arguments.ResourceOrTagLocationArgument

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_37223
EXAMPLES
f_210943_
final ResourceKey<? extends Registry<T>>
b
registryKey
field_37226
registryRef
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)
registryPredicate(RegistryKey<? extends Registry<T>> registryRef)
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)
getPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException)
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)
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()