Package net.minecraft

Class class_7339

java.lang.Object
net.minecraft.class_7339
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<GameMode>

public class class_7339 extends Object implements com.mojang.brigadier.arguments.ArgumentType<GameMode>
Mappings:
Namespace Name
official dz
intermediary net/minecraft/class_7339
named net/minecraft/class_7339
  • Field Details

    • field_38618

      private static final Collection<String> field_38618
      Mappings:
      Namespace Name Mixin selector
      official b Ldz;b:Ljava/util/Collection;
      intermediary field_38618 Lnet/minecraft/class_7339;field_38618:Ljava/util/Collection;
      named field_38618 Lnet/minecraft/class_7339;field_38618:Ljava/util/Collection;
    • field_38617

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_38617
      Mappings:
      Namespace Name Mixin selector
      official a Ldz;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_38617 Lnet/minecraft/class_7339;field_38617:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_38617 Lnet/minecraft/class_7339;field_38617:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
  • Constructor Details

    • class_7339

      public class_7339()
  • Method Details

    • method_42960

      public static class_7339 method_42960()
      Mappings:
      Namespace Name Mixin selector
      official a Ldz;a()Ldz;
      intermediary method_42960 Lnet/minecraft/class_7339;method_42960()Lnet/minecraft/class_7339;
      named method_42960 Lnet/minecraft/class_7339;method_42960()Lnet/minecraft/class_7339;
    • method_42962

      public static GameMode method_42962(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Ldz;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcav;
      intermediary method_42962 Lnet/minecraft/class_7339;method_42962(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_1934;
      named method_42962 Lnet/minecraft/class_7339;method_42962(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/GameMode;
    • parse

      public GameMode parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<GameMode>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ldz;a(Lcom/mojang/brigadier/StringReader;)Lcav;
      intermediary method_42961 Lnet/minecraft/class_7339;method_42961(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_1934;
      named parse Lnet/minecraft/class_7339;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/world/GameMode;
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<GameMode>
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<GameMode>