Class SHRINKING


public class SHRINKING extends PlayerChangeSizeSuper
Size reduction effect that shrinks the affected player to half their normal scale.

SHRINKING is a debilitating size-alteration effect that reduces the target player's scale to 50% of their normal size (scaleMultiplier = 0.5). The affected player appears physically smaller in the game world and is subject to reduced hitbox dimensions. The effect is detectable by both mind-reading spells (Legilimens) and information spells (Informous) which report the target "is unnaturally small".

Size Adjustment:

  • Scale multiplier: 0.5 (half normal size)
  • Effect applies immediately upon casting
  • Hitbox scaling: scales proportionally with player size
  • Detection text: "is unnaturally small"
See Also:
  • Constructor Details

    • SHRINKING

      public SHRINKING(@NotNull @NotNull Ollivanders2 plugin, int duration, boolean isPermanent, @NotNull @NotNull UUID pid)
      Constructor for creating a size reduction effect.

      Creates a shrinking effect that reduces the target player's scale to 50% of their normal size. The effect applies immediately, causing the player to appear physically smaller in the game world with a correspondingly reduced hitbox.

      Parameters:
      plugin - a callback to the MC plugin
      duration - the duration of the shrinking effect in game ticks
      isPermanent - is this effect permanent (does not age)
      pid - the unique ID of the player to shrink