90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Item Transform Helper

Missing Versions

This mod is missing some versions (1.1 and 1.2 for MC 1.8 and 1.0.0 up to 1.3 deobfuscated for MC 1.8, 1.10.2a and most likely also some other ones). If you still have access to these "missing" versions, please contact me and I will gladly add them to this project as an archive!

Description

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 TheGreyGhost for creating the mod and maintaining it until 1.16.1, ThexXTURBOXx for updating to 1.11.2 and Architectury (Forge + Fabric + Quilt) 1.16.5+, Romejanic for updating to 1.12.2, and to lehrj for updating to 1.16.1!

Original Video Showcase

Watch the video

Other Links


Project members

HyperSpeeed

Owner

Details

Licensed Unlicense
Published a year ago
Updated 23 days ago