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
  • Shield CustomModelData
  • CrossBow CustomModelData
  • Bow CustomModelData
  1. ResourcePack Guide
  2. Beginning
  3. models
  4. ItemsModels & CustomModelData

custommodeldata extras (old)

Shield CustomModelData

{
    "parent": "builtin/entity",
    "textures": {
        "particle": "block/dark_oak_planks"
    },
    "display": {
        "thirdperson_righthand": {
            "rotation": [ 0, 90, 0 ],
            "translation": [ 10, 6, -4 ],
            "scale": [ 1, 1, 1 ]
        },
        "thirdperson_lefthand": {
            "rotation": [ 0, 90, 0 ],
            "translation": [ 10, 6, 12 ],
            "scale": [ 1, 1, 1 ]
        },
        "firstperson_righthand": {
            "rotation": [ 0, 180, 5 ],
            "translation": [ -10, 2, -10 ],
            "scale": [ 1.25, 1.25, 1.25 ]
        },
        "firstperson_lefthand": {
            "rotation": [ 0, 180, 5 ],
            "translation": [ 10, 0, -10 ],
            "scale": [ 1.25, 1.25, 1.25 ]
        },
        "gui": {
            "rotation": [ 15, -25, -5 ],
            "translation": [ 2, 3, 0 ],
            "scale": [ 0.65, 0.65, 0.65 ]
        },
        "fixed": {
            "rotation": [ 0, 180, 0 ],
            "translation": [ -2, 4, -5],
            "scale":[ 0.5, 0.5, 0.5]
        },
        "ground": {
            "rotation": [ 0, 0, 0 ],
            "translation": [ 4, 4, 2],
            "scale":[ 0.25, 0.25, 0.25]
        }
    },
    "overrides": [
        {"predicate": {"blocking": 1},"model": "item/shield_blocking"},
	{"predicate":{"custom_model_data":83650},"model":"custom/item/shield_cobalt"},
	{"predicate":{"custom_model_data":83650,"blocking": 1},"model":"custom/item/shield_cobalt_blocking"},
	{"predicate":{"custom_model_data":83651},"model":"custom/item/shield_obsidian"},
	{"predicate":{"custom_model_data":83651,"blocking": 1},"model":"custom/item/shield_obsidian_blocking"}
    ]
}

CrossBow CustomModelData

