[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
4b9f306913
commit
cbb9bc0fa3
@@ -310,6 +310,16 @@ public interface World extends PluginMessageRecipient {
|
||||
* @param type The creature to spawn
|
||||
* @return Resulting LivingEntity of this method, or null if it was unsuccessful
|
||||
*/
|
||||
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);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user