Package net.minecraft

Class class_4078

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

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

    • field_19811

      private static final Collection<String> field_19811
      Mappings:
      Namespace Name Mixin selector
      official b Lce;b:Ljava/util/Collection;
      intermediary field_19811 Lnet/minecraft/class_4078;field_19811:Ljava/util/Collection;
      named field_19811 Lnet/minecraft/class_4078;field_19811:Ljava/util/Collection;
    • field_19810

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

    • class_4078

      public class_4078()
  • Method Details

    • method_17997

      public static class_4078 method_17997()
      Mappings:
      Namespace Name Mixin selector
      official a Lce;a()Lce;
      intermediary method_17997 Lnet/minecraft/class_4078;method_17997()Lnet/minecraft/class_4078;
      named method_17997 Lnet/minecraft/class_4078;method_17997()Lnet/minecraft/class_4078;
    • method_17999

      public static Enchantment method_17999(com.mojang.brigadier.context.CommandContext<class_3915> commandContext, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lce;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lawe;
      intermediary method_17999 Lnet/minecraft/class_4078;method_17999(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_1127;
      named method_17999 Lnet/minecraft/class_4078;method_17999(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/enchantment/Enchantment;
    • parse

      public Enchantment parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<Enchantment>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lce;a(Lcom/mojang/brigadier/StringReader;)Lawe;
      intermediary method_17998 Lnet/minecraft/class_4078;method_17998(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_1127;
      named parse Lnet/minecraft/class_4078;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/enchantment/Enchantment;
    • 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<Enchantment>
      Mappings:
      Namespace Name Mixin selector
      official listSuggestions Lce;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      intermediary listSuggestions Lnet/minecraft/class_4078;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      named listSuggestions Lnet/minecraft/class_4078;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<Enchantment>
      Mappings:
      Namespace Name Mixin selector
      official getExamples Lce;getExamples()Ljava/util/Collection;
      intermediary getExamples Lnet/minecraft/class_4078;getExamples()Ljava/util/Collection;
      named getExamples Lnet/minecraft/class_4078;getExamples()Ljava/util/Collection;