Effective Screen Effects
Client-side screen effects: full-screen camera fades and camera shake.
The fade is drawn with a bundled full-screen glyph shown via a title, so it needs the framework's resource pack enabled. Shake nudges the player's yaw/pitch over time with configurable easing.
A built-in /escreen <target> <fade|shake> … command triggers these effects in-game.
Properties
ru.hukm.effectiveSpigot.minecraft.resourcepack.EffectiveFontChar token bound to the full-screen fade texture in the resource pack.
Functions
Plays a default full-screen fade (10/20/10 ticks) for player.
Plays a full-screen fade with the given fade-in/stay/fade-out durations (in ticks).
Plays a full-screen fade and runs fullCameraFadeRunnable at the darkest point (after fadeIn + stay/2 ticks) — handy for teleporting/updating the world while hidden.
Shakes player's camera indefinitely while shouldContinue returns true.
Shakes player's camera. Runs for duration ticks (-1 = until shouldContinue returns false).