Class OCULUS_FELIS
When consumed, this potion applies the NIGHT_VISION II effect to the player for 5 minutes, granting them the ability to see clearly in near-total darkness. This potion mimics a cat's superior night vision, allowing the player to navigate dark areas as if they were brightly lit.
The 5-minute duration is longer than the standard Minecraft Night Vision II potion, providing extended visibility for the drinker. This is particularly useful for exploring dark caves, navigating at night, or other low-light scenarios.
- Since:
- 2.21
-
Field Summary
Fields inherited from class net.pottercraft.ollivanders2.potion.O2Potion
duration, flavorText, ingredients, potionColor, potionSuccessMessage, potionType, text, usesModifier -
Constructor Summary
ConstructorsConstructorDescriptionOCULUS_FELIS(@NotNull Ollivanders2 plugin) Constructor for Oculus Felis potion. -
Method Summary
Modifier and TypeMethodDescriptionvoiddrink(@NotNull org.bukkit.entity.Player player) Drink Oculus Felis and gain night vision.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
-
OCULUS_FELIS
Constructor for Oculus Felis potion.Initializes the potion with its ingredients (Crushed Cat's Eye Opal, Mooncalf Milk, Jobberknoll Feather, Asphodel, and Standard Potion Ingredients), description text, potion color, and the Night Vision II potion effect. Sets up the 5-minute duration for the night vision effect.
- Parameters:
plugin- a callback to the plugin instance
-
-
Method Details
-
drink
public void drink(@NotNull @NotNull org.bukkit.entity.Player player) Drink Oculus Felis and gain night vision.Applies the NIGHT_VISION II effect to the player for 5 minutes. This effect allows the player to see clearly in darkness and low-light conditions, as if the world were lit by daylight. The enhanced vision mimics a feline's ability to see in near-total darkness.
-