Class LootTableProvider

java.lang.Object
net.minecraft.data.server.LootTableProvider
All Implemented Interfaces:
DataProvider

public class LootTableProvider extends Object implements DataProvider
Mappings:
Namespace Name
official je
intermediary net/minecraft/class_2438
named net/minecraft/data/server/LootTableProvider
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lje;b:Lorg/slf4j/Logger;
      intermediary field_11355 Lnet/minecraft/class_2438;field_11355:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/data/server/LootTableProvider;LOGGER:Lorg/slf4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official c Lje;c:Lcom/google/gson/Gson;
      intermediary field_11356 Lnet/minecraft/class_2438;field_11356:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/data/server/LootTableProvider;GSON:Lcom/google/gson/Gson;
    • root

      private final DataGenerator root
      Mappings:
      Namespace Name Mixin selector
      official d Lje;d:Lik;
      intermediary field_11353 Lnet/minecraft/class_2438;field_11353:Lnet/minecraft/class_2403;
      named root Lnet/minecraft/data/server/LootTableProvider;root:Lnet/minecraft/data/DataGenerator;
    • lootTypeGenerators

      private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<Identifier,LootTable.Builder>>>,LootContextType>> lootTypeGenerators
      Mappings:
      Namespace Name Mixin selector
      official e Lje;e:Ljava/util/List;
      intermediary field_11354 Lnet/minecraft/class_2438;field_11354:Ljava/util/List;
      named lootTypeGenerators Lnet/minecraft/data/server/LootTableProvider;lootTypeGenerators:Ljava/util/List;
  • Constructor Details

    • LootTableProvider

      public LootTableProvider(DataGenerator root)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lje;<init>(Lik;)V
      intermediary <init> Lnet/minecraft/class_2438;<init>(Lnet/minecraft/class_2403;)V
      named <init> Lnet/minecraft/data/server/LootTableProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
  • Method Details

    • run

      public void run(DataCache cache)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lil;a(Lim;)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
    • getOutput

      private static Path getOutput(Path rootOutput, Identifier lootTableId)
      Mappings:
      Namespace Name Mixin selector
      official a Lje;a(Ljava/nio/file/Path;Lyt;)Ljava/nio/file/Path;
      intermediary method_10409 Lnet/minecraft/class_2438;method_10409(Ljava/nio/file/Path;Lnet/minecraft/class_2960;)Ljava/nio/file/Path;
      named getOutput Lnet/minecraft/data/server/LootTableProvider;getOutput(Ljava/nio/file/Path;Lnet/minecraft/util/Identifier;)Ljava/nio/file/Path;
    • getName

      public String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lil;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;