Gesture icon

Here you can understand how the gesture icons work and learn how to make your own and place them correctly in the plugin.

Creating gesture image:

1- Open MagicGestures resourcepack - Assets/magicgestures/textures/custom/menu/gestures.png

2- Open gesture.png image with image editor (Aseprite or PhotoShop)

3- Save an screenshot of your gesture( I have painted the texture and View shading to disable)

4- Paste on your new gesture image on editor an adjust inside 32x32 pixels frame.

5- Fixing optifine shift bugs. -Set a pixel on each corner and low the opacity to 10%

6- Save the imagen on the same route.

How does MagicGesture take images from gesture.png image?

MagicGestures uses 4 rows for the "All" Gui and each row gets a new font(gui_all_row_<number_row>) because each font has registered the same gestures only with a different height to fit well in the slots.

The fonts can be found in: Assets/minecraft/fonts/gestures/

  1. Open the gui_all_row_1.json to get the correct unicode character.

  1. This group of Unicode fonts represents the gesture image on each row

  1. Copies the unicode char that belongs to the new gesture image

Adding the image to gui and configuration file.

1. Edit on MagicGestures/gestures/gestures.yml configuration

2. Create a new configuration for the new gesture.

3. Paste the unicode char.

4. Set each animations from you gesture.bbmodel

  1. If your gesture pack does not have start, idle, end animations please only use your animation on idle.

  1. Reload MagicGesture and you will see your new gesture on "All" Gui.

Last updated