#I want to make a custom machine.
69 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
yes
https://www.curseforge.com/minecraft/mc-mods/compressed-mod you could probably add recipes to the compactor from this mod to do it
it does exactly what youre looking for with blocks like cobblestone, im sure youd be able to do the same with other items, youd have to look into it though
I think it's not exactly what I want
I'd rather make the custom machine
how do I start?
??kjswiki
You can make custom blocks with KubeJS, and the wiki has a page on them!
then in a right click event you would have it consume the item and add a persistent data that when it reaches 9 (or however many items youre doing) would spawn in the appropriate block
the hopper or pipes works as right click?
and, can I make the 9 a variable so I can set how much it takes in a craft js?
hmm hoppers and pipes i have not thought of
like i said the mod that i linked probably has that functionality and you could edit it with kubejs maybe, up to you tho
I read It but i'm not very sure how to make it... do stuff
well thats where the right click event comes in
im not sure how to make hoppers usable on it tho
hmm
i mean yeah im sure you could create a container and when the container contains a certain nbt value it could spit out an output?
not sure how to go about that tho
the part with fire or ice below it is doable right?
hmm
thats an interesting thing because youd somehow have to detect if a block is right next to the container
modular machinery can
"Check/place/replace/break/destroy nearby blocks."
I think ill create the machine with Custom Machinery and only add recipes with the KJS
(do you know how this mod works tho?)
i do not 😄
INDEED
lmao
ok so if I discover this ill be able to make my modpack be very greggy
I HAvE TO
WISH ME GL
ill be back with news, dont wait me for the dinner...
you got this my man
(just to make sure the datapacks folder goes inside my modpack folder or kube js?)
the modpack yeah this is independent
just use the kubejs/data folder
really?
also, don't ask why I'm awake at 3am 
yes
I didnt in the last days, I wont today
l00l

which syntax do I need to start a datapack
its a json
I think its just brackets
I hope it worked
custom machinery machines are kept in datapacks and they're written as json
to make a custom machinery(or any other mod) datapack
then that goes into the kubejs>data folder for you to edit in
ok so
im looking on the custom machinery wiki
ServerEvents.recipes(event =>{
event.recipes.custommachinery.custom_machine('custommachinery:light/composter', 100)
.requireFluid(Fluid.of('minecraft:water'))
.requireFluid(Fluid.of('minecraft:lava'))
.produceItem(Item.of('minecraft:obsidian'))
})```
whats wrong here?