public class BukkitServer extends PluginComponent implements ServerInterface
Constructor and Description |
---|
BukkitServer(MythicMobs plugin) |
Modifier and Type | Method and Description |
---|---|
AbstractBossBar |
createBossBar(String title,
AbstractBossBar.BarColor color,
AbstractBossBar.BarStyle style) |
void |
dispatchCommand(String s) |
AbstractEntity |
getEntity(UUID uuid) |
MythicEntityType |
getMythicEntityType(org.bukkit.entity.Entity e) |
List<AbstractPlayer> |
getOnlinePlayers() |
AbstractPlayer |
getPlayer(String name) |
AbstractPlayer |
getPlayer(UUID uuid) |
AbstractWorld |
getWorld(String name) |
AbstractWorld |
getWorld(UUID uuid) |
List<AbstractWorld> |
getWorlds() |
void |
handleMobDespawnEvent(ActiveMob mob) |
boolean |
isValidBiome(Object o) |
void |
load(MythicMobs plugin) |
AbstractLocation |
newLocation(AbstractWorld w,
double x,
double y,
double z) |
void |
unload() |
bind, close, doBinding, getPlugin, setup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BukkitServer(MythicMobs plugin)
public void load(MythicMobs plugin)
load
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public void unload()
unload
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public List<AbstractWorld> getWorlds()
getWorlds
in interface ServerInterface
public void dispatchCommand(String s)
dispatchCommand
in interface ServerInterface
public AbstractPlayer getPlayer(UUID uuid)
getPlayer
in interface ServerInterface
public AbstractPlayer getPlayer(String name)
getPlayer
in interface ServerInterface
public AbstractEntity getEntity(UUID uuid)
getEntity
in interface ServerInterface
public AbstractWorld getWorld(UUID uuid)
getWorld
in interface ServerInterface
public AbstractWorld getWorld(String name)
getWorld
in interface ServerInterface
public List<AbstractPlayer> getOnlinePlayers()
getOnlinePlayers
in interface ServerInterface
public AbstractLocation newLocation(AbstractWorld w, double x, double y, double z)
newLocation
in interface ServerInterface
public boolean isValidBiome(Object o)
isValidBiome
in interface ServerInterface
public AbstractBossBar createBossBar(String title, AbstractBossBar.BarColor color, AbstractBossBar.BarStyle style)
createBossBar
in interface ServerInterface
public MythicEntityType getMythicEntityType(org.bukkit.entity.Entity e)
getMythicEntityType
in interface ServerInterface
public void handleMobDespawnEvent(ActiveMob mob)
handleMobDespawnEvent
in interface ServerInterface
Copyright © 2020. All rights reserved.