promotional bannermobile promotional banner

Perfect Utils - Reusable Systems for Developers

A library of modular and resuable systems for mod developers to use directly.

File Details

Perfect Utils-1.0.1.jar

  • R
  • Apr 27, 2026
  • 37.63 KB
  • 7.9K
  • Early Access

File Name

Perfect Utils-1.0.1.jar

Supported Versions

  • Early Access

[1.0.1] - 2026-04-27

Added

  • AggroAPI — mob aggro / taunt controller, ported from Zephyr's KunaiVanishTickSystem.
    • dropAggro(store, playerRef, radius) — one-shot targeting reset within radius.
    • suppress(store, playerRef, durationMs, radius) — sustained Attitude.IGNORE window.
    • taunt(store, tauntRef, durationMs, radius) — pin nearby mobs to the taunter.
    • clear, isSuppressed, isTaunting, getRemainingMs queries.
  • AggroComponent, AggroTickSystem, AggroQueueDrainSystem — per-player ECS state, swept once per tick. Drain stages components only; the tick system owns all forEachChunk(NPCEntity, ...) work to avoid nested-iteration errors on the store.
  • AggroUtil — static helpers (resetTargetingNearby, suppressTargeting, redirectAggro) using MarkedEntitySupport + WorldSupport.overrideAttitude + TargetMemory.knownHostiles.
  • radius <= 0 iterates every NPC in the world (Zephyr-style true invisibility); positive values bound the sweep with a squared-distance filter against TransformComponent.