Uses of Class
net.minecraft.world.level.storage.loot.LootTable
Package
Description
-
Uses of LootTable in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprotected void
LootTableProvider.validate(Map<ResourceLocation,LootTable> map, ValidationContext validationtracker)
-
Uses of LootTable in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate Function<ResourceLocation,LootTable>
LootContext.lootTables
private Function<ResourceLocation,LootTable>
ValidationContext.tableResolver
private Map<ResourceLocation,LootTable>
LootTables.tables
LootContext.visitedTables
Modifier and TypeMethodDescriptionLootTable.Builder.build()
LootTable.Serializer.deserialize(com.google.gson.JsonElement p_79173_, Type p_79174_, com.google.gson.JsonDeserializationContext p_79175_)
LootTables.get(ResourceLocation p_79218_)
LootContext.getLootTable(ResourceLocation p_78941_)
ValidationContext.resolveLootTable(ResourceLocation p_79376_)
Modifier and TypeMethodDescriptionboolean
LootContext.addVisitedTable(LootTable p_78935_)
void
LootContext.removeVisitedTable(LootTable p_78947_)
com.google.gson.JsonElement
LootTable.Serializer.serialize(LootTable p_79177_, Type p_79178_, com.google.gson.JsonSerializationContext p_79179_)
static com.google.gson.JsonElement
static void
LootTables.validate(ValidationContext p_79203_, ResourceLocation p_79204_, LootTable p_79205_)
ModifierConstructorDescription(package private)
LootContext(Random p_78917_, float p_78918_, ServerLevel p_78919_, Function<ResourceLocation,LootTable> p_78920_, Function<ResourceLocation,LootItemCondition> p_78921_, Map<LootContextParam<?>,Object> p_78922_, Map<ResourceLocation,LootContext.DynamicDrop> p_78923_)
private
LootContext(Random rand, float luckIn, ServerLevel worldIn, Function<ResourceLocation,LootTable> lootTableManagerIn, Function<ResourceLocation,LootItemCondition> p_i225885_5_, Map<LootContextParam<?>,Object> parametersIn, Map<ResourceLocation,LootContext.DynamicDrop> conditionsIn, ResourceLocation queriedLootTableId)
-
Uses of LootTable in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic LootTable
ForgeHooks.loadLootTable(com.google.gson.Gson gson, ResourceLocation name, com.google.gson.JsonElement data, boolean custom, LootTables lootTableManager)
-
Uses of LootTable in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionprotected void
ForgeLootTableProvider.validate(Map<ResourceLocation,LootTable> map, ValidationContext validationtracker)
-
Uses of LootTable in net.minecraftforge.event
Modifier and TypeMethodDescriptionLootTableLoadEvent.getTable()
static LootTable
ForgeEventFactory.loadLootTable(ResourceLocation name, LootTable table, LootTables lootTableManager)
Modifier and TypeMethodDescriptionstatic LootTable
ForgeEventFactory.loadLootTable(ResourceLocation name, LootTable table, LootTables lootTableManager)
void
ModifierConstructorDescriptionLootTableLoadEvent(ResourceLocation name, LootTable table, LootTables lootTableManager)