summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/entity/Damageable.java
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-05-14 12:00:00 +1000
committermd_5 <git@md-5.net>2017-05-14 12:00:00 +1000
commitc185dd58fea5f4ce4b2dc3c135c7ff550f4936b0 (patch)
tree1c0efeb13c935c5587b84eb0d934bb8ea653c249 /src/main/java/org/bukkit/entity/Damageable.java
parent5486f5b2fbbc515c3b6ac97a44e388825f391afc (diff)
downloadbukkit-c185dd58fea5f4ce4b2dc3c135c7ff550f4936b0.tar
bukkit-c185dd58fea5f4ce4b2dc3c135c7ff550f4936b0.tar.gz
bukkit-c185dd58fea5f4ce4b2dc3c135c7ff550f4936b0.tar.lz
bukkit-c185dd58fea5f4ce4b2dc3c135c7ff550f4936b0.tar.xz
bukkit-c185dd58fea5f4ce4b2dc3c135c7ff550f4936b0.zip
Remove _INVALID_ methods
Diffstat (limited to 'src/main/java/org/bukkit/entity/Damageable.java')
-rw-r--r--src/main/java/org/bukkit/entity/Damageable.java63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/main/java/org/bukkit/entity/Damageable.java b/src/main/java/org/bukkit/entity/Damageable.java
index bd601bb6..e173cf01 100644
--- a/src/main/java/org/bukkit/entity/Damageable.java
+++ b/src/main/java/org/bukkit/entity/Damageable.java
@@ -14,16 +14,6 @@ public interface Damageable extends Entity {
void damage(double amount);
/**
- * This method exists for legacy reasons to provide backwards
- * compatibility. It will not exist at runtime and should not be used
- * under any circumstances.
- *
- * @param amount Amount of damage to deal
- */
- @Deprecated
- void _INVALID_damage(int amount);
-
- /**
* Deals the given amount of damage to this entity, from a specified
* entity.
*
@@ -33,17 +23,6 @@ public interface Damageable extends Entity {
void damage(double amount, Entity source);
/**
- * This method exists for legacy reasons to provide backwards
- * compatibility. It will not exist at runtime and should not be used
- * under any circumstances.
- *
- * @param amount Amount of damage to deal
- * @param source Entity which to attribute this damage from
- */
- @Deprecated
- void _INVALID_damage(int amount, Entity source);
-
- /**
* Gets the entity's health from 0 to {@link #getMaxHealth()}, where 0 is dead.
*
* @return Health represented from 0 to max
@@ -51,16 +30,6 @@ public interface Damageable extends Entity {
double getHealth();
/**
- * This method exists for legacy reasons to provide backwards
- * compatibility. It will not exist at runtime and should not be used
- * under any circumstances.
- *
- * @return Health represented from 0 to max
- */
- @Deprecated
- int _INVALID_getHealth();
-
- /**
* Sets the entity's health from 0 to {@link #getMaxHealth()}, where 0 is
* dead.
*
@@ -71,18 +40,6 @@ public interface Damageable extends Entity {
void setHealth(double health);
/**
- * This method exists for legacy reasons to provide backwards
- * compatibility. It will not exist at runtime and should not be used
- * under any circumstances.
- *
- * @param health New health represented from 0 to max
- * @throws IllegalArgumentException Thrown if the health is {@literal < 0 or >}
- * {@link #getMaxHealth()}
- */
- @Deprecated
- void _INVALID_setHealth(int health);
-
- /**
* Gets the maximum health this entity has.
*
* @return Maximum health
@@ -92,16 +49,6 @@ public interface Damageable extends Entity {
double getMaxHealth();
/**
- * This method exists for legacy reasons to provide backwards
- * compatibility. It will not exist at runtime and should not be used
- * under any circumstances.
- *
- * @return Maximum health
- */
- @Deprecated
- int _INVALID_getMaxHealth();
-
- /**
* Sets the maximum health this entity can have.
* <p>
* If the health of the entity is above the value provided it will be set
@@ -117,16 +64,6 @@ public interface Damageable extends Entity {
void setMaxHealth(double health);
/**
- * This method exists for legacy reasons to provide backwards
- * compatibility. It will not exist at runtime and should not be used
- * under any circumstances.
- *
- * @param health amount of health to set the maximum to
- */
- @Deprecated
- void _INVALID_setMaxHealth(int health);
-
- /**
* Resets the max health to the original amount.
* @deprecated use {@link Attribute#GENERIC_MAX_HEALTH}.
*/