Package net.minecraft

Class class_7485<T extends Enum<T> & StringIdentifiable>

java.lang.Object
net.minecraft.class_7485<T>
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<T>
Direct Known Subclasses:
class_7486, class_7487

public class class_7485<T extends Enum<T> & StringIdentifiable> extends Object implements com.mojang.brigadier.arguments.ArgumentType<T>
Mappings:
Namespace Name
official ev
intermediary net/minecraft/class_7485
named net/minecraft/class_7485
  • Field Details

    • field_39361

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_39361
      Mappings:
      Namespace Name Mixin selector
      official a Lev;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_39361 Lnet/minecraft/class_7485;field_39361:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named field_39361 Lnet/minecraft/class_7485;field_39361:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • field_39362

      private final com.mojang.serialization.Codec<T extends Enum<T> & StringIdentifiable> field_39362
      Mappings:
      Namespace Name Mixin selector
      official b Lev;b:Lcom/mojang/serialization/Codec;
      intermediary field_39362 Lnet/minecraft/class_7485;field_39362:Lcom/mojang/serialization/Codec;
      named field_39362 Lnet/minecraft/class_7485;field_39362:Lcom/mojang/serialization/Codec;
    • field_39363

      private final Supplier<T extends Enum<T> & StringIdentifiable[]> field_39363
      Mappings:
      Namespace Name Mixin selector
      official c Lev;c:Ljava/util/function/Supplier;
      intermediary field_39363 Lnet/minecraft/class_7485;field_39363:Ljava/util/function/Supplier;
      named field_39363 Lnet/minecraft/class_7485;field_39363:Ljava/util/function/Supplier;
  • Constructor Details

    • class_7485

      protected class_7485(com.mojang.serialization.Codec<T> codec, Supplier<T[]> supplier)
  • Method Details

    • parse

      public T parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<T extends Enum<T> & StringIdentifiable>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lev;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Enum;
      intermediary method_44091 Lnet/minecraft/class_7485;method_44091(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Enum;
      named parse Lnet/minecraft/class_7485;parse(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Enum;
    • 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<T extends Enum<T> & StringIdentifiable>
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<T extends Enum<T> & StringIdentifiable>