recipes
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "create:crushed_raw_iron"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ingots/copper_alloy"
|
||||
},
|
||||
{
|
||||
"item": "create:rose_quartz"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:conductive_alloy_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "create:crushed_raw_copper"
|
||||
},
|
||||
{
|
||||
"tag": "forge:silicon"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:copper_alloy_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "create:crushed_raw_iron"
|
||||
},
|
||||
{
|
||||
"tag": "forge:dusts/coal"
|
||||
},
|
||||
{
|
||||
"tag": "forge:plates/obsidian"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:dark_steel_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"tag": "forge:ingots/dark_steel"
|
||||
},
|
||||
{
|
||||
"tag": "forge:plates/obsidian"
|
||||
},
|
||||
{
|
||||
"tag": "forge:end_stones"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:end_steel_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "create:crushed_raw_gold"
|
||||
},
|
||||
{
|
||||
"tag": "forge:dusts/glowstone"
|
||||
},
|
||||
{
|
||||
"item": "create:rose_quartz"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:energetic_alloy_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "create:crushed_raw_iron"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ender_pearls"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:pulsating_alloy_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "create:rose_quartz"
|
||||
},
|
||||
{
|
||||
"tag": "forge:silicon"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:redstone_alloy_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "create:mixing",
|
||||
"heatRequirement": "superheated",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "create:crushed_raw_gold"
|
||||
},
|
||||
{
|
||||
"tag": "create:stone_types/scoria"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:soularium_ingot"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"type": "create:sequenced_assembly",
|
||||
"ingredient": {
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
},
|
||||
"loops": 1,
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:ender_resonator"
|
||||
}
|
||||
],
|
||||
"sequence": [
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ingots/soularium"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
},
|
||||
{
|
||||
"item": "enderio:enderman_head"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ingots/vibrant_alloy"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"transitionalItem": {
|
||||
"item": "enderio:double_layer_capacitor"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"type": "create:sequenced_assembly",
|
||||
"ingredient": {
|
||||
"item": "enderio:octadic_capacitor"
|
||||
},
|
||||
"loops": 1,
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:guardian_diode"
|
||||
}
|
||||
],
|
||||
"sequence": [
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:octadic_capacitor"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ingots/energetic_alloy"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:octadic_capacitor"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:octadic_capacitor"
|
||||
},
|
||||
{
|
||||
"tag": "forge:gems/prismarine"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:octadic_capacitor"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:octadic_capacitor"
|
||||
},
|
||||
{
|
||||
"tag": "forge:dusts/prismarine"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:octadic_capacitor"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"transitionalItem": {
|
||||
"item": "enderio:octadic_capacitor"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"type": "create:sequenced_assembly",
|
||||
"ingredient": {
|
||||
"item": "create:brass_sheet"
|
||||
},
|
||||
"loops": 1,
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:skeletal_contractor"
|
||||
}
|
||||
],
|
||||
"sequence": [
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ingots/soularium"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:skeleton_skull"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
},
|
||||
{
|
||||
"item": "create:content_observer"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"transitionalItem": {
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"type": "create:sequenced_assembly",
|
||||
"ingredient": {
|
||||
"item": "enderio:zombie_electrode"
|
||||
},
|
||||
"loops": 1,
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:z_logic_controller"
|
||||
}
|
||||
],
|
||||
"sequence": [
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:rotten_flesh"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ingots/soularium"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
},
|
||||
{
|
||||
"item": "create:experience_block"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"transitionalItem": {
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"type": "create:sequenced_assembly",
|
||||
"ingredient": {
|
||||
"item": "enderio:basic_capacitor"
|
||||
},
|
||||
"loops": 1,
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:zombie_electrode"
|
||||
}
|
||||
],
|
||||
"sequence": [
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:basic_capacitor"
|
||||
},
|
||||
{
|
||||
"tag": "forge:ingots/energetic_alloy"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:basic_capacitor"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:basic_capacitor"
|
||||
},
|
||||
{
|
||||
"item": "minecraft:zombie_head"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:basic_capacitor"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "create:deploying",
|
||||
"ingredients": [
|
||||
{
|
||||
"item": "enderio:basic_capacitor"
|
||||
},
|
||||
{
|
||||
"tag": "forge:plates/obsidian"
|
||||
}
|
||||
],
|
||||
"results": [
|
||||
{
|
||||
"item": "enderio:basic_capacitor"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"transitionalItem": {
|
||||
"item": "enderio:basic_capacitor"
|
||||
}
|
||||
}
|
||||
@@ -16,11 +16,11 @@ ServerEvents.recipes(event => {
|
||||
)
|
||||
|
||||
event.shaped('minecraft:elytra', [// arg 1: output
|
||||
'CDC',
|
||||
'BDB',
|
||||
'MNM', // arg 2: the shape (array of strings)
|
||||
'M M'
|
||||
], {
|
||||
C: 'minecraft:chorus_fruit',
|
||||
B: 'bonfires:titanite_slab',
|
||||
N: 'minecraft:nether_star',
|
||||
M: 'minecraft:phantom_membrane', //arg 3: the mapping object
|
||||
D: 'minecraft:diamond', //arg 3: the mapping object
|
||||
|
||||
28
web/pack/kubejs/startup_scripts/food.js
Normal file
28
web/pack/kubejs/startup_scripts/food.js
Normal file
@@ -0,0 +1,28 @@
|
||||
StartupEvents.registry("item", (event) => {
|
||||
event.create("golden_potato").food((food) => {
|
||||
food
|
||||
.hunger(18)
|
||||
.saturation(18) //This value does not directly translate to saturation points gained
|
||||
//The real value can be assumed to be:
|
||||
//min(hunger * saturation * 2 + saturation, foodAmountAfterEating)
|
||||
.effect("speed", 600, 0, 1)
|
||||
.effect("health_boost", 600, 0, 1)
|
||||
.effect("luck",600,0,1)
|
||||
.effect("strength",600,0,1)
|
||||
.removeEffect("poison")
|
||||
.alwaysEdible() //Like golden apples
|
||||
.fastToEat() //Like dried kelp
|
||||
.meat() //Dogs are willing to eat it
|
||||
.eaten((ctx) => {
|
||||
//runs code upon consumption
|
||||
ctx.player.tell(Text.gold("Yummy Yummy!"));
|
||||
//If you want to modify this code then you need to restart the game.
|
||||
//However, if you make this code call a global startup function
|
||||
//and place the function *outside* of an event handler
|
||||
//then you may use the command:
|
||||
// /kubejs reload startup_scripts
|
||||
//to reload the function instantly.
|
||||
//See example below
|
||||
});
|
||||
});
|
||||
});
|
||||
13
web/pack/kubejs/startup_scripts/items.js
Normal file
13
web/pack/kubejs/startup_scripts/items.js
Normal file
@@ -0,0 +1,13 @@
|
||||
StartupEvents.registry("item", (event) => {
|
||||
event.create("incomplete_netherstar", "create:sequenced_assembly");
|
||||
|
||||
event
|
||||
.create("andesite_shears", "shears")
|
||||
.displayName("Andesite Shears")
|
||||
.maxDamage(127);
|
||||
|
||||
event
|
||||
.create("brass_shears", "shears")
|
||||
.displayName("Brass Shears")
|
||||
.maxDamage(450);
|
||||
});
|
||||
@@ -1,34 +0,0 @@
|
||||
StartupEvents.registry('item', e => {
|
||||
e.create('incomplete_netherstar', 'create:sequenced_assembly')
|
||||
|
||||
e.create('andesite_shears', 'shears')
|
||||
.displayName("Andesite Shears")
|
||||
.maxDamage(127)
|
||||
|
||||
e.create('brass_shears', 'shears')
|
||||
.displayName("Brass Shears")
|
||||
.maxDamage(450)
|
||||
|
||||
e.create('golde_potato').food(food => {
|
||||
food
|
||||
.hunger(18)
|
||||
.saturation(18)//This value does not directly translate to saturation points gained
|
||||
//The real value can be assumed to be:
|
||||
//min(hunger * saturation * 2 + saturation, foodAmountAfterEating)
|
||||
.effect('speed', 600, 0, 1)
|
||||
.removeEffect('poison')
|
||||
.alwaysEdible()//Like golden apples
|
||||
.fastToEat()//Like dried kelp
|
||||
.meat()//Dogs are willing to eat it
|
||||
.eaten(ctx => {//runs code upon consumption
|
||||
ctx.player.tell(Text.gold('Yummy Yummy!'))
|
||||
//If you want to modify this code then you need to restart the game.
|
||||
//However, if you make this code call a global startup function
|
||||
//and place the function *outside* of an event handler
|
||||
//then you may use the command:
|
||||
// /kubejs reload startup_scripts
|
||||
//to reload the function instantly.
|
||||
//See example below
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user