Class SWELLING_SOLUTION
When consumed, this potion applies the SWELLING effect to the player for 5 minutes, causing them to become larger in physical size. The swelling effect can impact movement, interactions with the world, and overall gameplay mechanics. Players affected by this potion will experience difficulty navigating tight spaces and may have altered physics.
The swelling effect is temporary and will wear off after the duration expires, returning the player to their normal size. This potion is primarily a transformative or debilitating effect useful for puzzle-solving, exploration challenges, or roleplay scenarios.
- See Also:
-
Field Summary
Fields inherited from class net.pottercraft.ollivanders2.potion.O2Potion
duration, flavorText, ingredients, potionColor, potionSuccessMessage, potionType, text, usesModifier -
Constructor Summary
ConstructorsConstructorDescriptionSWELLING_SOLUTION(@NotNull Ollivanders2 plugin) Constructor for Swelling Solution potion. -
Method Summary
Modifier and TypeMethodDescriptionvoiddrink(@NotNull org.bukkit.entity.Player player) Drink the Swelling Solution and grow in size.Methods inherited from class net.pottercraft.ollivanders2.potion.O2Potion
brew, brewBadPotion, checkRecipe, createPotionItemStack, getFlavorText, getIngredients, getIngredientsText, getLevel, getMagicBranch, getName, getPotionSuccessMessage, getPotionType, getText, setUsesModifier
-
Constructor Details
-
SWELLING_SOLUTION
Constructor for Swelling Solution potion.Initializes the potion with its ingredients (Dried Nettles, Pufferfish Eye, Bat Spleen, and Standard Potion Ingredients), description text, flavor text, and potion color. Sets up the SWELLING effect that will be applied when the potion is consumed for 5 minutes.
- Parameters:
plugin- a callback to the plugin instance
-
-
Method Details
-
drink
public void drink(@NotNull @NotNull org.bukkit.entity.Player player) Drink the Swelling Solution and grow in size.Applies the SWELLING effect to the player for 5 minutes. This effect causes the player to physically grow in size, which can affect their movement, interactions with the world, and overall gameplay mechanics. The player will experience difficulty navigating tight spaces and may encounter altered physics while swollen. The swelling effect is temporary and will wear off after the duration expires.
-