API reference

The stable public surface of Armaria. Modders should rely only on these types.

Core weapons

ArmariaMeleeWeapon

Base class for all melee weapons. Extends Item and implements Chargeable.

ArmariaRangedWeapon

Base class for ranged weapons. Extends BowItem.

ArmariaMagicWeapon

Base class for magic weapons. Extends Item.

Texture2D

public record Texture2D(Identifier id) {
    public static Texture2D of(String id);
    public static Texture2D get(Identifier id);
}

Register a texture path in your weapon constructor. The library auto-generates model JSONs.

VFX

VFXQueue

Thread-safe queue for client-side particle effects. Use enqueue directly or through presets.

VFXPresets

Convenience methods for the 12 built-in effect profiles:

VFXPipeline

Builder for custom effect profiles. Wired in v0.2.0 with shader pipeline.

BlendMode

Scaffolded blend modes: ADDITIVE, NORMAL. Wired in v0.2.0.