Skip to content

Commit b7baa0f

Browse files
authored
Soul Laser Warden Requirement Fix + Dyenamics Lavender Dye Fix
1 parent 72a7d78 commit b7baa0f

File tree

2 files changed

+39
-8
lines changed

2 files changed

+39
-8
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ServerEvents.recipes((allthemods) => {
2-
allthemods.remove({ id: "dyenamics:ma/dye/lavender_dye" })
3-
allthemods.shaped("dyenamics:lavender_dye", [" D ", " ", "D D"], { L: "dyenamics:lavender_dye" })
4-
})
1+
ServerEvents.recipes((allthemods) => {
2+
allthemods.remove({ id: "dyenamics:ma/dye/lavender_dye" })
3+
allthemods.shaped(Item.of("dyenamics:lavender_dye", 6), [" D ", " ", "D D"], { D: "mysticalagriculture:dye_essence" })
4+
})

kubejs/server_scripts/mods/industrial_foregoing/laser_drill.js

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,44 @@ ServerEvents.recipes((allthemods) => {
4444
* @param {number} depthMax
4545
* @param {number} weight
4646
*/
47-
function laserDrillFluid(output, entity, catalyst, depthMin, depthMax, weight) {
47+
function laserDrillFluid(output, catalyst, depthMin, depthMax, weight) {
4848
allthemods
4949
.custom({
5050
type: "industrialforegoing:laser_drill_fluid",
5151
output: output,
52-
entity: entity || "minecraft:empty",
52+
rarity: [
53+
{
54+
biome_filter: {
55+
whitelist: [],
56+
blacklist: []
57+
},
58+
dimension_filter: {
59+
whitelist: [],
60+
blacklist: []
61+
},
62+
depth_min: depthMin,
63+
depth_max: depthMax,
64+
weight: weight
65+
}
66+
],
67+
catalyst: {
68+
item: catalyst
69+
}
70+
})
71+
.id(`allthemods:industrialforegoing/laser_drill_fluid/${output.fluid.split(":")[1]}`)
72+
}
73+
function laserDrillFluidWithEntity(output, entity, catalyst, depthMin, depthMax, weight) {
74+
allthemods
75+
.custom({
76+
type: "industrialforegoing:laser_drill_fluid",
77+
output: output,
78+
entity_data: {
79+
data: {},
80+
display: "",
81+
entity: {
82+
type: entity
83+
}
84+
},
5385
rarity: [
5486
{
5587
biome_filter: {
@@ -74,7 +106,7 @@ ServerEvents.recipes((allthemods) => {
74106

75107
laserDrillOre({ tag: "c:gems/benitoite", count: 8 }, "industrialforegoing:blue_laser_lens", 5, 256, 5)
76108

77-
laserDrillFluid(
109+
laserDrillFluidWithEntity(
78110
{ fluid: "allthemodium:soul_lava", amount: 10 },
79111
"minecraft:warden",
80112
"industrialforegoing:blue_laser_lens",
@@ -85,7 +117,6 @@ ServerEvents.recipes((allthemods) => {
85117

86118
laserDrillFluid(
87119
{ fluid: "pneumaticcraft:oil", amount: 50 },
88-
"minecraft:empty",
89120
"industrialforegoing:black_laser_lens",
90121
20,
91122
60,

0 commit comments

Comments
 (0)