Package net.minecraft.data.server
Class LootTablesProvider
java.lang.Object
net.minecraft.data.server.LootTablesProvider
- All Implemented Interfaces:
DataProvider
public class LootTablesProvider extends Object implements DataProvider
- Mappings:
Namespace Name official im
intermediary net/minecraft/class_2438
named net/minecraft/data/server/LootTablesProvider
-
Field Summary
Fields Modifier and Type Field Description private static Gson
GSON
private static Logger
LOGGER
private List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<Identifier,LootTable.Builder>>>,LootContextType>>
lootTypeGenerators
private DataGenerator
root
Fields inherited from interface net.minecraft.data.DataProvider
SHA1
-
Constructor Summary
Constructors Constructor Description LootTablesProvider(DataGenerator root)
-
Method Summary
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Lim;b:Lorg/apache/logging/log4j/Logger;
intermediary field_11355
Lnet/minecraft/class_2438;field_11355:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/data/server/LootTablesProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official c
Lim;c:Lcom/google/gson/Gson;
intermediary field_11356
Lnet/minecraft/class_2438;field_11356:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/data/server/LootTablesProvider;GSON:Lcom/google/gson/Gson;
-
root
- Mappings:
Namespace Name Mixin selector official d
Lim;d:Lhs;
intermediary field_11353
Lnet/minecraft/class_2438;field_11353:Lnet/minecraft/class_2403;
named root
Lnet/minecraft/data/server/LootTablesProvider;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
Lim;e:Ljava/util/List;
intermediary field_11354
Lnet/minecraft/class_2438;field_11354:Ljava/util/List;
named lootTypeGenerators
Lnet/minecraft/data/server/LootTablesProvider;lootTypeGenerators:Ljava/util/List;
-
-
Constructor Details
-
LootTablesProvider
- Mappings:
Namespace Name Mixin selector official <init>
Lim;<init>(Lhs;)V
intermediary <init>
Lnet/minecraft/class_2438;<init>(Lnet/minecraft/class_2403;)V
named <init>
Lnet/minecraft/data/server/LootTablesProvider;<init>(Lnet/minecraft/data/DataGenerator;)V
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lht;a(Lhu;)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
- Mappings:
Namespace Name Mixin selector official a
Lim;a(Ljava/nio/file/Path;Lwb;)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/LootTablesProvider;getOutput(Ljava/nio/file/Path;Lnet/minecraft/util/Identifier;)Ljava/nio/file/Path;
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Lht;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;
-