This commit is contained in:
Shiroyasha 2025-09-14 20:52:18 +03:00
commit d8d0e9d536
Signed by: shiroyashik
GPG key ID: E4953D3940D7860A
2567 changed files with 167778 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/lost_cities_base"
}
]
},
{
"rolls": {
"type": "minecraft:binomial",
"n": 1,
"p": 0.2
},
"entries": [
{
"type": "minecraft:loot_table",
"name": "lostcities:chests/lostcitychest",
"weight": 8
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/stronghold_crossing",
"weight": 30
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/abandoned_mineshaft",
"weight": 15
}
]
}
]
}

View file

@ -0,0 +1,76 @@
{
"neoforge:conditions": [
{
"type": "neoforge:registered",
"value": "kubejs:moni_penny"
}
],
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"type": "minecraft:binomial",
"n": 2,
"p": 0.1
},
"entries": [
{
"type": "minecraft:item",
"name": "kubejs:moni_penny",
"weight": 100,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 20,
"max": 50
}
}
]
},
{
"type": "minecraft:item",
"name": "kubejs:moni_nickel",
"weight": 20,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 6,
"max": 12
}
}
]
},
{
"type": "minecraft:item",
"name": "kubejs:moni_quarter",
"weight": 4,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 2,
"max": 3
}
}
]
},
{
"type": "minecraft:item",
"name": "kubejs:moni_dollar",
"weight": 1,
"functions": [
{
"function": "minecraft:set_count",
"count": 1
}
]
}
]
}
]
}

View file

@ -0,0 +1,22 @@
Author: Xefyr0
Relevant files: Everything in the same folder
JSON does not allow for comments, so here's an explanation of how Monifactory's loot tables for the Lost Cities works.
See KubeJS/data/lostcities/lostcities/conditions/comments.txt for more information.
These are a set of loot tables Monifactory uses to populate chests in the Lost Cities.
They are more diverse and more rewarding than standard vanilla loot pools so that players can jump right into the Gregging.
monifactory:chests/lost_cities_base is a sum of a number of smaller loot pools that is used in every Lost Cities chest. It is composed of:
- minecraft:chests/simple_dungeon, a loot pool defined by Minecraft but with extra loot added by GregTech.
- monifactory:chests/ingot_loot, a loot pool that has a chance to offer a small set of ingots complementary to the set GregTech: Modern adds to simple dungeons.
- monifactory:chests/coins_loot, a loot pool that has a chance to offer Monicoins. (Uses Neoforge data loading conditions to restrict to NM only)
- monifactory:chests/misc_loot, a loot pool that offers a variety of items & tools that would be useful but not OP in the earlygame, plus some joke items.
- enderio:chests/alloy_loot, a loot table EnderIO normally applies to "simple dungeons" but must be applied manually due to the configuration used
- enderio:chests/common_loot, a loot table EnderIO normally applies to "simple dungeons" but must be applied manually due to the configuration used
- sophisticatedbackpacks:inject/chests/simple_dungeon, a loot table Sohpisticated Backpacks normally applies to "simple dungeons" but must be applied manually due to the configuration used
This base is used in three loot pools that are what the Lost Cities chests *actually* roll:
- monifactory:chests/cellar, the base loot pool but with a chance to roll loot from lostcities:chests/lostcitychest, minecraft:chests/stronghold_crossing, or minecraft:chests/abandoned_mineshaft
- monifactory:chests/ground_level, the base loot pool but with a chance to roll loot from some Village loot tables
- monifactory:chests/upper_floors, the base loot pool but an extra few rolls on monifactory:chests/misc_loot and a chance to roll loot from lostcities:chests/lostcitychest

View file

@ -0,0 +1,48 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/lost_cities_base"
}
]
},
{
"rolls": {
"type": "minecraft:binomial",
"n": 1,
"p": 0.2
},
"entries": [
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/village/village_weaponsmith",
"weight": 15
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/village/village_toolsmith",
"weight": 5
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/village/village_armorer",
"weight": 5
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/village/village_plains_house",
"weight": 4
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/village/village_temple",
"weight": 5
}
]
}
]
}

View file

