Package | Description |
---|---|
net.minecraft.data | |
net.minecraft.world.storage.loot | |
net.minecraftforge.common | |
net.minecraftforge.common.data | |
net.minecraftforge.event |
Modifier and Type | Method and Description |
---|---|
protected void |
LootTableProvider.validate(java.util.Map<ResourceLocation,LootTable> map,
ValidationTracker validationtracker) |
Modifier and Type | Field and Description |
---|---|
static LootTable |
LootTable.EMPTY_LOOT_TABLE |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ResourceLocation,LootTable> |
ValidationTracker.field_227524_f_ |
private java.util.function.Function<ResourceLocation,LootTable> |
LootContext.lootTableManager |
private java.util.Set<LootTable> |
LootContext.lootTables |
private java.util.Map<ResourceLocation,LootTable> |
LootTableManager.registeredLootTables |
Modifier and Type | Method and 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 |
ValidationTracker.func_227539_c_(ResourceLocation p_227539_1_) |
LootTable |
LootContext.getLootTable(ResourceLocation tableId) |
LootTable |
LootTableManager.getLootTableFromLocation(ResourceLocation ressources) |
Modifier and Type | Method and Description |
---|---|
boolean |
LootContext.addLootTable(LootTable lootTableIn) |
static void |
LootTableManager.func_227508_a_(ValidationTracker p_227508_0_,
ResourceLocation p_227508_1_,
LootTable p_227508_2_) |
void |
LootContext.removeLootTable(LootTable lootTableIn) |
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.toJson(LootTable lootTableIn) |
Constructor and Description |
---|
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) |
ValidationTracker(LootParameterSet p_i225889_1_,
java.util.function.Function<ResourceLocation,ILootCondition> p_i225889_2_,
java.util.function.Function<ResourceLocation,LootTable> p_i225889_3_) |
ValidationTracker(com.google.common.collect.Multimap<java.lang.String,java.lang.String> p_i225888_1_,
java.util.function.Supplier<java.lang.String> p_i225888_2_,
LootParameterSet p_i225888_3_,
java.util.function.Function<ResourceLocation,ILootCondition> p_i225888_4_,
java.util.Set<ResourceLocation> p_i225888_5_,
java.util.function.Function<ResourceLocation,LootTable> p_i225888_6_,
java.util.Set<ResourceLocation> p_i225888_7_) |
Modifier and Type | Method and Description |
---|---|
static LootTable |
ForgeHooks.loadLootTable(com.google.gson.Gson gson,
ResourceLocation name,
com.google.gson.JsonObject data,
boolean custom,
LootTableManager lootTableManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
ForgeLootTableProvider.validate(java.util.Map<ResourceLocation,LootTable> map,
ValidationTracker validationtracker) |
Modifier and Type | Field and Description |
---|---|
private LootTable |
LootTableLoadEvent.table |
Modifier and Type | Method and Description |
---|---|
LootTable |
LootTableLoadEvent.getTable() |
static LootTable |
ForgeEventFactory.loadLootTable(ResourceLocation name,
LootTable table,
LootTableManager lootTableManager) |
Modifier and Type | Method and Description |
---|---|
static LootTable |
ForgeEventFactory.loadLootTable(ResourceLocation name,
LootTable table,
LootTableManager lootTableManager) |
void |
LootTableLoadEvent.setTable(LootTable table) |
Constructor and Description |
---|
LootTableLoadEvent(ResourceLocation name,
LootTable table,
LootTableManager lootTableManager) |