Uses of Class
net.minecraft.loot.LootTable
| Package | Description |
|---|---|
| net.minecraft.loot | |
| net.minecraft.loot.context |
-
Uses of LootTable in net.minecraft.loot
Fields in net.minecraft.loot declared as LootTable Modifier and Type Field Description static LootTableLootTable. EMPTYFields in net.minecraft.loot with type parameters of type LootTable Modifier and Type Field Description private Function<Identifier,LootTable>LootTableReporter. tableGetterprivate Map<Identifier,LootTable>LootManager. tablesMethods in net.minecraft.loot that return LootTable Modifier and Type Method Description LootTableLootTable.Builder. build()LootTableLootTable.Serializer. deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)LootTableLootManager. getTable(Identifier id)@Nullable LootTableLootTableReporter. getTable(Identifier id)Methods in net.minecraft.loot with parameters of type LootTable Modifier and Type Method Description JsonElementLootTable.Serializer. serialize(LootTable lootTable, Type type, JsonSerializationContext jsonSerializationContext)static JsonElementLootManager. toJson(LootTable table)static voidLootManager. validate(LootTableReporter reporter, Identifier id, LootTable table) -
Uses of LootTable in net.minecraft.loot.context
Fields in net.minecraft.loot.context with type parameters of type LootTable Modifier and Type Field Description private Set<LootTable>LootContext. activeTablesprivate Function<Identifier,LootTable>LootContext. tableGetterMethods in net.minecraft.loot.context that return LootTable Modifier and Type Method Description LootTableLootContext. getSupplier(Identifier id)Methods in net.minecraft.loot.context with parameters of type LootTable Modifier and Type Method Description booleanLootContext. markActive(LootTable table)voidLootContext. markInactive(LootTable table)Constructor parameters in net.minecraft.loot.context with type arguments of type LootTable Constructor Description LootContext(Random random, float luck, ServerWorld world, Function<Identifier,LootTable> tableGetter, Function<Identifier,LootCondition> conditionSetter, Map<LootContextParameter<?>,Object> parameters, Map<Identifier,LootContext.Dropper> drops)