Class SWELLING


public class SWELLING extends PlayerChangeSizeSuper
Size increase effect that enlarges the affected player to double their normal scale.

SWELLING is a debilitating size-alteration effect that increases the target player's scale to 200% of their normal size (scaleMultiplier = 2.0). The affected player appears physically larger in the game world and has an expanded hitbox. The effect is detectable by both mind-reading spells (Legilimens) and information spells (Informous) which report the target "is unnaturally large".

Size Adjustment:

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

    • SWELLING

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

      Creates a swelling effect that increases the target player's scale to double their normal size. The effect applies immediately, causing the player to appear physically larger in the game world with a correspondingly expanded hitbox.

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