#Adding recipe for Concrete from IE to Create
125 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Small update, forgot some commas
replace item with tag for stuff in the forge namespace
idr if forge even has sand, gravel, and clay entries
Yeah
I've checked in Ad Astra has forge:sand and regular MC gravel also has forge:gravel
Also
How it is supposed to look like?
can you paste it here? easier for me to edit @safe terrace
{
"type":"create:mixing",
"ingredients": [
{"item":"minecraft:sand","amount":1},
{"item":"minecraft:gravel","amount":2},
{"item":"minecraft:clay_ball","amount":1},
{"fluid":"minecraft:water","amount":40500}
],
"result": [
{"item":"immersiveengineering:concrete","amount":6}
]
}
That`s the latest
what I`ve done with my friend
"type": "create:mixing",
"ingredients": [
{
"tag": "forge:sand"
},
{
"tag": "forge:gravel"
},
{
"tag": "forge:clay"
},
{
"fluid": "minecraft:water",
"amount": 40500
}
],
"result": [
{
"item": "immersiveengineering:concrete",
"amount": 6
}
]
}```
for multiple inputs of the same item in mixing, youll need to repeat the entry multiple times
"type": "create:mixing",
"ingredients": [
{
"item": "kubejs:clay_dust"
},
{
"item": "kubejs:clay_dust"
},
{
"item": "kubejs:clay_dust"
},
{
"item": "kubejs:brick_dust"
},
{
"item": "kubejs:brick_dust"
},
{
"item": "kubejs:brick_dust"
},
{
"item": "kubejs:deepslate_dust"
},
{
"item": "kubejs:deepslate_dust"
},
{
"item": "kubejs:deepslate_dust"
},
{
"tag": "minecraft:sand"
},
{
"fluid": "minecraft:water",
"amount": 600
}
],
"results": [
{
"item": "kubejs:coke_brick_mix",
"count": 16
}
]
}``` this is an example, one of my custom mixing recipes
looks like this in game
yes, fluid amount is in mb
yes, thats just one of my scripts i sent as an example
yes
Can I do it like:
"tag": "minecraft:sand", "forge:sand", etc.?
no
forge:sand will include minecraft:sand
no need to account for all possibilities
np
{
"type":"create:mixing",
"ingredients": [
{"item":"minecraft:sand"},
{"item":"minecraft:gravel"},
{"item":"minecraft:gravel"},
{"item":"minecraft:clay_ball"},
{"fluid":"minecraft:water","amount":500}
],
"result": [
{"item":"immersiveengineering:concrete","count":6}
]
}
This is what I got in the end
youll restrict yourself to the normal minecraft sand, if thats what you want
That`s fine
alr
I can automate and I`ll deal with rest later
BUT
it doesn`t work for some reason
Do I need to restart game?
is this a datapack or a kubejs script
trying again
just try with a datapack
where's the recipe registry event
send the entirety of your file
Paste version of concrete.json from @safe terrace
thats more suited to a datapack
I`m doing this for the first time so idk
ServerEvents.recipes(event, =>{
event.custom(
{
"type":"create:mixing",
"ingredients": [
{
"item":"minecraft:sand"
},
{
"item":"minecraft:gravel"
},
{
"item":"minecraft:gravel"
},
{
"item":"minecraft:clay_ball"
},
{
"fluid":"minecraft:water",
"amount":500
}
],
"result": [
{
"item":"immersiveengineering:concrete",
"count":6
}
]
}
)
})
did you by any means checked the wiki?
it's very helpful
I did but briefly
try reading it again
will do
you need to place all recipe related scripts inside the ServerEvents.recipes
also with json recipes you need to place them inside the event.custom method
read this
This page is still under development. It is not complete, and subject to change at any time.
The re...
btw what language is this?
I`m trying to put similiar things to .json but it screams error
remove the comma after event in first line
/reload and still nothing
where do I put file?
Okay
It says I need to define server.event
Paste version of concrete.js from @safe terrace
idk
Paste version of server.log from @safe terrace
no idea then sorry
no probs
you forgot the s from ServerEvents
You can add, remove, and modify recipes with KubeJS. The wiki has a page on that!
If you want to learn how to add recipes to any mod, click the Custom button.
check the custom page
custom items?
After a lot of fiddling around we got the json to work, it had something to do with the path
i appreciate y'all trying to help my buddy here
the path where the json goes
in kubejs/data
it was not being read correctly
oh i thought youre using custom recipes instead of json files


