#Export a block in java 1.21.5

13 messages · Page 1 of 1 (latest)

spring river
#

Hi, Im new here, and new to creating stuff for minecraft. So my issues can be not just with blockbench itself, can be with how minecraft resource pack works.

Im trying to create a resource pack for java 1.21.5, and I started want to make my own custon blocks basically.
Now, Im working with the latest Blockbench version, I create the model with no issues, texture it with no issues, and Im trying to export it into the game, and I seriously dont understand how to.

So, I export it in json format, and i save it in the folder assets - minecraft - models - block
And I save the texture in the png format (with same name), in the folder assets - minecraft - textures - blocks

And the block doesnt show up in the game.

I have a few questions, because my idea is that it doesnt show because im missing some files or some "code" in the json, since I dont modify anything inside the json itself.
Or can be because I basically not create the entity or the item? Cause Im really unsure if I have to do that. Like the little cube version in my hotbar is something what I have to do or something that the game does by itself while loading the resource pack?

Also Ive seen many people using Optifine as a modding base, but Im not using anything, my resource pack is vanilla, so its fine if I not use anything related to optifine?

The resource pack Im creating also contains some re-textured minecraft blocks, and they show up normally into the game, so the resource pack itself its working properly. Just I dont understand how to make the new blocks work.

dense deltaBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

paper pagoda
#

Cause that .json file's name should be the only thing that determines what block it replaces ingame

#

(or, if that block has several models, which of those models it replaces)

spring river
#

hmmmm, im trying to make a totally new block
that would replace something in the game?
Im confused lol

#

I call it wall_0012.json btw

paper pagoda
#

(nor can a datapack)

spring river
#

oh

#

i kinda feel dumb right now lol

#

so if i make a custom model and use it to replace a minecraft vanilla block i can via resource pack, if i want it as a 100% new block, i need make a mod, i understand correct?

paper pagoda
#

yup