Class DataGenerator.Pack

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

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

    • shouldRun

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

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

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

    • Pack

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

    • addProvider

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