Class CommandSyntaxProvider

java.lang.Object
net.minecraft.data.report.CommandSyntaxProvider
All Implemented Interfaces:
DataProvider

public class CommandSyntaxProvider extends Object implements DataProvider
Mappings:
Namespace Name
official iq
intermediary net/minecraft/class_2425
named net/minecraft/data/report/CommandSyntaxProvider
  • Field Details

    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official b Liq;b:Lcom/google/gson/Gson;
      intermediary field_17169 Lnet/minecraft/class_2425;field_17169:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/data/report/CommandSyntaxProvider;GSON:Lcom/google/gson/Gson;
    • generator

      private final DataGenerator generator
      Mappings:
      Namespace Name Mixin selector
      official c Liq;c:Lie;
      intermediary field_11321 Lnet/minecraft/class_2425;field_11321:Lnet/minecraft/class_2403;
      named generator Lnet/minecraft/data/report/CommandSyntaxProvider;generator:Lnet/minecraft/data/DataGenerator;
  • Constructor Details

    • CommandSyntaxProvider

      public CommandSyntaxProvider(DataGenerator generator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Liq;<init>(Lie;)V
      intermediary <init> Lnet/minecraft/class_2425;<init>(Lnet/minecraft/class_2403;)V
      named <init> Lnet/minecraft/data/report/CommandSyntaxProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
  • Method Details

    • run

      public void run(DataCache cache) throws IOException
      Specified by:
      run in interface DataProvider
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lig;a(Lih;)V
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_2408;)V
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataCache;)V
    • getName

      public String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lig;a()Ljava/lang/String;
      intermediary method_10321 Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
      named getName Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;