{
	"parent": "item/generated",
	"textures": {
		"layer0": "item/crossbow_standby"
    },
    "display": {
        "thirdperson_righthand": {
            "rotation": [ -90, 0, -60 ],
            "translation": [ 2, 0.1, -3 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "thirdperson_lefthand": {
            "rotation": [ -90, 0, 30 ],
            "translation": [ 2, 0.1, -3 ],
            "scale": [ 0.9, 0.9, 0.9 ]
        },
        "firstperson_righthand": {
            "rotation": [ -90, 0, -55 ],
            "translation": [ 1.13, 3.2, 1.13],
            "scale": [ 0.68, 0.68, 0.68 ]
        },
        "firstperson_lefthand": {
            "rotation": [ -90, 0, 35 ],
            "translation": [ 1.13, 3.2, 1.13],
            "scale": [ 0.68, 0.68, 0.68 ]
        }
    },
    "overrides": [
		
        {"predicate": {"pulling": 1}, "model": "item/crossbow_pulling_0"},
        {"predicate": {"pulling": 1, "pull": 0.58}, "model": "item/crossbow_pulling_1"},
        {"predicate": {"pulling": 1, "pull": 1.0}, "model": "item/crossbow_pulling_2"},
        {"predicate": {"charged": 1}, "model": "item/crossbow_arrow"},
        {"predicate": {"charged": 1, "firework": 1}, "model": "item/crossbow_firework"},

	{"predicate": {"custom_model_data": 83650}, "model": "custom/item/dragonbone_crossbow_standby"}, 
	{"predicate": {"custom_model_data": 83650, "pulling": 1}, "model": "custom/item/spartanweaponry/dragonbone_crossbow_pulling_0"}, 
	{"predicate": {"custom_model_data": 83650, "pull": 0.58, "pulling": 1}, "model": "custom/item/dragonbone_crossbow_pulling_1"}, 
	{"predicate": {"custom_model_data": 83650, "pull": 0.9, "pulling": 1}, "model": "custom/item/dragonbone_crossbow_pulling_2"}, 
	{"predicate": {"custom_model_data": 83650, "charged": 1}, "model": "custom/item/dragonbone_crossbow_loaded"}, 
	{"predicate": {"custom_model_data": 83650, "pull": 1.0, "pulling": 1}, "model": "custom/item/dragonbone_crossbow_firing"},

	{"predicate": {"custom_model_data": 83651}, "model": "custom/item/dragonbone_flamed_crossbow_standby"}, 
	{"predicate": {"custom_model_data": 83651, "pulling": 1}, "model": "custom/item/dragonbone_flamed_crossbow_pulling_0"}, 
	{"predicate": {"custom_model_data": 83651, "pull": 0.58, "pulling": 1}, "model": "custom/item/dragonbone_flamed_crossbow_pulling_1"}, 
	{"predicate": {"custom_model_data": 83651, "pull": 0.9, "pulling": 1}, "model": "custom/item/dragonbone_flamed_crossbow_pulling_2"}, 
	{"predicate": {"custom_model_data": 83651, "charged": 1}, "model": "custom/item/dragonbone_flamed_crossbow_loaded"}, 
	{"predicate": {"custom_model_data": 83651, "pull": 1.0, "pulling": 1}, "model": "custom/item/dragonbone_flamed_crossbow_firing"}+
    ]
}

Bow CustomModelData

{
  "parent": "item/generated",
  "textures": {
    "layer0": "item/bow"
  },
  "display": {
    "thirdperson_righthand": {
      "rotation": [
        -80,
        260,
        -40
      ],
      "translation": [
        -1,
        -2,
        2.5
      ],
      "scale": [
        0.9,
        0.9,
        0.9
      ]
    },
    "thirdperson_lefthand": {
      "rotation": [
        -80,
        -280,
        40
      ],
      "translation": [
        -1,
        -2,
        2.5
      ],
      "scale": [
        0.9,
        0.9,
        0.9
      ]
    },
    "firstperson_righthand": {
      "rotation": [
        0,
        -90,
        25
      ],
      "translation": [
        1.13,
        3.2,
        1.13
      ],
      "scale": [
        0.68,
        0.68,
        0.68
      ]
    },
    "firstperson_lefthand": {
      "rotation": [
        0,
        90,
        -25
      ],
      "translation": [
        1.13,
        3.2,
        1.13
      ],
      "scale": [
        0.68,
        0.68,
        0.68
      ]
    }
  },
	"overrides": [

	{"predicate": {"pulling": 1}, "model": "item/bow_pulling_0"},
	{"predicate": {"pulling": 1, "pull": 0.65}, "model": "item/bow_pulling_1"},
	{"predicate": {"pulling": 1, "pull": 0.9}, "model": "item/bow_pulling_2"},

	{"predicate": {"custom_model_data":83650}, "model": "custom/item/dragonbone_bow_standby"},
       	{"predicate": {"pulling": 1, "custom_model_data": 83650}, "model": "custom/item/dragonbone_bow_pulling_0"},
        {"predicate": {"pulling": 1, "pull": 0.65, "custom_model_data": 83650}, "model": "custom/item/dragonbone_bow_pulling_1"},
        {"predicate": {"pulling": 1, "pull": 0.9, "custom_model_data": 83650}, "model": "custom/item/dragonbone_bow_pulling_2"},

	{"predicate": {"custom_model_data":83651}, "model": "custom/item/dragonbone_longbow_standby"},
       	{"predicate": {"pulling": 1, "custom_model_data": 83651}, "model": "custom/item/dragonbone_longbow_pulling_0"},
        {"predicate": {"pulling": 1, "pull": 0.65, "custom_model_data": 83651}, "model": "custom/item/dragonbone_longbow_pulling_1"},
        {"predicate": {"pulling": 1, "pull": 0.9, "custom_model_data": 83651}, "model": "custom/item/dragonbone_longbow_pulling_2"}
  ]
}
Previouscustommodeldata (old)NextUnderstanding the system the new item system

Last updated 3 months ago