类 StatusEffectArgumentType

  • 所有已实现的接口:
    com.mojang.brigadier.arguments.ArgumentType<StatusEffect>

    public class StatusEffectArgumentType
    extends Object
    implements com.mojang.brigadier.arguments.ArgumentType<StatusEffect>
    Mappings:
    Namespace Name
    official dv
    intermediary net/minecraft/class_2201
    named net/minecraft/command/argument/StatusEffectArgumentType
    • 字段详细资料

      • EXAMPLES

        private static final Collection<String> EXAMPLES
        Mappings:
        Namespace Name Mixin selector
        official b Ldv;b:Ljava/util/Collection;
        intermediary field_9895 Lnet/minecraft/class_2201;field_9895:Ljava/util/Collection;
        named EXAMPLES Lnet/minecraft/command/argument/StatusEffectArgumentType;EXAMPLES:Ljava/util/Collection;
      • INVALID_EFFECT_EXCEPTION

        public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_EFFECT_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Ldv;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        intermediary field_9896 Lnet/minecraft/class_2201;field_9896:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        named INVALID_EFFECT_EXCEPTION Lnet/minecraft/command/argument/StatusEffectArgumentType;INVALID_EFFECT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • 构造器详细资料

      • StatusEffectArgumentType

        public StatusEffectArgumentType()
    • 方法详细资料

      • statusEffect

        public static StatusEffectArgumentType statusEffect()
        Mappings:
        Namespace Name Mixin selector
        official a Ldv;a()Ldv;
        intermediary method_9350 Lnet/minecraft/class_2201;method_9350()Lnet/minecraft/class_2201;
        named statusEffect Lnet/minecraft/command/argument/StatusEffectArgumentType;statusEffect()Lnet/minecraft/command/argument/StatusEffectArgumentType;
      • getStatusEffect

        public static StatusEffect getStatusEffect​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext,
                                                   String string)
        Mappings:
        Namespace Name Mixin selector
        official a Ldv;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lasd;
        intermediary method_9347 Lnet/minecraft/class_2201;method_9347(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_1291;
        named getStatusEffect Lnet/minecraft/command/argument/StatusEffectArgumentType;getStatusEffect(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/entity/effect/StatusEffect;
      • parse

        public StatusEffect parse​(com.mojang.brigadier.StringReader stringReader)
                           throws com.mojang.brigadier.exceptions.CommandSyntaxException
        指定者:
        parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<StatusEffect>
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Ldv;a(Lcom/mojang/brigadier/StringReader;)Lasd;
        intermediary method_9348 Lnet/minecraft/class_2201;method_9348(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_1291;
        named parse Lnet/minecraft/command/argument/StatusEffectArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/entity/effect/StatusEffect;
      • listSuggestions

        public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions​(com.mojang.brigadier.context.CommandContext<S> context,
                                                                                                  com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
        指定者:
        listSuggestions 在接口中 com.mojang.brigadier.arguments.ArgumentType<StatusEffect>
        Mappings:
        Namespace Name Mixin selector
        official listSuggestions Ldv;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        intermediary listSuggestions Lnet/minecraft/class_2201;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        named listSuggestions Lnet/minecraft/command/argument/StatusEffectArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      • getExamples

        public Collection<String> getExamples()
        指定者:
        getExamples 在接口中 com.mojang.brigadier.arguments.ArgumentType<StatusEffect>
        Mappings:
        Namespace Name Mixin selector
        official getExamples Ldv;getExamples()Ljava/util/Collection;
        intermediary getExamples Lnet/minecraft/class_2201;getExamples()Ljava/util/Collection;
        named getExamples Lnet/minecraft/command/argument/StatusEffectArgumentType;getExamples()Ljava/util/Collection;