Class LootTableProvider

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Lkc;d:Lorg/slf4j/Logger;
      intermediary field_11355 Lnet/minecraft/class_2438;field_11355:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/data/server/loottable/LootTableProvider;LOGGER:Lorg/slf4j/Logger;
    • pathResolver

      private final DataOutput.PathResolver pathResolver
      Mappings:
      Namespace Name Mixin selector
      official e Lkc;e:Ljk$a;
      intermediary field_39374 Lnet/minecraft/class_2438;field_39374:Lnet/minecraft/class_7784$class_7489;
      named pathResolver Lnet/minecraft/data/server/loottable/LootTableProvider;pathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
    • lootTableIds

      private final Set<Identifier> lootTableIds
      Mappings:
      Namespace Name Mixin selector
      official f Lkc;f:Ljava/util/Set;
      intermediary field_40617 Lnet/minecraft/class_2438;field_40617:Ljava/util/Set;
      named lootTableIds Lnet/minecraft/data/server/loottable/LootTableProvider;lootTableIds:Ljava/util/Set;
    • lootTypeGenerators

      private final List<LootTableProvider.LootTypeGenerator> lootTypeGenerators
      Mappings:
      Namespace Name Mixin selector
      official g Lkc;g:Ljava/util/List;
      intermediary field_11354 Lnet/minecraft/class_2438;field_11354:Ljava/util/List;
      named lootTypeGenerators Lnet/minecraft/data/server/loottable/LootTableProvider;lootTypeGenerators:Ljava/util/List;
  • Constructor Details

    • LootTableProvider

      public LootTableProvider(DataOutput output, Set<Identifier> lootTableIds, List<LootTableProvider.LootTypeGenerator> lootTypeGenerators)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkc;<init>(Ljk;Ljava/util/Set;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_2438;<init>(Lnet/minecraft/class_7784;Ljava/util/Set;Ljava/util/List;)V
      named <init> Lnet/minecraft/data/server/loottable/LootTableProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/Set;Ljava/util/List;)V
  • Method Details

    • run

      public CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lji;a(Ljg;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
    • getName

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