Uses of Class
net.minecraft.loot.LootTable
-
Uses of LootTable in net.minecraft.loot
Modifier and TypeFieldDescriptionprivate final Function<Identifier,
LootTable> LootTableReporter.tableGetter
private Map<Identifier,
LootTable> LootManager.tables
Modifier and TypeMethodDescriptionLootTable.Builder.build()
LootTable.Serializer.deserialize
(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) LootManager.getTable
(Identifier id) LootTableReporter.getTable
(Identifier id) Modifier and TypeMethodDescriptionLootTable.Serializer.serialize
(LootTable lootTable, Type type, JsonSerializationContext jsonSerializationContext) static JsonElement
static void
LootManager.validate
(LootTableReporter reporter, Identifier id, LootTable table) -
Uses of LootTable in net.minecraft.loot.context
Modifier and TypeFieldDescriptionLootContext.activeTables
private final Function<Identifier,
LootTable> LootContext.tableGetter
Modifier and TypeMethodDescriptionboolean
LootContext.markActive
(LootTable table) void
LootContext.markInactive
(LootTable table) ModifierConstructorDescription(package private)
LootContext
(Random random, float luck, ServerWorld world, Function<Identifier, LootTable> tableGetter, Function<Identifier, LootCondition> conditionGetter, Map<LootContextParameter<?>, Object> parameters, Map<Identifier, LootContext.Dropper> drops)