Package net.minecraft

Class class_7918

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

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

    • field_41088

      private static final Collection<String> field_41088
      Mappings:
      Namespace Name Mixin selector
      official a Ldz;a:Ljava/util/Collection;
      intermediary field_41088 Lnet/minecraft/class_7918;field_41088:Ljava/util/Collection;
      named field_41088 Lnet/minecraft/class_7918;field_41088:Ljava/util/Collection;
    • field_41089

      private static final GameMode[] field_41089
      Mappings:
      Namespace Name Mixin selector
      official b Ldz;b:[Lcjj;
      intermediary field_41089 Lnet/minecraft/class_7918;field_41089:[Lnet/minecraft/class_1934;
      named field_41089 Lnet/minecraft/class_7918;field_41089:[Lnet/minecraft/world/GameMode;
    • field_41090

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_41090
      Mappings:
      Namespace Name Mixin selector
      official c Ldz;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_41090 Lnet/minecraft/class_7918;field_41090:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_41090 Lnet/minecraft/class_7918;field_41090:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
  • Constructor Details

    • class_7918

      public class_7918()
  • Method Details

    • 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;)Lcjj;
      intermediary method_47384 Lnet/minecraft/class_7918;method_47384(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_1934;
      named parse Lnet/minecraft/class_7918;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>
    • method_47383

      public static class_7918 method_47383()
      Mappings:
      Namespace Name Mixin selector
      official a Ldz;a()Ldz;
      intermediary method_47383 Lnet/minecraft/class_7918;method_47383()Lnet/minecraft/class_7918;
      named method_47383 Lnet/minecraft/class_7918;method_47383()Lnet/minecraft/class_7918;
    • method_47385

      public static GameMode method_47385(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ldz;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lcjj;
      intermediary method_47385 Lnet/minecraft/class_7918;method_47385(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_1934;
      named method_47385 Lnet/minecraft/class_7918;method_47385(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/world/GameMode;