Uses of Class
net.minecraft.world.level.storage.loot.LootTable
Package
Description
Classes for NeoForge's own data generation.
-
Uses of LootTable in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprotected void
LootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationcontext) -
Uses of LootTable in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LootTable>
LootTable.CODEC
static final LootDataId<LootTable>
LootDataManager.EMPTY_LOOT_TABLE_KEY
static final LootDataType<LootTable>
LootDataType.TABLE
Modifier and TypeMethodDescriptionLootTable.Builder.build()
default LootTable
LootDataResolver.getLootTable
(ResourceLocation p_279456_) Modifier and TypeMethodDescriptionprivate static LootDataType.Validator<LootTable>
LootDataType.createLootTableValidator()
static LootContext.VisitedEntry<LootTable>
LootContext.createVisitedEntry
(LootTable p_279327_) Modifier and TypeMethodDescriptionstatic LootContext.VisitedEntry<LootTable>
LootContext.createVisitedEntry
(LootTable p_279327_) -
Uses of LootTable in net.neoforged.neoforge.common
Modifier and TypeMethodDescriptionstatic LootTable
CommonHooks.loadLootTable
(com.google.gson.Gson gson, ResourceLocation name, com.google.gson.JsonElement data, boolean custom) Modifier and TypeMethodDescriptionstatic org.apache.commons.lang3.function.TriFunction<ResourceLocation,
com.google.gson.JsonElement, ResourceManager, Optional<LootTable>> CommonHooks.getLootTableDeserializer
(com.google.gson.Gson gson, String directory) -
Uses of LootTable in net.neoforged.neoforge.common.data.internal
Modifier and TypeMethodDescriptionprotected void
NeoForgeLootTableProvider.validate
(Map<ResourceLocation, LootTable> map, ValidationContext validationcontext) -
Uses of LootTable in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionLootTableLoadEvent.getTable()
static LootTable
EventHooks.loadLootTable
(ResourceLocation name, LootTable table) Modifier and TypeMethodDescriptionstatic LootTable
EventHooks.loadLootTable
(ResourceLocation name, LootTable table) void