Skip to content

Commit 72a7d78

Browse files
committed
schema fix
1 parent 1f68848 commit 72a7d78

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

kubejs/server_scripts/mods/industrial_foregoing/laser_drill.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
ServerEvents.recipes((allthemods) => {
55
/**
6-
* @param {{tag: string, count: number}} output
6+
* @param {{item: string, count: number}|{tag: string, count: number}} output
77
* @param {string} catalyst
88
* @param {number} depthMin
99
* @param {number} depthMax
@@ -13,10 +13,7 @@ ServerEvents.recipes((allthemods) => {
1313
allthemods
1414
.custom({
1515
type: "industrialforegoing:laser_drill_ore",
16-
output: {
17-
tag: output.tag,
18-
count: output.count || 1
19-
},
16+
output: output,
2017
rarity: [
2118
{
2219
biome_filter: {
@@ -40,7 +37,7 @@ ServerEvents.recipes((allthemods) => {
4037
}
4138

4239
/**
43-
* @param {{fluid: string, amount: number}} output
40+
* @param {{fluid: string, amount: number}|{tag: string, amount: number}} output
4441
* @param {string} entity
4542
* @param {string} catalyst
4643
* @param {number} depthMin
@@ -51,10 +48,7 @@ ServerEvents.recipes((allthemods) => {
5148
allthemods
5249
.custom({
5350
type: "industrialforegoing:laser_drill_fluid",
54-
output: {
55-
id: output.fluid,
56-
amount: output.amount || 1
57-
},
51+
output: output,
5852
entity: entity || "minecraft:empty",
5953
rarity: [
6054
{

0 commit comments

Comments
 (0)