ChestHorizontallyCentered

A horizontally centered alignment for chest gui textures.

Constructors

Link copied to clipboard
constructor(yOffset: Int = 0)

Functions

Link copied to clipboard
open override fun getOffset(width: Int, height: Int): Vector2ic

Returns the offset based on the width and height of the gui texture.