#how to upload a blender model to kubejs
1 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of blockaltar.obj from @minor solar
define "use it in kubejs"
if you wanna use it as a block or something, that has nothing to do with KJS
thats vanilla minecraft resourcepack related question
I want to add a block with this model
You can't do that, the closest you get in minecraft to doing that is using Blockbench.
And even Blockbench, just uses the standard MC model files.
It just handles all the placements of the cubes and textures for you
This is due to how MC renders, everything has to be rendered using cubes, so if your model doesn't use nothing but cubes to form the model, it would break MC, which is why it doesn't support it, to prevent those issues.
there are mods that use obj files, but if you look at their code, they just import it and use the raw data to make the model themselves
I'm failry certain it still has to be rendered using cubes if I'm not mistaken.
yep
If anything, I'd recommend just using Blockbench to make your model, export it and then create a block that uses the
.model()
builder method to link the model to the block.
the model that I want to put is taken from the mod, I need the same block, but I need to impose a different texture on it. .obj model cannot be used in kubejs?
As far as I'm aware, no. You might be able to use the same method they use to map the model to a model file, which is what I assume they do. And then do that in KubeJS, but otherwise, no it's not a native feature
I tried to take all the files that are associated with this model and specified each of them as a file with a model, nothing happened