Uses of Class
net.minecraft.loot.LootTable
-
Packages that use LootTable Package Description net.minecraft.data net.minecraft.loot net.minecraftforge.common net.minecraftforge.common.data net.minecraftforge.event -
-
Uses of LootTable in net.minecraft.data
Method parameters in net.minecraft.data with type arguments of type LootTable Modifier and Type Method Description protected void
LootTableProvider. validate(java.util.Map<ResourceLocation,LootTable> map, ValidationTracker validationtracker)
-
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 java.util.function.Function<ResourceLocation,LootTable>
LootContext. lootTables
private java.util.function.Function<ResourceLocation,LootTable>
ValidationTracker. tableResolver
private java.util.Map<ResourceLocation,LootTable>
LootTableManager. tables
private java.util.Set<LootTable>
LootContext. visitedTables
Methods in net.minecraft.loot that return LootTable Modifier and Type Method Description LootTable
LootTable.Builder. build()
LootTable
LootTable.Serializer. deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_)
LootTable
LootTableManager. get(ResourceLocation p_186521_1_)
LootTable
LootContext. getLootTable(ResourceLocation p_227502_1_)
LootTable
ValidationTracker. resolveLootTable(ResourceLocation p_227539_1_)
Methods in net.minecraft.loot with parameters of type LootTable Modifier and Type Method Description boolean
LootContext. addVisitedTable(LootTable p_186496_1_)
void
LootContext. removeVisitedTable(LootTable p_186490_1_)
com.google.gson.JsonElement
LootTable.Serializer. serialize(LootTable p_serialize_1_, java.lang.reflect.Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_)
static com.google.gson.JsonElement
LootTableManager. serialize(LootTable p_215301_0_)
static void
LootTableManager. validate(ValidationTracker p_227508_0_, ResourceLocation p_227508_1_, LootTable p_227508_2_)
Constructor parameters in net.minecraft.loot with type arguments of type LootTable Constructor Description LootContext(java.util.Random p_i225885_1_, float p_i225885_2_, ServerWorld p_i225885_3_, java.util.function.Function<ResourceLocation,LootTable> p_i225885_4_, java.util.function.Function<ResourceLocation,ILootCondition> p_i225885_5_, java.util.Map<LootParameter<?>,java.lang.Object> p_i225885_6_, java.util.Map<ResourceLocation,LootContext.IDynamicDropProvider> p_i225885_7_)
LootContext(java.util.Random rand, float luckIn, ServerWorld worldIn, java.util.function.Function<ResourceLocation,LootTable> lootTableManagerIn, java.util.function.Function<ResourceLocation,ILootCondition> p_i225885_5_, java.util.Map<LootParameter<?>,java.lang.Object> parametersIn, java.util.Map<ResourceLocation,LootContext.IDynamicDropProvider> conditionsIn, ResourceLocation queriedLootTableId)
-
Uses of LootTable in net.minecraftforge.common
Methods in net.minecraftforge.common that return LootTable Modifier and Type Method Description static LootTable
ForgeHooks. loadLootTable(com.google.gson.Gson gson, ResourceLocation name, com.google.gson.JsonElement data, boolean custom, LootTableManager lootTableManager)
-
Uses of LootTable in net.minecraftforge.common.data
Method parameters in net.minecraftforge.common.data with type arguments of type LootTable Modifier and Type Method Description protected void
ForgeLootTableProvider. validate(java.util.Map<ResourceLocation,LootTable> map, ValidationTracker validationtracker)
-
Uses of LootTable in net.minecraftforge.event
Fields in net.minecraftforge.event declared as LootTable Modifier and Type Field Description private LootTable
LootTableLoadEvent. table
Methods in net.minecraftforge.event that return LootTable Modifier and Type Method Description LootTable
LootTableLoadEvent. getTable()
static LootTable
ForgeEventFactory. loadLootTable(ResourceLocation name, LootTable table, LootTableManager lootTableManager)
Methods in net.minecraftforge.event with parameters of type LootTable Modifier and Type Method Description static LootTable
ForgeEventFactory. loadLootTable(ResourceLocation name, LootTable table, LootTableManager lootTableManager)
void
LootTableLoadEvent. setTable(LootTable table)
Constructors in net.minecraftforge.event with parameters of type LootTable Constructor Description LootTableLoadEvent(ResourceLocation name, LootTable table, LootTableManager lootTableManager)
-