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 validationcontext) -
Uses of LootTable in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescriptionprivate final Function<ResourceLocation,
LootTable> LootContext.lootTables
private final 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
(RandomSource p_230900_, float p_230901_, ServerLevel p_230902_, Function<ResourceLocation, LootTable> p_230903_, Function<ResourceLocation, LootItemCondition> p_230904_, Map<LootContextParam<?>, Object> p_230905_, Map<ResourceLocation, LootContext.DynamicDrop> p_230906_) private
LootContext
(RandomSource 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 @Nullable 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 validationcontext) -
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)