Package be.seeseemelk.mockbukkit.potion
Class MockInternalPotionData
java.lang.Object
be.seeseemelk.mockbukkit.potion.MockInternalPotionData
- All Implemented Interfaces:
PotionType.InternalPotionData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic PotionEffectgetPotionEffectFromData(com.google.gson.JsonElement potionEffectData) static List<PotionEffect> getPotionEffectsFromData(com.google.gson.JsonObject data) booleanbooleanboolean
-
Constructor Details
-
MockInternalPotionData
-
-
Method Details
-
getEffectType
- Specified by:
getEffectTypein interfacePotionType.InternalPotionData
-
getPotionEffects
- Specified by:
getPotionEffectsin interfacePotionType.InternalPotionData
-
isInstant
public boolean isInstant()- Specified by:
isInstantin interfacePotionType.InternalPotionData
-
isUpgradeable
public boolean isUpgradeable()- Specified by:
isUpgradeablein interfacePotionType.InternalPotionData
-
isExtendable
public boolean isExtendable()- Specified by:
isExtendablein interfacePotionType.InternalPotionData
-
getMaxLevel
public int getMaxLevel()- Specified by:
getMaxLevelin interfacePotionType.InternalPotionData
-
getPotionEffectFromData
@Internal public static PotionEffect getPotionEffectFromData(com.google.gson.JsonElement potionEffectData) -
getPotionEffectsFromData
@Internal public static List<PotionEffect> getPotionEffectsFromData(com.google.gson.JsonObject data)
-