@ -0,0 +1,104 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"type": "minecraft:binomial",
"n": 3,
"p": 0.3
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:copper_ingot",
"weight": 100,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 10
}
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:wrought_iron_ingot",
"weight": 60,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 6
}
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:tin_ingot",
"weight": 90,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 6
}
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:nickel_ingot",
"weight": 30,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 6
}
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:zinc_ingot",
"weight": 30,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 6
}
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:potin_ingot",
"weight": 50,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 1,
"max": 4
}
}
]
}
]
}
]
}

View file

@ -0,0 +1,68 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/simple_dungeon"
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/ingot_loot"
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/coins_loot"
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/misc_loot"
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "enderio:chests/alloy_loot"
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "enderio:chests/common_loot"
}
]
},
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "sophisticatedbackpacks:inject/chests/simple_dungeon"
}
]
}
]
}

View file

@ -0,0 +1,142 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"type": "minecraft:binomial",
"n": 2,
"p": 0.1
},
"entries": [
{
"type": "minecraft:item",
"name": "gtceu:zero_point_module",
"weight": 1
},
{
"type": "minecraft:item",
"name": "gtceu:tantalum_capacitor",
"weight": 200,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Charge:800L}"
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:lv_sodium_battery",
"weight": 150,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Charge:40000L}"
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:lv_cadmium_battery",
"weight": 90,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Charge:30000L}"
}
]
},
{
"type": "minecraft:item",
"name": "thermal:rf_potato",
"weight": 30,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Energy:70000}"
}
]
}
]
},
{
"rolls": {
"type": "minecraft:binomial",
"n": 1,
"p": 0.2
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:sponge",
"weight": 4,
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 2,
"max": 16
}
}
]
},
{
"type": "minecraft:item",
"name": "gtceu:invar_lighter",
"weight": 1,
"functions": [
{
"function": "minecraft:set_nbt",
"tag": "{Fluid:{Amount:87,FluidName:\"gtceu:butane\"}}"
}
]
},
{
"type": "minecraft:item",
"name": "telepastries:lost_city_cake",
"weight": 1
}
]
},
{
"rolls": {
"type": "minecraft:binomial",
"n": 2,
"p": 0.25
},
"entries": [
{
"type": "minecraft:item",
"name": "ulvcovm:ulv_electric_pump",
"weight": 2
},
{
"type": "minecraft:item",
"name": "ulvcovm:ulv_conveyor_module",
"weight": 3
},
{
"type": "minecraft:item",
"name": "ulvcovm:ulv_fluid_regulator",
"weight": 1
},
{
"type": "minecraft:item",
"name": "ulvcovm:ulv_robot_arm",
"weight": 1
},
{
"type": "minecraft:item",
"name": "ulvcovm:ulv_electric_motor",
"weight": 3
},
{
"type": "minecraft:item",
"name": "ulvcovm:ulv_electric_piston",
"weight": 2
}
]
}
]
}

View file

@ -0,0 +1,43 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/lost_cities_base"
}
]
},
{
"rolls": {
"type": "minecraft:binomial",
"n": 1,
"p": 0.2
},
"entries": [
{
"type": "minecraft:loot_table",
"name": "lostcities:chests/lostcitychest",
"weight": 8
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/stronghold_crossing",
"weight": 30
},
{
"type": "minecraft:loot_table",
"name": "minecraft:chests/abandoned_mineshaft",
"weight": 15
},
{
"type": "minecraft:loot_table",
"name": "lostcities:chests/raildungeonchest",
"weight": 20
}
]
}
]
}

View file

@ -0,0 +1,40 @@
{
"type": "minecraft:chest",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/lost_cities_base"
}
]
},
{
"rolls": {
"type": "minecraft:uniform",
"min": 1,
"max": 2
},
"entries": [
{
"type": "minecraft:loot_table",
"name": "monifactory:chests/misc_loot"
}
]
},
{
"rolls": {
"type": "minecraft:binomial",
"n": 1,
"p": 0.2
},
"entries": [
{
"type": "minecraft:loot_table",
"name": "lostcities:chests/lostcitychest"
}
]
}
]
}