Class STRENGTHENING_SOLUTION

java.lang.Object
net.pottercraft.ollivanders2.potion.O2Potion
net.pottercraft.ollivanders2.potion.STRENGTHENING_SOLUTION

public class STRENGTHENING_SOLUTION extends O2Potion
Strengthening Solution - enhances the drinker's physical strength significantly.

When consumed, this potion applies the STRENGTH effect to the player for 5 minutes, greatly increasing their physical strength and power. The player will deal significantly more damage with melee attacks and be able to perform stronger physical actions during the effect duration.

The 5-minute duration is longer than the standard Minecraft Strength II potion, providing extended combat advantage. This potion is useful for offensive gameplay, combat scenarios, and situations requiring physical power.

Since:
2.21
See Also:
  • Constructor Details

    • STRENGTHENING_SOLUTION

      public STRENGTHENING_SOLUTION(@NotNull @NotNull Ollivanders2 plugin)
      Constructor for Strengthening Solution potion.

      Initializes the potion with its ingredients (Salamander Blood, Powdered Griffin Claw, Ground Snake Fangs, and Standard Potion Ingredients), description text, flavor text, potion color, and the Strength effect. Sets up the 5-minute duration for the strength enhancement effect.

      Parameters:
      plugin - a callback to the plugin instance
  • Method Details

    • drink

      public void drink(@NotNull @NotNull org.bukkit.entity.Player player)
      Drink the Strengthening Solution and gain immense physical strength.

      Applies the STRENGTH effect to the player for 5 minutes. This effect significantly increases the player's melee damage output and physical power, allowing them to deal much more damage with attacks. The strength bonus is particularly useful for combat scenarios and defeating enemies.

      Specified by:
      drink in class O2Potion
      Parameters:
      player - the player who drank the potion