Class LootTableProvider
java.lang.Object
net.minecraft.data.server.loottable.LootTableProvider
- All Implemented Interfaces:
DataProvider
- Mappings:
Namespace Name named net/minecraft/data/server/loottable/LootTableProvider
intermediary net/minecraft/class_2438
official mv
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private final Set
<RegistryKey<LootTable>> private final List
<LootTableProvider.LootTypeGenerator> private final DataOutput.PathResolver
private final CompletableFuture
<RegistryWrapper.WrapperLookup> Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
ConstructorDescriptionLootTableProvider
(DataOutput output, Set<RegistryKey<LootTable>> lootTableIds, List<LootTableProvider.LootTypeGenerator> lootTypeGenerators, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Identifier
getId
(RegistryKey<LootTable> lootTableKey) final String
getName()
run
(DataWriter writer) private CompletableFuture
<?> run
(DataWriter writer, RegistryWrapper.WrapperLookup registryLookup)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/data/server/loottable/LootTableProvider;LOGGER:Lorg/slf4j/Logger;
intermediary field_11355
Lnet/minecraft/class_2438;field_11355:Lorg/slf4j/Logger;
official d
Lmv;d:Lorg/slf4j/Logger;
-
pathResolver
- Mappings:
Namespace Name Mixin selector named pathResolver
Lnet/minecraft/data/server/loottable/LootTableProvider;pathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
intermediary field_39374
Lnet/minecraft/class_2438;field_39374:Lnet/minecraft/class_7784$class_7489;
official e
Lmv;e:Lmc$a;
-
lootTableIds
- Mappings:
Namespace Name Mixin selector named lootTableIds
Lnet/minecraft/data/server/loottable/LootTableProvider;lootTableIds:Ljava/util/Set;
intermediary field_40617
Lnet/minecraft/class_2438;field_40617:Ljava/util/Set;
official f
Lmv;f:Ljava/util/Set;
-
lootTypeGenerators
- Mappings:
Namespace Name Mixin selector named lootTypeGenerators
Lnet/minecraft/data/server/loottable/LootTableProvider;lootTypeGenerators:Ljava/util/List;
intermediary field_11354
Lnet/minecraft/class_2438;field_11354:Ljava/util/List;
official g
Lmv;g:Ljava/util/List;
-
registryLookupFuture
- Mappings:
Namespace Name Mixin selector named registryLookupFuture
Lnet/minecraft/data/server/loottable/LootTableProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
intermediary field_48978
Lnet/minecraft/class_2438;field_48978:Ljava/util/concurrent/CompletableFuture;
official h
Lmv;h:Ljava/util/concurrent/CompletableFuture;
-
-
Constructor Details
-
LootTableProvider
public LootTableProvider(DataOutput output, Set<RegistryKey<LootTable>> lootTableIds, List<LootTableProvider.LootTypeGenerator> lootTypeGenerators, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/data/server/loottable/LootTableProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/Set;Ljava/util/List;Ljava/util/concurrent/CompletableFuture;)V
intermediary <init>
Lnet/minecraft/class_2438;<init>(Lnet/minecraft/class_7784;Ljava/util/Set;Ljava/util/List;Ljava/util/concurrent/CompletableFuture;)V
official <init>
Lmv;<init>(Lmc;Ljava/util/Set;Ljava/util/List;Ljava/util/concurrent/CompletableFuture;)V
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
official a
Lma;a(Lly;)Ljava/util/concurrent/CompletableFuture;
-
run
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/data/server/loottable/LootTableProvider;run(Lnet/minecraft/data/DataWriter;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Ljava/util/concurrent/CompletableFuture;
intermediary method_56883
Lnet/minecraft/class_2438;method_56883(Lnet/minecraft/class_7403;Lnet/minecraft/class_7225$class_7874;)Ljava/util/concurrent/CompletableFuture;
official a
Lmv;a(Lly;Ljo$a;)Ljava/util/concurrent/CompletableFuture;
-
getId
- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/data/server/loottable/LootTableProvider;getId(Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/util/Identifier;
intermediary method_58574
Lnet/minecraft/class_2438;method_58574(Lnet/minecraft/class_5321;)Lnet/minecraft/class_2960;
official a
Lmv;a(Lakp;)Lakq;
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
intermediary method_10321
Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
official a
Lma;a()Ljava/lang/String;
-