net.minecraft.commands.arguments

public class ParticleArgument

implements com.mojang.brigadier.arguments.ArgumentType<ParticleOptions>

ft
net.minecraft.commands.arguments.ParticleArgument
net.minecraft.class_2223
net.minecraft.command.argument.ParticleEffectArgumentType
net.minecraft.commands.arguments.ArgumentParticle

Field summary

Modifier and TypeField
private static final Collection<String>
c
EXAMPLES
field_9935
EXAMPLES
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_UNKNOWN_PARTICLE
field_9936
UNKNOWN_PARTICLE_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_INVALID_OPTIONS
field_51438
INVALID_OPTIONS_EXCEPTION
private final HolderLookup$Provider
d
registries
field_48929
registries

Constructor summary

ModifierConstructor
public (CommandBuildContext registryAccess)

Method summary

Modifier and TypeMethod
public static ParticleArgument
a(es arg0)
particle(CommandBuildContext arg0)
method_9417(class_7157 arg0)
particleEffect(CommandRegistryAccess registryAccess)
public static ParticleOptions
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getParticle(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9421(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getParticle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public ParticleOptions
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9416(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public Collection<String>
getExamples()
getExamples()
public static ParticleOptions
a(com.mojang.brigadier.StringReader arg0, js$a arg1)
readParticle(com.mojang.brigadier.StringReader arg0, HolderLookup$Provider arg1)
method_9418(com.mojang.brigadier.StringReader arg0, class_7225$class_7874 arg1)
readParameters(com.mojang.brigadier.StringReader reader, RegistryWrapper$WrapperLookup registries)
private static ParticleType<?>
a(com.mojang.brigadier.StringReader arg0, js<lr<?>> arg1)
readParticleType(com.mojang.brigadier.StringReader arg0, HolderLookup<ParticleType<?>> arg1)
method_45583(com.mojang.brigadier.StringReader arg0, class_7225<class_2396<?>> arg1)
getType(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper)
private static <T extends ParticleOptions> T
a(com.mojang.brigadier.StringReader arg0, lr<T> arg1, js$a arg2)
readParticle(com.mojang.brigadier.StringReader arg0, ParticleType<T> arg1, HolderLookup$Provider arg2)
method_9420(com.mojang.brigadier.StringReader arg0, class_2396<T> arg1, class_7225$class_7874 arg2)
readParameters(com.mojang.brigadier.StringReader reader, ParticleType<T> type, RegistryWrapper$WrapperLookup registries)
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)