Package net.minecraft.data.loot
Class LootTableProvider
java.lang.Object
net.minecraft.data.loot.LootTableProvider
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
ForgeLootTableProvider
-
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 org.slf4j.Logger
private final PackOutput.PathProvider
private final Set<ResourceLocation>
private final List<LootTableProvider.SubProviderEntry>
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
ConstructorDescriptionLootTableProvider
(PackOutput p_254123_, Set<ResourceLocation> p_254481_, List<LootTableProvider.SubProviderEntry> p_253798_) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getName()
run
(CachedOutput p_254060_) protected void
validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationcontext)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
pathProvider
-
requiredTables
-
subProviders
-
-
Constructor Details
-
LootTableProvider
public LootTableProvider(PackOutput p_254123_, Set<ResourceLocation> p_254481_, List<LootTableProvider.SubProviderEntry> p_253798_)
-
-
Method Details
-
run
- Specified by:
run
in interfaceDataProvider
-
getTables
-
validate
-
getName
- Specified by:
getName
in interfaceDataProvider
-