Package-level declarations

Per-plugin resource pack: item/block models, bitmap glyphs (EffectiveGlyph), negative-space providers, SHA-1 hashing and (optional) built-in HTTP hosting. Enabled per plugin with EffectiveResourcepack.addServerResourcepack.

Types

Link copied to clipboard

A validated handle to one glyph slot in the generated resource pack: an opaque wrapper around a Supplementary Private Use Area codepoint (codePoint, planes 15–16, U+F0000 upward) that is guaranteed to map to a real, registered glyph. The supplementary PUA is used instead of the BMP PUA so glyphs never clash with the many resource packs that occupy U+E000+; SPUA-A is filled first, then SPUA-B (~131k slots).

Link copied to clipboard
data class EffectiveGlyph(val texturePath: String, val height: Int = 8, val ascent: Int = 7, val textureBytes: ByteArray? = null)

A single bitmap glyph in the generated resource pack: an EffectiveFontChar bound to a texture, drawn inline in chat/GUI text. Used for custom fonts and texture menus (see ru.hukm.effectiveSpigot.minecraft.menu.EffectiveTextureMenu).

Link copied to clipboard

Assembles and serves a per-plugin resource pack.