Package be.seeseemelk.mockbukkit.potion
Class MockInternalPotionData
java.lang.Object
be.seeseemelk.mockbukkit.potion.MockInternalPotionData
- All Implemented Interfaces:
org.bukkit.potion.PotionType.InternalPotionData
public class MockInternalPotionData
extends Object
implements org.bukkit.potion.PotionType.InternalPotionData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.potion.PotionEffectTypeintList<org.bukkit.potion.PotionEffect>booleanbooleanboolean
-
Constructor Details
-
MockInternalPotionData
public MockInternalPotionData(org.bukkit.NamespacedKey namespacedKey)
-
-
Method Details
-
getEffectType
public org.bukkit.potion.PotionEffectType getEffectType()- Specified by:
getEffectTypein interfaceorg.bukkit.potion.PotionType.InternalPotionData
-
getPotionEffects
- Specified by:
getPotionEffectsin interfaceorg.bukkit.potion.PotionType.InternalPotionData
-
isInstant
public boolean isInstant()- Specified by:
isInstantin interfaceorg.bukkit.potion.PotionType.InternalPotionData
-
isUpgradeable
public boolean isUpgradeable()- Specified by:
isUpgradeablein interfaceorg.bukkit.potion.PotionType.InternalPotionData
-
isExtendable
public boolean isExtendable()- Specified by:
isExtendablein interfaceorg.bukkit.potion.PotionType.InternalPotionData
-
getMaxLevel
public int getMaxLevel()- Specified by:
getMaxLevelin interfaceorg.bukkit.potion.PotionType.InternalPotionData
-