diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 527d1d314..8ae4660bc 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -682,62 +682,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ } } - /** - * @deprecated - * - * @return Effect[] - */ - public function getEffects() : array{ - return []; - } - - /** - * @deprecated - */ - public function removeAllEffects(){ - - } - - /** - * @deprecated - * - * @param int $effectId - */ - public function removeEffect(int $effectId){ - - } - - /** - * @deprecated - * - * @param int $effectId - * - * @return Effect|null - */ - public function getEffect(int $effectId){ - return null; - } - - /** - * @deprecated - * - * @param int $effectId - * - * @return bool - */ - public function hasEffect(int $effectId) : bool{ - return false; - } - - /** - * @deprecated - * - * @param Effect $effect - */ - public function addEffect(Effect $effect){ - throw new \BadMethodCallException("Cannot add effects to non-living entities"); - } - /** * @param int|string $type * @param Level $level @@ -887,16 +831,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ $player->dataPacket($pk); } - - /** - * @deprecated - * - * @param Player $player - */ - public function sendPotionEffects(Player $player){ - - } - /** * @param Player[]|Player $player * @param array $data Properly formatted entity data, defaults to everything