Compare commits

..

No commits in common. "4c282d51a8e719f3e1b0d4ccf78e8ebe3d79105a" and "2d1d9d28f3faa69c275e784e4eb20c8b81ba0fdb" have entirely different histories.

27 changed files with 39 additions and 61 deletions

View File

@ -133,6 +133,13 @@ fun addChestLootTables(loot: LootTables) {
setCount(minimal = 2, maximal = 4) setCount(minimal = 2, maximal = 4)
setWeight(2) setWeight(2)
} }
setRolls(3)
}
//gear
lootPool{
item(Items.IRON_SWORD) {
}
} }
//food //food
lootPool { lootPool {
@ -152,45 +159,43 @@ fun addChestLootTables(loot: LootTables) {
setWeight(1) setWeight(1)
} }
} }
//pills
lootPool {
item(MItems.PILL_ANDROID) { chanceCondition(0.1)
setWeight(1)
}
item(MItems.PILL_HEAL) { chanceCondition(0.5)
setWeight(2)
setCount(2, 5)
}
}
//otm //otm
lootPool { lootPool {
item(MItems.MATTER_DUST) { chanceCondition(0.1) item(MItems.MATTER_DUST) { chanceCondition(0.1)
setWeight(4) setWeight(4)
apply(MatterDustItem.Randomizer(UniformDecimal(Decimal(100), Decimal(2_500)))) apply(MatterDustItem.Randomizer(UniformDecimal(Decimal(100), Decimal(2_500))))
} }
item(MItems.PROCEDURAL_BATTERY) {
chanceCondition(0.05)
setWeight(1)
apply(
ProceduralBatteryItem.Randomizer(
maxBatteryLevel = UniformDecimal(Decimal(10_000_000), Decimal(50_000_000)),
batteryLevel = UniformDecimal(Decimal(0), Decimal(25_000_000)),
maxInput = UniformDecimal(Decimal(1_000), Decimal(5_000)),
)
)
}
item(MItems.ExopackUpgrades.INVENTORY_UPGRADE_PROCEDURAL) {
chanceCondition(0.2)
setWeight(2)
apply(ProceduralExopackSlotUpgradeItem.Randomizer(UniformInt.of(1, 9), UniformInt.of(0, 3)))
}
lootPool {
item(MItems.PILL_ANDROID) { chanceCondition(0.1)
setWeight(1)
}
item(MItems.PILL_HEAL) { chanceCondition(0.5)
setWeight(2)
setCount(2, 5)
}
}
} }
lootPool { item(MItems.PROCEDURAL_BATTERY) { chanceCondition(0.05)
setWeight(1)
apply(
ProceduralBatteryItem.Randomizer(
maxBatteryLevel = UniformDecimal(Decimal(10_000_000), Decimal(50_000_000)),
batteryLevel = UniformDecimal(Decimal(0), Decimal(25_000_000)),
maxInput = UniformDecimal(Decimal(1_000), Decimal(5_000)),
))
} }
lootPool { item(MItems.ExopackUpgrades.INVENTORY_UPGRADE_PROCEDURAL) { chanceCondition(0.2)
setWeight(2)
apply(ProceduralExopackSlotUpgradeItem.Randomizer(UniformInt.of(1, 9), UniformInt.of(0, 3)))
} }
} }
loot.builder(LootContextParamSets.CHEST, modLootTable("laboratory/reward_ominous")) { loot.builder(LootContextParamSets.CHEST, modLootTable("laboratory/reward_ominous")) {
//unique //unique
lootPool { item(MItems.FALLING_SUN) { lootPool { item(MItems.FALLING_SUN) {
chanceCondition(0.075) chanceCondition(0.1)
setWeight(1) setWeight(1)
} } } }
@ -202,11 +207,11 @@ fun addChestLootTables(loot: LootTables) {
} }
item(Items.EMERALD) { item(Items.EMERALD) {
setCount(minimal = 3, maximal = 6) setCount(minimal = 3, maximal = 6)
setWeight(7) setWeight(3)
} }
item(MItems.WITHERED_STEEL) { item(MItems.WITHERED_STEEL) {
setCount(minimal = 2, maximal = 4) setCount(minimal = 2, maximal = 4)
setWeight(8) setWeight(2)
} }
} }
//materials //materials

View File

@ -1,7 +1,7 @@
{ {
"type": "minecraft:jigsaw", "type": "minecraft:jigsaw",
"biomes": "#overdrive_that_matters:laboratory", "biomes": "#overdrive_that_matters:laboratory",
"max_distance_from_center": 80, "max_distance_from_center": 60,
"liquid_settings": "ignore_waterlogging", "liquid_settings": "ignore_waterlogging",
"size": 20, "size": 20,
"start_height": { "start_height": {

View File

@ -3,7 +3,7 @@
"type": "minecraft:random_spread", "type": "minecraft:random_spread",
"salt": 20803232, "salt": 20803232,
"separation": 8, "separation": 8,
"spacing": 30 "spacing": 12
}, },
"structures": [ "structures": [
{ {

View File

@ -45,15 +45,6 @@
"projection": "rigid" "projection": "rigid"
}, },
"weight": 1 "weight": 1
},
{
"element": {
"element_type": "minecraft:single_pool_element",
"location": "overdrive_that_matters:laboratory/fluff/bench",
"processors": "minecraft:empty",
"projection": "rigid"
},
"weight": 1
} }
], ],
"fallback": "minecraft:empty" "fallback": "minecraft:empty"

View File

@ -8,7 +8,7 @@
"processors": "minecraft:empty", "processors": "minecraft:empty",
"projection": "rigid" "projection": "rigid"
}, },
"weight": 3 "weight": 1
}, },
{ {
"element": { "element": {
@ -17,7 +17,7 @@
"processors": "minecraft:empty", "processors": "minecraft:empty",
"projection": "rigid" "projection": "rigid"
}, },
"weight": 3 "weight": 1
}, },
{ {
"element": { "element": {
@ -27,15 +27,6 @@
"projection": "rigid" "projection": "rigid"
}, },
"weight": 1 "weight": 1
},
{
"element": {
"element_type": "minecraft:single_pool_element",
"location": "overdrive_that_matters:laboratory/halls/decor/pillager_fort",
"processors": "minecraft:empty",
"projection": "rigid"
},
"weight": 2
} }
], ],
"fallback": "minecraft:empty" "fallback": "minecraft:empty"

View File

@ -26,7 +26,7 @@
"processors": "overdrive_that_matters:laboratory_weathering", "processors": "overdrive_that_matters:laboratory_weathering",
"projection": "rigid" "projection": "rigid"
}, },
"weight": 2 "weight": 1
}, },
{ {
"element": { "element": {
@ -36,15 +36,6 @@
"projection": "rigid" "projection": "rigid"
}, },
"weight": 1 "weight": 1
},
{
"element": {
"element_type": "minecraft:single_pool_element",
"location": "overdrive_that_matters:laboratory/intersections/car_portal",
"processors": "overdrive_that_matters:laboratory_weathering",
"projection": "rigid"
},
"weight": 1
} }
], ],
"fallback": "overdrive_that_matters:laboratory/fallback_pool" "fallback": "overdrive_that_matters:laboratory/fallback_pool"