Skip to content

Wing meta file

I-Al-Istannen edited this page Dec 23, 2016 · 3 revisions

The WingMeta file

Index:

  1. General section
  2. Parser section
  3. Colour mapper
    3.1. Particle section

General section

Some general information about the wing

image_path

The path to the image. Relative to the images folder or absolute

item_name

The name of the item. Support chat colors with & as color char.

item_lore

The lore. Also supporrts color. A String list.

item_material

The Material of the item.

permission

The permission needed to equip the wing.

player_vector_multiplier

The distance to the player's body. If this is negative, the wing is behind the player.

pitch_rad

The pitch in radian. You should leave it at the default (PI) probably. Pitch is the angle representing looking up and down.

yaw_rad_addition

The addition to the yaw (turning around). Leave it at the default (PI) probably.

parser_type

The type of the parser. animated for animated gifs, normal otherwise.


## Parser section

xScale

The scale of the picture along the x axis.

yScale

The scale of the picture along the y axis.

xOffsetAbsolute

The offset on the x axis, in pixels.

yOffsetAbsolute

The offset on the y axis, in pixels.

xGranularity

The granularity along the x axis. It is added to the current one on each iteration, so it must be greater than 0.

yGranularity

The granularity along the y axis. It is added to the current one on each iteration, so it must be greater than 0.

colourMapper

This deserves its own topic, which follows.


## Colour Mapper It consists of a list of strings. They have the following format (without the angle brackets): `,, to ,, is `

Particle section

This follows this format:
<Particle Name> [special data]
The particle names can be found here.

The special data:

  • Colourable particles
    • REDSTONE
    • SPELL_MOB
    • SPELL_MOB_AMBIENT
    • *They can take with rgb <red>,<green>,<blue> after their name, to set their colour
    • Example:
      2,2,2 to 2,2,2 is REDSTONE with rgb 0,255,0 for a green redstone particle
  • Notes
    • NOTE
    • They take with note index <index> after their name, to set the colour
    • Example:
      2,2,2 to 2,2,2 is NOTE with note index 5 will be a magenta-ish note
    • Have a look here for all note indexes and their colour.
  • Block crack / dust
    • BLOCK_DUST
    • BLOCK_CRACK
    • They take as <MATERIAL>:<DURABILITY> as extra arguments
    • Example:
      2,2,2 to 2,2,2 is BLOCK_CRACK as OBSIDIAN:0" for a obsidian block crack particles
  • Item crack
    • ITEM_CRACK
    • They take as <MATERIAL>:<DURABILITY> as extra arguments
    • Example:
      2,2,2 to 2,2,2 is ITEM_CRACK as OBSIDIAN:0" for a obsidian item crack particles