2D GUI Icon, 3D hand model tutorial, blockbench/mcreator

Started by TheMiself on

Topic category: General discussion

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2D GUI Icon, 3D hand model tutorial, blockbench/mcreator

For those who create an item in Blockbench and want the gui icon to be 2D while still preserving the 3D model, here is an example of how you can do it by modifying the .JSON file.

{
	"loader": "forge:separate-perspective",
"gui_light": "front",
	"base":
	{
    "parent": "your_mod:custom/big_sword",
    "textures":
    {
        "0" : "your_mod:blocks/big_sword_texture"
    },
		"display":
  		{
    		"thirdperson_righthand": {
			"translation": [0, 10.5, 0.75],
			"scale": [1, 1.6, 1.6]
		},
		"thirdperson_lefthand": {
			"translation": [-1.5, 10.5, 0.75],
			"scale": [1, 1.6, 1.6]
		},
		"firstperson_righthand": {
			"rotation": [-35.27, -10.58, -8.56],
			"translation": [2, 6.75, 0]
		},
		"firstperson_lefthand": {
			"rotation": [148.06, 12.64, -174.67],
			"translation": [2.5, 6, -1.5]
		},
		"ground": {
			"translation": [0, 10.75, 0],
			"scale": [1, 1.25, 1.31]
		},
		"fixed": {
			"rotation": [0, -90, 0],
			"translation": [0, -4.75, 0]
		}
  		}
	},
	"perspectives":
	{
		"gui":
		{
			"parent": "item/generated",
			"textures":
			{
				"layer0": "your_mod:items/bigswordicon"
			},
			"gui_light": "front"
		}
	}
}
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is basically a copy…
Wed, 06/21/2023 - 16:22

This is basically a copy-paste, plus the fact that it doesn't even work is stunning as well

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, bro. You should know…
Thu, 06/22/2023 - 07:59

Thanks, bro. You should know how long I've been trying to do this myself...

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@HiroshiYT, it does work you…
Wed, 06/28/2023 - 21:19

@HiroshiYT, it does work you just doing it wrong