Added the rest of the methods manually
This commit is contained in:
parent
e8444636b8
commit
19df7a375e
1 changed files with 23 additions and 44 deletions
|
@ -317,10 +317,10 @@ public class DiscordPlayerSender implements Player {
|
||||||
|
|
||||||
// Find: " (\w+)\((\w+) (\w+), (\w+) (\w+), (\w+) (\w+), (\w+) (\w+), (\w+) (\w+), (\w+) (\w+)\) \{\s+\/\/ TO\DO Auto-generated method stub\s" - Replace: " $1($2 $3, $4 $5, $6 $7, $8 $9, $10 $11,
|
// Find: " (\w+)\((\w+) (\w+), (\w+) (\w+), (\w+) (\w+), (\w+) (\w+), (\w+) (\w+), (\w+) (\w+)\) \{\s+\/\/ TO\DO Auto-generated method stub\s" - Replace: " $1($2 $3, $4 $5, $6 $7, $8 $9, $10 $11,
|
||||||
// $12 $13) { player.$1($3, $5, $7, $9, $11, $13);"
|
// $12 $13) { player.$1($3, $5, $7, $9, $11, $13);"
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean sendChunkChange(Location loc, int sx, int sy, int sz, byte[] data) {
|
public boolean sendChunkChange(Location loc, int sx, int sy, int sz, byte[] data) {
|
||||||
// TODO Auto-generated method stub
|
return player.sendChunkChange(loc, sx, sy, sz, data);
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -330,8 +330,7 @@ public class DiscordPlayerSender implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void sendSignChange(Location loc, String[] lines) throws IllegalArgumentException {
|
public void sendSignChange(Location loc, String[] lines) throws IllegalArgumentException {
|
||||||
// TODO Auto-generated method stub
|
player.sendSignChange(loc, lines);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -444,8 +443,7 @@ public class DiscordPlayerSender implements Player {
|
||||||
@Override
|
@Override
|
||||||
public void incrementStatistic(Statistic statistic, EntityType entityType, int amount)
|
public void incrementStatistic(Statistic statistic, EntityType entityType, int amount)
|
||||||
throws IllegalArgumentException {
|
throws IllegalArgumentException {
|
||||||
// TODO Auto-generated method stub
|
player.incrementStatistic(statistic, entityType, amount);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -744,57 +742,49 @@ public class DiscordPlayerSender implements Player {
|
||||||
@Override
|
@Override
|
||||||
public void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
public void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
||||||
double offsetZ) {
|
double offsetZ) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, location, count, offsetX, offsetY, offsetZ);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
public void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
||||||
double offsetY, double offsetZ) {
|
double offsetY, double offsetZ) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, offsetX, y, z, count, offsetX, offsetY, offsetZ);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
||||||
double offsetZ, T data) {
|
double offsetZ, T data) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, location, count, data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
||||||
double offsetY, double offsetZ, T data) {
|
double offsetY, double offsetZ, T data) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, x, y, z, count, offsetX, offsetY, offsetZ, data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
public void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
||||||
double offsetZ, double extra) {
|
double offsetZ, double extra) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, location, count, offsetX, offsetY, offsetZ, extra);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
public void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
||||||
double offsetY, double offsetZ, double extra) {
|
double offsetY, double offsetZ, double extra) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, x, y, z, count, offsetX, offsetY, offsetZ, extra);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY,
|
||||||
double offsetZ, double extra, T data) {
|
double offsetZ, double extra, T data) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, location, count, offsetX, offsetY, offsetZ, extra, data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX,
|
||||||
double offsetY, double offsetZ, double extra, T data) {
|
double offsetY, double offsetZ, double extra, T data) {
|
||||||
// TODO Auto-generated method stub
|
player.spawnParticle(particle, x, y, z, count, offsetX, offsetY, offsetZ, extra, data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -944,38 +934,32 @@ public class DiscordPlayerSender implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Block> getLineOfSight(HashSet<Byte> transparent, int maxDistance) {
|
public List<Block> getLineOfSight(HashSet<Byte> transparent, int maxDistance) {
|
||||||
// TODO Auto-generated method stub
|
return player.getLineOfSight(transparent, maxDistance);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Block> getLineOfSight(Set<Material> transparent, int maxDistance) {
|
public List<Block> getLineOfSight(Set<Material> transparent, int maxDistance) {
|
||||||
// TODO Auto-generated method stub
|
return player.getLineOfSight(transparent, maxDistance);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Block getTargetBlock(HashSet<Byte> transparent, int maxDistance) {
|
public Block getTargetBlock(HashSet<Byte> transparent, int maxDistance) {
|
||||||
// TODO Auto-generated method stub
|
return player.getTargetBlock(transparent, maxDistance);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Block getTargetBlock(Set<Material> transparent, int maxDistance) {
|
public Block getTargetBlock(Set<Material> transparent, int maxDistance) {
|
||||||
// TODO Auto-generated method stub
|
return player.getTargetBlock(transparent, maxDistance);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Block> getLastTwoTargetBlocks(HashSet<Byte> transparent, int maxDistance) {
|
public List<Block> getLastTwoTargetBlocks(HashSet<Byte> transparent, int maxDistance) {
|
||||||
// TODO Auto-generated method stub
|
return player.getLastTwoTargetBlocks(transparent, maxDistance);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Block> getLastTwoTargetBlocks(Set<Material> transparent, int maxDistance) {
|
public List<Block> getLastTwoTargetBlocks(Set<Material> transparent, int maxDistance) {
|
||||||
// TODO Auto-generated method stub
|
return player.getLastTwoTargetBlocks(transparent, maxDistance);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1063,8 +1047,7 @@ public class DiscordPlayerSender implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean addPotionEffects(Collection<PotionEffect> effects) {
|
public boolean addPotionEffects(Collection<PotionEffect> effects) {
|
||||||
// TODO Auto-generated method stub
|
return player.addPotionEffects(effects);
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1127,8 +1110,7 @@ public class DiscordPlayerSender implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Entity getLeashHolder() throws IllegalStateException {
|
public Entity getLeashHolder() throws IllegalStateException {
|
||||||
// TODO Auto-generated method stub
|
return player.getLeashHolder();
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1531,14 +1513,12 @@ public class DiscordPlayerSender implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T extends Projectile> T launchProjectile(Class<? extends T> projectile) {
|
public <T extends Projectile> T launchProjectile(Class<? extends T> projectile) {
|
||||||
// TODO Auto-generated method stub
|
return player.launchProjectile(projectile);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T extends Projectile> T launchProjectile(Class<? extends T> projectile, Vector velocity) {
|
public <T extends Projectile> T launchProjectile(Class<? extends T> projectile, Vector velocity) {
|
||||||
// TODO Auto-generated method stub
|
return player.launchProjectile(projectile, velocity);
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -1621,8 +1601,7 @@ public class DiscordPlayerSender implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
|
public void sendPluginMessage(Plugin source, String channel, byte[] message) {
|
||||||
// TODO Auto-generated method stub
|
player.sendPluginMessage(source, channel, message);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue