#is it possible to make custom machinery with KJS?
16 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
I think Lat just pushed an update for 1.20 that allows for the creation of BEs, you could try that out
[Quote ➤](#1153681912557219840 message) ```js
StartupEvents.registry('block', event => {
event.create(BLOCK NAME).blockEntity(entity => {
entity.inventory(WIDTH, HEIGHT)
entity.rightClickOpensInventory()
})
})
literally all you need is this and a texture
similar ticket
BE’s are block entites? Right?
Also, are block entities like machines?
Do you need some other addon for the GUI of the block entity?
machines are block entities
no needed extra addon, like footer said lat has already implimented this in yesterday's update
You can check out the alpha version of greg tech, it is on 1.20 and allows you to make custom machines with kubejs https://www.curseforge.com/minecraft/mc-mods/gregtechceu-modern/files
But what if I want it to have a GUI? Is that possible with KubeJS too?
it comes with an inventory, not sure about how customizable the gui will be, youd have to mess around with it
I see
🤔 do they have a wiki for making these machines?
Not really but they are working on it, you can go to their dc and ask