promotional bannermobile promotional banner

Perfect Utils - Reusable Systems for Developers

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

Perfect Utils-1.1.0.jar

File namePerfect Utils-1.1.0.jar
Uploader
ziggfreedziggfreed
Uploaded
Jun 21, 2026
Downloads
11.8K
Size
37.9 KB
File ID
8293541
Type
R
Release
Supported game versions
  • 0.5

What's new

[1.1.0] - 2026-06-21

Added

  • StunMobAPI.stunEntity(store, target, durationMs, source) and the no-source overload stunEntity(store, target, durationMs): entity-neutral entry points that stun ANY entity, mob OR player. The stun pipeline was already entity-agnostic (movement is frozen by pushing a stun EntityEffect of zero horizontal speed + MovementEffects.DisableAll through the target's EffectControllerComponent, which a player carries just like a mob via the vanilla /player effect apply path, so the player's client disables its own movement input; the NPC-AI suppression is null-guarded and no-ops on a player). stunEntity is the explicitly-named entry point for stunning an enemy player; applyStun / applyStagger keep their original names and behave identically on any entity. Enables PvP consumers (Kweebec Clash) to stun an opponent.

This mod has no related projects