Skip to content

Texture Plugin Docs

Hans5958 edited this page Nov 7, 2019 · 1 revision

Texture Plugin Docs

Basics

description

The description of the resource pack.

previewImage

The preview image.

whiteKey, whiteKeyPressed, blackKey, blackKeyPressed

Basic key textures. With default settings, it's very similar to UMP.

bar

The bar texture. It stretches the bar across the whole keyboard.

sameWidthNotes

If the notes are the same size like in Zenith's classic plugin, or if they are different like in PFA.

Note Basics

notes

This is the basic notes array. In most cases, you will only have one note type in the array.

middleTexture

Is the texture for the middle part of the note

alwaysStretch

means it will always stretch the middle texture instead of looping it

useEndCaps

if the note uses the top and bottom cap textures

topTexture, bottomTexture

The textures for the top and bottom caps

Keyboard Advanced

blackKeyOversize, blackKeyPressedOversize, whiteKeyOversize, whiteKeyPressedOversize

Allows for making the black/white keys extend above the position and over the bar texture

blackKeysWhiteShade

Makes the black keyboard keys be shaded white when unpressed. Usually this is used when the "normal" shader is enabled for the black keys.

keyboardHeight

Height of the keyboard in % of the screen at 127 key range. When the range increases/decreases, so does the keyboard height.

barHeight

Height of the bar, measured in % of the keyboard height

blackKeyHeight

The distance between the bottom of the keyboard and the beginning of the black keys

whiteKeysFullOctave, whiteKeysFullOctave

Enables the user to make full octave textures for the keys