#just a lot of questions about Java and Blockbench

11 messages ยท Page 1 of 1 (latest)

late willow
#

I have a couple questions:

A. How do I make a block simmilar to cherry blossom leaves for java, where they are placed on top of a block but are intangible

B. How do I setup the blocks to actually work, like can be mined and such (i think this requires a json but idk how to do those)

C. Since im trying to make a bunch of blocks for a personal project on blockbench, how would i put these blocks into the game?

I hope some people can help with at least SOME of these! Thanks

modern widgetBOT
#

Welcome to the help forum! Once your question has been resolved, please mark the post as closed by typing !close.

modern widgetBOT
#

(Result for "export-vanilla-java-models")
IMPORTANT:
-Any missing folders need to be created if they aren't there yet!
-Do the steps in this exact order!

Step 0: Setup
**-In Blockbench: **
Use the Java Block/Item format. (Check at File > Project... in Blockbench).
If it's not convert it via File > Convert Project. ATTENTION: This can break the model due to format specific restrictions! (see !faq java-rotation and !faq java-sizelimit)

-Setting up your pack:
Create a folder inside Minecraft's resource pack folder (aka "YourPack" for the rest of this guide). It is usually at C:\Users\INSERT_YOUR_PC_USER_HERE\AppData\Roaming\.minecraft\resourcepacks. Put this file https://cdn.discordapp.com/attachments/883449189533638777/899224109869846558/pack.mcmeta in YourPack.
Optionally: Edit it in a text editor and adjust the value of "pack_format" (see https://minecraft.fandom.com/wiki/Pack_format). This only affects whether your pack is shown as "outdated" ingame or not.

Step 1: Saving Textures
Save all your textures first.
To do that either:
-Ctrl+S, or
-click ๐Ÿ’พ next to the texture(s), or
-rightclick the texture(s) and click "Save As"
Save them directly within YourPack/assets/minecraft/textures/block/... or /item/....
Reason: If you don't do that or move/rename the files later your model won't find the textures anymore.
(For custom subfolders check !faq java-1.19.3-textures)

Don't use capital letters nor spaces in file/folder names. The model will be invalid ingame!.

Step 2: Exporting the Model
After saving the textures use File > Export > Block/Item export it to YourPack/assets/minecraft/models/item (or /block, but only for placed down blocks.).
Name the file based on the id of the thing you wanna replace (totem_of_undying for a Totem of Undying for example). Check the default pack if you are not sure what the exact name is (see !faq default-pack for more information)

hallow osprey
#

are you planning to make a mod or a resource pack?

late willow
late willow
#

I meant modpack

#

๐Ÿ˜‚๐Ÿ˜…

hallow osprey
#

lol

hallow osprey
#

anyway, i think this should be categorized as MCreator or modded at least