Package valorless.havenbags.features
Class BagEffects
java.lang.Object
valorless.havenbags.features.BagEffects
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateTask(org.bukkit.entity.Player player) static BagEffects.BagEffectstatic Stringstatic org.bukkit.potion.PotionEffectTypegetPotionType(String key) static booleanstatic voidinit()static voidvoidonPlayerJoin(org.bukkit.event.player.PlayerJoinEvent e) voidonPlayerQuit(org.bukkit.event.player.PlayerQuitEvent e) static voidreload()static voidshutdown()
-
Field Details
-
effects
-
-
Constructor Details
-
BagEffects
public BagEffects()
-
-
Method Details
-
init
public static void init() -
reload
public static void reload() -
shutdown
public static void shutdown() -
loadEffects
public static void loadEffects() -
hasEffect
-
getEffect
-
getEffectDisplayname
-
getEffectNames
-
getPotionType
- Throws:
Exception
-
onPlayerJoin
public void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent e) -
onPlayerQuit
public void onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent e) -
createTask
public static void createTask(org.bukkit.entity.Player player)
-