Skip to content

A Minecraft helper tool to interactively adjust the rotation, position, and scale of Items.

License

Notifications You must be signed in to change notification settings

ThexXTURBOXx/ItemTransformHelper

 
 

Repository files navigation

Item Transform Helper

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:

  1. Place the Camera item somewhere in the player's hotbar
  2. Hold the Item you want to modify in the player's hand
  3. Use the up/down keys to move up and down the menu.
  4. Use the left/right keys to edit the value (e.g. scaleX)
  5. To select a different view (e.g. first person, third person) use left/right to change the VIEW menu item.
  6. To modify the transform for an item on the ground:
    • Throw your Item onto the ground, and then put another copy of your Item into the player's hand
    • Use left/right to change the VIEW menu item to grnd
      Use the same technique for items in the gui, on your head (eg pumpkin), fixed (in picture frames), or in the player's left hand.
  7. To reset the parameters for the current view, select the RESET menu item and press left or right. Use RESET ALL (RSTALL) to reset the parameters for all views.
    You can also copy parameters from a vanilla item to your custom item:
    • Hold the vanilla item in your hand
    • Select RESET or RSTALL, press left or right.
    • Hold your custom item in your hand.
  8. When your item looks right, select PRINT and press left or right to print the current parameters to the console
  9. 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

As an alternative to the Item Transform Helper, you can also use BlockBench (https://blockbench.net/) to determine the correct transforms for your model, i.e. either

  1. Create a new model in BlockBench; or
  2. Import an existing model (either the json model file, or the item "generated" texture)

Thanks to ThexXTURBOXx for updating to 1.11.2 and Architectury (Forge + Fabric) 1.18.1, Romejanic for updating to 1.12.2, and to lehrj for updating to 1.16.1!

Licence Info

See here.

About

A Minecraft helper tool to interactively adjust the rotation, position, and scale of Items.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Java 100.0%