Class LootTableProvider
java.lang.Object
net.minecraft.data.loot.LootTableProvider
- All Implemented Interfaces:
SingleRegistryBootstrap<LootTable>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<ResourceKey<LootTable>> private final List<LootTableProvider.SubProviderEntry> -
Constructor Summary
ConstructorsConstructorDescriptionLootTableProvider(Set<ResourceKey<LootTable>> requiredTables, List<LootTableProvider.SubProviderEntry> subProviders) -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(BootstrapContext<LootTable> context) private static Identifier
-
Field Details
-
requiredTables
-
subProviders
-
-
Constructor Details
-
LootTableProvider
public LootTableProvider(Set<ResourceKey<LootTable>> requiredTables, List<LootTableProvider.SubProviderEntry> subProviders)
-
-
Method Details
-
run
- Specified by:
runin interfaceSingleRegistryBootstrap<LootTable>
-
sequenceIdForLootTable
-