Package net.minecraft.command.argument
Class ParticleEffectArgumentType
java.lang.Object
net.minecraft.command.argument.ParticleEffectArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<ParticleEffect>
public class ParticleEffectArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<ParticleEffect>
- Mappings:
Namespace Name named net/minecraft/command/argument/ParticleEffectArgumentType
intermediary net/minecraft/class_2223
official ft
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection
<String> static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private final RegistryWrapper.WrapperLookup
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParticleEffect
getParticle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) private static ParticleType
<?> getType
(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper) <S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> listSuggestions
(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse
(com.mojang.brigadier.StringReader stringReader) static ParticleEffectArgumentType
particleEffect
(CommandRegistryAccess registryAccess) private static <T extends ParticleEffect>
TreadParameters
(com.mojang.brigadier.StringReader reader, ParticleType<T> type, RegistryWrapper.WrapperLookup registries) static ParticleEffect
readParameters
(com.mojang.brigadier.StringReader reader, RegistryWrapper.WrapperLookup registries) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
parse
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/ParticleEffectArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_9935
Lnet/minecraft/class_2223;field_9935:Ljava/util/Collection;
official c
Lft;c:Ljava/util/Collection;
-
UNKNOWN_PARTICLE_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_PARTICLE_EXCEPTION- Mappings:
Namespace Name Mixin selector named UNKNOWN_PARTICLE_EXCEPTION
Lnet/minecraft/command/argument/ParticleEffectArgumentType;UNKNOWN_PARTICLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_9936
Lnet/minecraft/class_2223;field_9936:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official a
Lft;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
INVALID_OPTIONS_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_OPTIONS_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_OPTIONS_EXCEPTION
Lnet/minecraft/command/argument/ParticleEffectArgumentType;INVALID_OPTIONS_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_51438
Lnet/minecraft/class_2223;field_51438:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official b
Lft;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
registries
- Mappings:
Namespace Name Mixin selector named registries
Lnet/minecraft/command/argument/ParticleEffectArgumentType;registries:Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;
intermediary field_48929
Lnet/minecraft/class_2223;field_48929:Lnet/minecraft/class_7225$class_7874;
official d
Lft;d:Ljs$a;
-
-
Constructor Details
-
ParticleEffectArgumentType
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/argument/ParticleEffectArgumentType;<init>(Lnet/minecraft/command/CommandRegistryAccess;)V
intermediary <init>
Lnet/minecraft/class_2223;<init>(Lnet/minecraft/class_7157;)V
official <init>
Lft;<init>(Les;)V
-
-
Method Details
-
particleEffect
- Mappings:
Namespace Name Mixin selector named particleEffect
Lnet/minecraft/command/argument/ParticleEffectArgumentType;particleEffect(Lnet/minecraft/command/CommandRegistryAccess;)Lnet/minecraft/command/argument/ParticleEffectArgumentType;
intermediary method_9417
Lnet/minecraft/class_2223;method_9417(Lnet/minecraft/class_7157;)Lnet/minecraft/class_2223;
official a
Lft;a(Les;)Lft;
-
getParticle
public static ParticleEffect getParticle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getParticle
Lnet/minecraft/command/argument/ParticleEffectArgumentType;getParticle(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/particle/ParticleEffect;
intermediary method_9421
Lnet/minecraft/class_2223;method_9421(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2394;
official a
Lft;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Llq;
-
parse
public ParticleEffect parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<ParticleEffect>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/ParticleEffectArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/particle/ParticleEffect;
intermediary method_9416
Lnet/minecraft/class_2223;method_9416(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2394;
official a
Lft;a(Lcom/mojang/brigadier/StringReader;)Llq;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<ParticleEffect>
-
readParameters
public static ParticleEffect readParameters(com.mojang.brigadier.StringReader reader, RegistryWrapper.WrapperLookup registries) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named readParameters
Lnet/minecraft/command/argument/ParticleEffectArgumentType;readParameters(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/particle/ParticleEffect;
intermediary method_9418
Lnet/minecraft/class_2223;method_9418(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2394;
official a
Lft;a(Lcom/mojang/brigadier/StringReader;Ljs$a;)Llq;
-
getType
private static ParticleType<?> getType(com.mojang.brigadier.StringReader reader, RegistryWrapper<ParticleType<?>> registryWrapper) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/command/argument/ParticleEffectArgumentType;getType(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/registry/RegistryWrapper;)Lnet/minecraft/particle/ParticleType;
intermediary method_45583
Lnet/minecraft/class_2223;method_45583(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/class_7225;)Lnet/minecraft/class_2396;
official a
Lft;a(Lcom/mojang/brigadier/StringReader;Ljs;)Llr;
-
readParameters
private static <T extends ParticleEffect> T readParameters(com.mojang.brigadier.StringReader reader, ParticleType<T> type, RegistryWrapper.WrapperLookup registries) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named readParameters
Lnet/minecraft/command/argument/ParticleEffectArgumentType;readParameters(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/particle/ParticleType;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/particle/ParticleEffect;
intermediary method_9420
Lnet/minecraft/class_2223;method_9420(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/class_2396;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2394;
official a
Lft;a(Lcom/mojang/brigadier/StringReader;Llr;Ljs$a;)Llq;
-
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<ParticleEffect>
- Mappings:
Namespace Name Mixin selector named listSuggestions
Lnet/minecraft/command/argument/ParticleEffectArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_2223;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
official listSuggestions
Lft;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-