Deprecate things removed in acb794e72 and 97c836f19

This commit is contained in:
Dylan K. Taylor 2018-10-12 16:35:51 +01:00
parent 7b98d203f4
commit ec5598dbb1
2 changed files with 13 additions and 0 deletions

View File

@ -46,6 +46,7 @@ class EntityDespawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return int
*/
public function getType() : int{
@ -53,6 +54,7 @@ class EntityDespawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isCreature() : bool{
@ -60,6 +62,7 @@ class EntityDespawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isHuman() : bool{
@ -67,6 +70,7 @@ class EntityDespawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isProjectile() : bool{
@ -74,6 +78,7 @@ class EntityDespawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isVehicle() : bool{
@ -81,6 +86,7 @@ class EntityDespawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isItem() : bool{

View File

@ -47,6 +47,7 @@ class EntitySpawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return Position
*/
public function getPosition() : Position{
@ -54,6 +55,7 @@ class EntitySpawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return int
*/
public function getType() : int{
@ -61,6 +63,7 @@ class EntitySpawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isCreature() : bool{
@ -68,6 +71,7 @@ class EntitySpawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isHuman() : bool{
@ -75,6 +79,7 @@ class EntitySpawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isProjectile() : bool{
@ -82,6 +87,7 @@ class EntitySpawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isVehicle() : bool{
@ -89,6 +95,7 @@ class EntitySpawnEvent extends EntityEvent{
}
/**
* @deprecated
* @return bool
*/
public function isItem() : bool{