Package net.minecraft.data.loot
Class LootTableProvider
java.lang.Object
net.minecraft.data.loot.LootTableProvider
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
ForgeLootTableProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final DataGenerator.PathProvider
private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>>, LootContextParamSet>> Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
protected List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,
LootTable.Builder>>>, LootContextParamSet>> void
run
(CachedOutput p_236269_) protected void
validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationtracker)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
pathProvider
-
subProviders
private final List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>>, subProvidersLootContextParamSet>>
-
-
Constructor Details
-
LootTableProvider
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
-
getTables
protected List<com.mojang.datafixers.util.Pair<Supplier<Consumer<BiConsumer<ResourceLocation,LootTable.Builder>>>, getTables()LootContextParamSet>> -
validate
-
getName
- Specified by:
getName
in interfaceDataProvider
-