public class FakeMobsPlugin
extends org.bukkit.plugin.java.JavaPlugin
Constructor and Description |
---|
FakeMobsPlugin() |
Modifier and Type | Method and Description |
---|---|
boolean |
existsMob(int id) |
FakeMob |
getMob(int id) |
FakeMob |
getMob(org.bukkit.Location loc) |
List<FakeMob> |
getMobs() |
List<FakeMob> |
getMobsInChunk(org.bukkit.World world,
int chunkX,
int chunkZ) |
List<FakeMob> |
getMobsInRadius(org.bukkit.Location loc,
int radius) |
Map<Integer,FakeMob> |
getMobsMap() |
int |
getNewId() |
static FakeMobsPlugin |
getPlugin() |
com.comphenix.protocol.ProtocolManager |
getProtocolManager() |
boolean |
isMobOnLocation(org.bukkit.Location loc) |
void |
loadMobsFile() |
void |
onDisable() |
void |
onEnable() |
void |
removeMob(int id) |
void |
saveMobsFile() |
FakeMob |
spawnMob(org.bukkit.Location loc,
org.bukkit.entity.EntityType type) |
void |
updatePlayerView(org.bukkit.entity.Player player)
Called every chunk move
|
getClassLoader, getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, initialize, installDDL, isEnabled, isInitialized, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, removeDDL, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
public static Logger log
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public void onDisable()
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
public boolean existsMob(int id)
public FakeMob getMob(org.bukkit.Location loc)
public boolean isMobOnLocation(org.bukkit.Location loc)
public FakeMob getMob(int id)
public void removeMob(int id)
public FakeMob spawnMob(org.bukkit.Location loc, org.bukkit.entity.EntityType type)
public int getNewId()
public void updatePlayerView(org.bukkit.entity.Player player)
public static FakeMobsPlugin getPlugin()
public com.comphenix.protocol.ProtocolManager getProtocolManager()
public void loadMobsFile()
public void saveMobsFile()
Copyright © 2014. All rights reserved.