Class DataGenerator.Pack

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

public class DataGenerator.Pack extends Object
Mappings:
Namespace Name
official jh$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 Ljh$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 Ljh$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 Ljh$a;d:Ljk;
      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> Ljh$a;<init>(Ljh;ZLjava/lang/String;Ljk;)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 Ljh$a;a(Lji$a;)Lji;
      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;