#Blockbench > Minecraft

10 messages · Page 1 of 1 (latest)

gusty bolt
#

Hi. I have been building for quite some years on minecraft yet felt like it weren't enough, therefore I tried exploring and stumbled upon Blockbench, Even though I am absolutely fascinated I have litteraly ZERO CLUE on where to begin to eventually end up with a custom model (example. A desc) in minecraft. I have this mod called Minecraft Entity Wizard in front of me but I'm afraid this only is supposed to be used for bedrock.

dusk tendonBOT
#
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.

hasty jay
#

Java Edition has no concept of adding new items/blocks/entites to the game (without mods), so there is no wizard for the Java Edition

gusty bolt
#

Oh - I have been playing this server for a while on Java and they had all these beautiful custom things. Is there a way ?

hasty jay
#

!faq custom_model_data

dusk tendonBOT
# hasty jay !faq custom_model_data
FAQ
Java: Custom Model Data

!faq set custom_model_data Disclaimer: This only works for items (not placed blocks!) and only if you are in Java Edition 1.14 or later!

Example to give a stick 3 new models:
You'd place this file in YourResourcePack/assets/minecraft/models/item and call it stick.json.

stick.json

{
    "parent": "item/generated",
    "textures": {
        "layer0": "item/stick"
    },
    "overrides": [
        { "predicate": {"custom_model_data": 1}, "model": "item/custom_stick"},
        { "predicate": {"custom_model_data": 2}, "model": "custom/branch"},
        { "predicate": {"custom_model_data": 3}, "model": "block/stone"}
    ]
}``` Ingame you can give yourself one of the custom sticks by doing `/give <player> stick{CustomModelData:X}` (X being replaced by the number you want)

**Keep in mind:** 
Not all item models look like this. The overrides part basically always work this way, but the part before it has to have the **exact same** information as the default model  (assuming you don't wanna change how the normal item behaves/looks).
Not every item model uses "item/generated" as parent and defines one texture (for example **shields, bows, carved pumpkins** etc.). Additionally, if the default model already uses overrides (like for shields etc.) you need to add your overrides to the existing ones.

Hence always check the relevant model file in the default pack's models/**item** folder. (Type `!faq default-pack` for more info).
Preferably copy the default model into your pack and add your custom_model_data overrides into it.

**General knowledge/tips**
A model path is **always** relative to the "models" folder of your pack.
So `"item/custom_stick"` will load the model in `YourPack/assets/minecraft/models/`**`item`** called **custom_stick**.json;
while `"custom/branch"` will load the model in `YourPack/assets/minecraft/models`**`custom`** called **branch**.json;
and so on.
gusty bolt
hasty jay
#

in 1.20.6 and newer the ingame command would be
/give <player> stick[custom_model_data=X] btw.