Class DataGenerator.Pack

java.lang.Object
net.minecraft.data.DataGenerator.Pack
Enclosing class:
DataGenerator

public class DataGenerator.Pack extends Object
Mappings:
Namespace Name
official jg$a
intermediary net/minecraft/class_2403$class_7856
named net/minecraft/data/DataGenerator$Pack
  • Field Details

    • shouldRun

      private final boolean shouldRun
      Mappings:
      Namespace Name Mixin selector
      official b Ljg$a;b:Z
      intermediary field_40828 Lnet/minecraft/class_2403$class_7856;field_40828:Z
      named shouldRun Lnet/minecraft/data/DataGenerator$Pack;shouldRun:Z
    • packName

      private final String packName
      Mappings:
      Namespace Name Mixin selector
      official c Ljg$a;c:Ljava/lang/String;
      intermediary field_40829 Lnet/minecraft/class_2403$class_7856;field_40829:Ljava/lang/String;
      named packName Lnet/minecraft/data/DataGenerator$Pack;packName:Ljava/lang/String;
    • output

      private final DataOutput output
      Mappings:
      Namespace Name Mixin selector
      official d Ljg$a;d:Ljj;
      intermediary field_40830 Lnet/minecraft/class_2403$class_7856;field_40830:Lnet/minecraft/class_7784;
      named output Lnet/minecraft/data/DataGenerator$Pack;output:Lnet/minecraft/data/DataOutput;
  • Constructor Details

    • Pack

      Pack(boolean shouldRun, String name, DataOutput output)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljg$a;<init>(Ljg;ZLjava/lang/String;Ljj;)V
      intermediary <init> Lnet/minecraft/class_2403$class_7856;<init>(Lnet/minecraft/class_2403;ZLjava/lang/String;Lnet/minecraft/class_7784;)V
      named <init> Lnet/minecraft/data/DataGenerator$Pack;<init>(Lnet/minecraft/data/DataGenerator;ZLjava/lang/String;Lnet/minecraft/data/DataOutput;)V
  • Method Details

    • addProvider

      public <T extends DataProvider> T addProvider(DataProvider.Factory<T> factory)
      Mappings:
      Namespace Name Mixin selector
      official a Ljg$a;a(Ljh$a;)Ljh;
      intermediary method_46566 Lnet/minecraft/class_2403$class_7856;method_46566(Lnet/minecraft/class_2405$class_7857;)Lnet/minecraft/class_2405;
      named addProvider Lnet/minecraft/data/DataGenerator$Pack;addProvider(Lnet/minecraft/data/DataProvider$Factory;)Lnet/minecraft/data/DataProvider;