mirror of
https://github.com/PaperMC/Paper.git
synced 2025-09-01 12:53:52 -07:00
Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote(). teleportTo(Location) has been replaced by teleport(location). teleportTo(Entity) has been replaced by teleport(Entity). SnowForm event has been replaced by BlockForm event.
This commit is contained in:
@@ -132,14 +132,6 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
||||
return teleport(destination.getLocation());
|
||||
}
|
||||
|
||||
public void teleportTo(Location location) {
|
||||
teleport(location);
|
||||
}
|
||||
|
||||
public void teleportTo(org.bukkit.entity.Entity destination) {
|
||||
teleport(destination);
|
||||
}
|
||||
|
||||
public List<org.bukkit.entity.Entity> getNearbyEntities(double x, double y, double z) {
|
||||
@SuppressWarnings("unchecked")
|
||||
List<Entity> notchEntityList = entity.world.b(entity, entity.boundingBox.b(x, y, z));
|
||||
|
Reference in New Issue
Block a user