Remove EntityType and some deprecated Entity methods

Replaced by EntityType / other methods since February 2012 and April 2012 respectively.

By: BlackHole <black-hole@live.com>
This commit is contained in:
Bukkit/Spigot
2016-03-01 08:30:02 +11:00
parent f442df089f
commit 0ca001e61e
6 changed files with 0 additions and 243 deletions

View File

@@ -347,30 +347,6 @@ public interface World extends PluginMessageRecipient, Metadatable {
*/
public Entity spawnEntity(Location loc, EntityType type);
/**
* Creates a creature at the given {@link Location}
*
* @param loc The location to spawn the creature
* @param type The creature to spawn
* @return Resulting LivingEntity of this method, or null if it was
* unsuccessful
* @deprecated Has issues spawning non LivingEntities. Use {@link
* #spawnEntity(Location, EntityType) spawnEntity} instead.
*/
@Deprecated
public LivingEntity spawnCreature(Location loc, EntityType type);
/**
* Creates a creature at the given {@link Location}
*
* @param loc The location to spawn the creature
* @param type The creature to spawn
* @return Resulting LivingEntity of this method, or null if it was
* unsuccessful
*/
@Deprecated
public LivingEntity spawnCreature(Location loc, CreatureType type);
/**
* Strikes lightning at the given {@link Location}
*