When you create a custom item, you need to provide ItemCameraTransforms for it. This project is an interactive tool to help you get the transforms right by interactively adjusting them.
How to use:
- Place the ItemCamera somewhere in the player's hotbar
- Hold the Item you want to modify in the player's hand
- Use the up/down keys to move up and down the menu.
- Use the left/right keys to edit the value (eg scaleX)
- To select a different view (first person, third person, gui, head (for helmet)) change the VIEW menu item
- To reset the parameters for the current view, select the RESET menu item and press left or right.
- You can also copy parameters from a vanilla item to your custom item:
- a) Hold the vanilla item in your hand
- b) Select RESET, press left or right.
- c) Hold your custom item in your hand.
- When your item looks right, select PRINT and press left or right to print the current parameters to the console
- Copy the appropriate lines from the console to your item model json file
The item will appear in the Helpers tab in the creative inventory.
For background information on
- items: see here http://greyminecraftcoder.blogspot.com/2013/12/items.html
- rendering items: see here http://greyminecraftcoder.blogspot.com.au/2014/12/item-rendering-18.html
- This link describes the structure of the JSON Item Model file (see the Item Models section halfway down):
- http://minecraft.gamepedia.com/Block_models