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 LootTable
LootTable. EMPTY
Fields in net.minecraft.loot with type parameters of type LootTable Modifier and Type Field Description private Function<Identifier,LootTable>
LootTableReporter. tableGetter
private Map<Identifier,LootTable>
LootManager. tables
Methods in net.minecraft.loot that return LootTable Modifier and Type Method Description LootTable
LootTable.Builder. build()
LootTable
LootTable.Serializer. deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
LootTable
LootManager. getTable(Identifier id)
@Nullable LootTable
LootTableReporter. getTable(Identifier id)
Methods in net.minecraft.loot with parameters of type LootTable Modifier and Type Method Description JsonElement
LootTable.Serializer. serialize(LootTable lootTable, Type type, JsonSerializationContext jsonSerializationContext)
static JsonElement
LootManager. toJson(LootTable table)
static void
LootManager. 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. activeTables
private Function<Identifier,LootTable>
LootContext. tableGetter
Methods in net.minecraft.loot.context that return LootTable Modifier and Type Method Description LootTable
LootContext. getSupplier(Identifier id)
Methods in net.minecraft.loot.context with parameters of type LootTable Modifier and Type Method Description boolean
LootContext. markActive(LootTable table)
void
LootContext. 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)