EliteFantasy ResourcePack Guide
  • ResourcePack Guide
    • Introduction
    • Beginning
      • lang
      • sounds
      • texts
      • particles
      • atlases
      • fonts
      • blockstates
      • textures
        • Equipment
        • Entity Textures
      • models
        • Blockbench Models
        • ItemsModels & CustomModelData
          • custommodeldata (old)
          • custommodeldata extras (old)
        • Understanding the system the new item system
      • shaders
  • Components Guide
    • Introduction
      • Components
  • Discord
    • Discord
Powered by GitBook
On this page
  • Useful Parents
  • minecraft:item/generated
  • minecraft:item/handheld
  • minecraft:item/trident_throwing
  • minecraft:item/trident_in_hand
  • minecraft:block/crop
  • minecraft:block/leaves
  • minecraft:block/cross
  • minecraft:block/cube_all
  • minecraft:block/cube_column
  • minecraft:block/cube_column_horizontal
  • minecraft:block/template_command_block
  • minecraft:block/cube_column_uv_locked_x
  • minecraft:block/cube_column_uv_locked_y
  • minecraft:block/cube_column_uv_locked_z
  • minecraft:block/pressure_plate_up
  • minecraft:block/template_anvil
  1. ResourcePack Guide
  2. Beginning

models

Models is where Minecraft models are literally defined and you can find them at

📦resource_pack.zip
  └── 📁assets
       └── 📁minecraft
           └── 📁models
               └── 📁item
                   └── 📑diamond.json

models are defined by assets/<namespace>/models/example.json which inside a json is put as <namespace>:example.json

An example of a common item would be

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "minecraft:item/diamond"
  }
}

and something like a sword

{
  "parent": "minecraft:item/handheld",
  "textures": {
    "layer0": "minecraft:item/diamond_sword"
  }
}
Parameter
Description

parent

The parents are reference to other models that will copy exactly that model and will make the changes that are specified, in this case it is reference to assets/minecraft/models/item/handheld.json

textures

here the texture is defined by models, in the case of item/generated it has “layer0” and “layer1” which is used in armor trims

example of layer0 & layer1

diamond_helmet_iron_trim.json

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "minecraft:item/diamond_helmet",
    "layer1": "minecraft:trims/items/helmet_trim_iron"
  }
}

Useful Parents

minecraft:item/generated

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "minecraft:item/allay_spawn_egg"
  }
}

minecraft:item/handheld

{
  "parent": "minecraft:item/handheld",
  "textures": {
    "layer0": "minecraft:item/diamond_sword"
  }
}

minecraft:item/trident_throwing

{
  "parent": "minecraft:item/trident_throwing",
  "textures": {
    "layer0": "minecraft:item/trident",
    "particle": "minecraft:item/trident"
  }
}

minecraft:item/trident_in_hand

{
  "parent": "minecraft:item/trident_in_hand",
  "textures": {
    "layer0": "minecraft:item/trident",
    "particle": "minecraft:item/trident"
  }
}

minecraft:block/crop

{
  "parent": "minecraft:block/crop",
  "textures": {
    "crop": "minecraft:block/wheat_stage0"
  }
}

minecraft:block/leaves

{
    "parent": "minecraft:block/leaves",
    "textures": {
        "all": "minecraft:block/custom/palm_leaves"
    }
}

minecraft:block/cross

{
    "parent": "minecraft:block/cross",
    "textures": {
        "cross": "minecraft:block/custom/palm_sapling"
    }
}

minecraft:block/cube_all

{
    "parent": "minecraft:block/cube_all",
    "textures": {
        "all": "minecraft:block/custom/palm_planks"
    }
}

minecraft:block/cube_column

{
    "parent": "minecraft:block/cube_column",
    "textures": {
        "end": "minecraft:block/custom/stripped_palm_log_top",
        "side": "minecraft:block/custom/stripped_palm_log"
    }
}

minecraft:block/cube_column_horizontal

{
    "parent": "minecraft:block/cube_column_horizontal",
    "textures": {
        "end": "minecraft:block/custom/palm_log",
        "side": "minecraft:block/custom/palm_log"
    }
}

minecraft:block/template_command_block

{
  "parent": "minecraft:block/template_command_block",
  "textures": {
    "back": "minecraft:block/chain_command_block_back",
    "front": "minecraft:block/chain_command_block_front",
    "side": "minecraft:block/chain_command_block_side"
  }
}

minecraft:block/cube_column_uv_locked_x

{
  "parent": "minecraft:block/cube_column_uv_locked_x",
  "textures": {
    "end": "minecraft:block/cherry_log_top",
    "side": "minecraft:block/cherry_log"
  }
}

minecraft:block/cube_column_uv_locked_y

{
  "parent": "minecraft:block/cube_column_uv_locked_y",
  "textures": {
    "end": "minecraft:block/cherry_log_top",
    "side": "minecraft:block/cherry_log"
  }
}

minecraft:block/cube_column_uv_locked_z

{
  "parent": "minecraft:block/cube_column_uv_locked_z",
  "textures": {
    "end": "minecraft:block/cherry_log_top",
    "side": "minecraft:block/cherry_log"
  }
}

minecraft:block/pressure_plate_up

{
  "parent": "minecraft:block/pressure_plate_up",
  "textures": {
    "texture": "minecraft:block/cherry_planks"
  }
}

minecraft:block/template_anvil

{
  "parent": "minecraft:block/template_anvil",
  "textures": {
    "top": "minecraft:block/chipped_anvil_top"
  }
}
PreviousEntity TexturesNextBlockbench Models

Last updated 3 months ago