Item 16x16 in inventory and 32x32 in hand

Started by adik123 on

Topic category: Advanced modding

Last seen on 13:52, 5. Sep 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item 16x16 in inventory and 32x32 in hand
Wed, 08/28/2024 - 09:34 (edited)

i would want to make an item that has 32x in hand and 16x in inventory but it doesnt work and i have this code for main item:

{
"loader": "forge:separate_transforms",
"base": {
"parent": "ending_biomes:item/garnit_sword_big",
"textures": {
"0": "ending_biomes:item/netherite_sword_big"
}
},
"perspectives": {
"gui": {
"parent": "item/handheld",
"textures": {
"layer0": "ending_biomes:item/netherite_sword_small"
}
},
"ground": {
"parent": "item/handheld",
"textures": {
"layer0": "ending_biomes:item/netherite_sword_small"
}
},
"fixed": {
"parent": "item/handheld",
"textures": {
"layer0": "ending_biomes:item/netherite_sword_small"
}
}
}
}

16x

{
"parent": "item/handheld",
"textures": {
"layer0": "ending_biomes:item/netherite_sword_small"
}
}

32x

{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "ending_biomes:item/netherite_sword_big"
},
"display": {,
"thirdperson_righthand": {
"rotation": [ 0, 270, 40 ],
"translation": [ 0, 16, 3 ],
"scale": [ 2, 2, 1.2 ]
},
"thirdperson_lefthand": {
"rotation": [ 0, -270, -40 ],
"translation": [ 0, 16, 3 ],
"scale": [ 2, 2, 1.2 ]
},
"firstperson_righthand": {
"rotation": [ 0, 270, 40 ],
"translation": [ 0, 10, 4 ],
"scale": [ 2, 2, 2 ]
},
"firstperson_lefthand": {
"rotation": [ 0, -270, -40 ],
"translation": [ 0, 10, 4 ],
"scale": [ 2, 2, 2 ]
}
}
}
Edited by adik123 on Wed, 08/28/2024 - 09:34
Last seen on 13:52, 5. Sep 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
btw i am on 2023.4 mcreator…
Wed, 08/28/2024 - 09:35

btw i am on 2023.4 mcreator and version 1.20.1

Last seen on 13:52, 5. Sep 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
fixed now base texture { …
Fri, 08/30/2024 - 08:54

fixed now base texture

{
"parent": "item/handheld",
"loader": "forge:separate_transforms",
"base": {
"parent": "ending_biomes:item/garnit_sword_big"
},
"perspectives": {
"gui": {
"parent": "ending_biomes:item/garnit_sword_small"
},
"fixed": {
"parent": "ending_biomes:item/garnit_sword_small"
},
"ground": {
"parent": "ending_biomes:item/garnit_sword_small"
}
}
}

16x

{
"parent": "item/handheld",
"textures": {
"layer0": "ending_biomes:item/garnit_sword_small"
}
}

32x

{
"parent": "item/handheld",
"textures": {
"layer0": "ending_biomes:item/garnit_sword_big"
},
"display": {
"thirdperson_righthand": {
"rotation": [
0,
270,
40
],
"translation": [
0,
16,
3
],
"scale": [
2,
2,
1.3
]
},
"thirdperson_lefthand": {
"rotation": [
0,
-270,
-40
],
"translation": [
0,
16,
3
],
"scale": [
2,
2,
1.3
]
},
"firstperson_righthand": {
"rotation": [
0,
270,
40
],
"translation": [
0,
10,
4
],
"scale": [
2,
2,
1.3
]
},
"firstperson_lefthand": {
"rotation": [
0,
-270,
-40
],
"translation": [
0,
10,
4
],
"scale": [
2,
2,
1.3
]
}
}
}