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 jt
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 c Ljt;c: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;
    • pathResolver

      private final DataGenerator.PathResolver pathResolver
      Mappings:
      Namespace Name Mixin selector
      official d Ljt;d:Liy$a;
      intermediary field_39374 Lnet/minecraft/class_2438;field_39374:Lnet/minecraft/class_2403$class_7489;
      named pathResolver Lnet/minecraft/data/server/LootTableProvider;pathResolver:Lnet/minecraft/data/DataGenerator$PathResolver;
    • lootTypeGenerators

      private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<Identifier,LootTable.Builder>>>,LootContextType>> lootTypeGenerators
      Mappings:
      Namespace Name Mixin selector
      official e Ljt;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> Ljt;<init>(Liy;)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(DataWriter writer)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Liz;a(Lix;)V
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)V
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)V
    • getName

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