More loot tables.

This commit is contained in:
drcrazy 2018-07-12 17:41:14 +03:00
parent 760dea8f94
commit c35d85fe10
8 changed files with 1136 additions and 7 deletions

View file

@ -57,7 +57,6 @@ import techreborn.client.GuiHandler;
import techreborn.command.TechRebornDevCommand;
import techreborn.compat.CompatManager;
import techreborn.compat.ICompatModule;
import techreborn.compat.ic2.RecipesIC2;
import techreborn.dispenser.BehaviorDispenseScrapbox;
import techreborn.entities.EntityNukePrimed;
import techreborn.events.BlockBreakHandler;

View file

@ -46,10 +46,16 @@ public class ModLoot {
public static void init() {
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/abandoned_mineshaft"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/desert_pyramid"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/end_city_treasure"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/igloo_chest"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/jungle_temple"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/nether_bridge"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/simple_dungeon"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/stronghold_corridor"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/stronghold_crossing"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/stronghold_library"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/village_blacksmith"));
lootTables.add(new ResourceLocation(ModInfo.MOD_ID, "chests/woodland_mansion"));
for (ResourceLocation lootTable : lootTables) {
LootTableList.register(lootTable);

View file

@ -1 +1,193 @@
{}
{
"pools": [
{
"name": "techreborn",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "chrome_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 3
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "iridium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 7
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "platinum_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 10
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "titanium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 14
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "tungsten_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 15
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "hot_tungstensteel_iron_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 16
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "tungstensteel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 17
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "iridium_alloy_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 22
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "advanced_frame",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 2
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "energy_flow_circuit",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 0
}
]
},
{
"type": "empty",
"weight": 20
}
]
}
]
}

View file

@ -1 +1,186 @@
{}
{
"pools": [
{
"name": "techreborn",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "aluminium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 0
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "brass_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "electrum_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 5
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "invar_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 6
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "nickel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 9
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "steel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 12
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "zinc_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 18
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "reinforced_frame",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_control_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_storage_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 2
}
]
},
{
"type": "empty",
"weight": 20
}
]
}
]
}

View file

@ -1 +1,186 @@
{}
{
"pools": [
{
"name": "techreborn",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "aluminium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 0
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "brass_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "electrum_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 5
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "invar_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 6
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "nickel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 9
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "steel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 12
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "zinc_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 18
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "reinforced_frame",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_control_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_storage_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 2
}
]
},
{
"type": "empty",
"weight": 20
}
]
}
]
}

View file

@ -1 +1,186 @@
{}
{
"pools": [
{
"name": "techreborn",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "aluminium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 0
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "brass_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "electrum_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 5
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "invar_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 6
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "nickel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 9
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "steel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 12
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "zinc_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 18
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "reinforced_frame",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_control_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_storage_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 2
}
]
},
{
"type": "empty",
"weight": 20
}
]
}
]
}

View file

@ -1 +1,186 @@
{}
{
"pools": [
{
"name": "techreborn",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "aluminium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 0
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "brass_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "electrum_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 5
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "invar_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 6
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "nickel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 9
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "steel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 12
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "zinc_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 18
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "reinforced_frame",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_control_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 1
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "data_storage_circuit",
"weight": 15,
"functions": [
{
"function": "set_data",
"data": 2
}
]
},
{
"type": "empty",
"weight": 20
}
]
}
]
}

View file

@ -1 +1,193 @@
{}
{
"pools": [
{
"name": "techreborn",
"rolls": {
"min": 1,
"max": 3
},
"entries": [
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "chrome_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 3
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "iridium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 7
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "platinum_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 10
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "titanium_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 14
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "tungsten_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 15
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "hot_tungstensteel_iron_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 16
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "tungstensteel_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 17
}
]
},
{
"type": "item",
"name": "techreborn:ingot",
"entryName": "iridium_alloy_ingot",
"weight": 10,
"functions": [
{
"function": "set_count",
"count": {
"min": 1,
"max": 2
}
},
{
"function": "set_data",
"data": 22
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "advanced_frame",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 2
}
]
},
{
"type": "item",
"name": "techreborn:machine_frame",
"entryName": "energy_flow_circuit",
"weight": 30,
"functions": [
{
"function": "set_data",
"data": 0
}
]
},
{
"type": "empty",
"weight": 20
}
]
}
]
}