Package me.hackware.api.util


package me.hackware.api.util
  • Class
    Description
    Client policy the game managers need but cannot see from the API: the AntiCheat module's placement/rotation/inventory limits and the vanilla MultiPlayerGameMode.carriedIndex field (reached through a mixin accessor).
    Mutable holder (interfaces cannot own mutable statics).
    Placement limits, read live from the AntiCheat module's settings.
    Block breaking utilities — breaking speed, break delta, tool search, etc.
    Utility for sending styled chat messages using & color codes.
    Enchantment utilities using the 1.21+ registry-based enchantment system.
    Returns the original display name for an enum constant.
    Auto-generated from .ogg files in assets/hackware/sounds/.
    Inventory search and manipulation utilities.
     
    Shared sound presets for notification modules.
    Trims anything appended after the last complete Ogg page.
    Client services RenderUtils needs but cannot see from the API: shader-mod (Iris) pipeline routing and the Antialiasing module's toggles.
    Mutable holder (interfaces cannot own mutable statics).
    Gbuffer program kinds a custom pipeline can be routed through.
    Direct-draw API for 3D overlays: box outlines/fills, lines, quads and camera-facing strips (tracers), plus world-to-screen projection.
    Shared helpers for client UI scale values.
    Icon glyphs usable inline in chat / HUD text.
    The available icon glyphs.