Package net.minecraft.data
Class LootTableProvider
java.lang.Object
net.minecraft.data.LootTableProvider
- All Implemented Interfaces:
IDataProvider
- Direct Known Subclasses:
ForgeLootTableProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DataGenerator
private static final com.google.gson.Gson
private static final org.apache.logging.log4j.Logger
private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>>, LootParameterSet>> Fields inherited from interface net.minecraft.data.IDataProvider
SHA1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static Path
createPath
(Path p_218439_0_, ResourceLocation p_218439_1_) getName()
protected List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>>, LootParameterSet>> void
run
(DirectoryCache p_200398_1_) protected void
validate
(Map<ResourceLocation, LootTable> map, ValidationTracker validationtracker)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
generator
-
subProviders
private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>>, subProvidersLootParameterSet>>
-
-
Constructor Details
-
LootTableProvider
-
-
Method Details
-
run
- Specified by:
run
in interfaceIDataProvider
-
getTables
protected List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>>, getTables()LootParameterSet>> -
validate
-
createPath
-
getName
- Specified by:
getName
in interfaceIDataProvider
-