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 void
createTask
(org.bukkit.entity.Player player) static BagEffects.BagEffect
static String
static org.bukkit.potion.PotionEffectType
getPotionType
(String key) static boolean
static void
init()
static void
void
onPlayerJoin
(org.bukkit.event.player.PlayerJoinEvent e) void
onPlayerQuit
(org.bukkit.event.player.PlayerQuitEvent e) static void
reload()
static void
shutdown()
-
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)
-