#Deployer from create mod
92 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
here is the code i forgo to put in the post
onEvent('recipes', event => {
event.recipes.create.deploying('appliedenergistics2:printed_logic_processor', ['create:golden_sheet','appliedenergistics2:logic_processor_press']).keepIngredient('appliedenergistics2:logic_processor_press')
})
onEvent('recipes', event => {
event.recipes.create.deploying('appliedenergistics2:printed_logic_processor', ['create:golden_sheet','appliedenergistics2:logic_processor_press']).keepIngredient('appliedenergistics2:logic_processor_press')
}
ProbeJS is an addon mod for KubeJS that generates typings files for VSCode, allowing VSCode to offer autocompletions for a ton of things!
Mod by @feral crane
??kjslogs
You can find your KubeJS server log in /minecraft/logs/kubejs/server.log.
If you are on 1.18 or below it will be called server.txt.
Please send it if asked, as it contains helpful information.
im using curseforge where is generated?
[Quote ➤](#1154578707743260753 message) You can find your KubeJS server log in /minecraft/logs/kubejs/server.log.
If you are on 1.18 or below it will be called server.txt.
Please send it if asked, as it contains helpful information.
It Takes No Input.
i tested with input and without it keep consuming
then this
on curseforge click on the three dots and open folder, then you can follow the path
Paste version of message.txt from @urban tapir
Oh, you're using 1.16 is there even a deploying recipe Type?
Cause searching the create GitHub there isn't
At least Not where it's located in 1.18+
i cannot use because is 1.16.5 and dont have the code?
try .keepHeldItem(true)
If that doesn't work you have to use event.custom
??kjswiki
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.
wait this is 1.16?
nvm
I'm pretty sure the syntax is the same for custom recipes
so why this dont function?
it is, just the event is different.
wdym?
so to add a deployer recipe you do something like this:
event.custom({
type: "create:deploying",
ingredients: [
{"item": "create:golden_sheet"},
{"item": "appliedenergistics2:logic_processor_press"}
],
"results": [
{"item": "appliedenergistics2:printed_logic_processor"}
],
"keepHeldItem": true
})
Paste version of server.txt from @urban tapir
remove ur old thingy?
yeah
🗒️**Send the code!**🗒️
You may have an issue with a KubeJS script and you explain it to the best of your ability yet without the actual code in question we have very little to go off of in trying to assist you.
i send all the code here?
Paste version of script.js from @urban tapir
Here's how Create: Above & Beyond does it:
function ifiniDeploying(output, input, tool) {
return {
"type": "create:deploying",
"ingredients": [
Ingredient.of(input).toJson(),
Ingredient.of(tool).toJson()
],
"results": [
Item.of(output).toResultJson()
],
"keepHeldItem": true
}
}
this looks right...
and the error is always a NullPointerException?
with this code dont work
in using 1.16.5
OH
i found it
you have quotes inside your quotes
- {"item": "'appliedenergistics2:quartz_block'"},
+ {"item": "appliedenergistics2:quartz_block"},
//start the sequenced assembly
event.recipes.createSequencedAssembly(/*output*/'minecraft:diamond', /*input*/'minecraft:dirt', [
event.recipes.createFilling('minecraft:dirt', ['minecraft:dirt', Fluid.of("minecraft:water"), 500)]),
// ...
// More recipes here
// ...
]).transitionalItem('minecraft:dirt')
.loops(4)
oh sorry
fixed
"minecraft:water" instead of MC("water")
lat hates it when i do that 
but to be fair this one was copied from C:AB
Please close your ticket (with /ticket close or the button atop this thread) once you resolved your issue! This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.
Do you have any other questions regarding your issue? Feel free to ask!
Note: You generally should create a new post for unrelated issues.
bye