diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java index ed0b8b95fe..eaae04baea 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java @@ -10,6 +10,9 @@ public class CraftAnimals extends CraftCreature implements Animals{ super(server, entity); } - + @Override + public String toString() { + return "CraftAnimals"; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java index 8749a4ef9d..b4d299ff38 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java @@ -13,4 +13,9 @@ public class CraftArrow extends CraftEntity implements Arrow { public CraftArrow(CraftServer server, EntityArrow entity) { super(server, entity); } + + @Override + public String toString() { + return "CraftArrow"; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftBoat.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftBoat.java index da80e33231..6dbfddd9cf 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftBoat.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftBoat.java @@ -16,4 +16,9 @@ public class CraftBoat extends CraftVehicle implements Boat { super(server, entity); boat = entity; } + + @Override + public String toString() { + return "CraftBoat"; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftChicken.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftChicken.java index be5eed22b6..d42db985c9 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftChicken.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftChicken.java @@ -10,4 +10,9 @@ public class CraftChicken extends CraftAnimals implements Chicken{ super(server, entity); } + @Override + public String toString() { + return "CraftChicken"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftCow.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftCow.java index 4d8c6a79de..9563ba2526 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftCow.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftCow.java @@ -10,4 +10,9 @@ public class CraftCow extends CraftAnimals implements Cow { super(server, entity); } + @Override + public String toString() { + return "CraftCow"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftCreature.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftCreature.java index fc904e10ff..24b8b22761 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftCreature.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftCreature.java @@ -10,4 +10,9 @@ public class CraftCreature extends CraftLivingEntity implements Creature{ super(server, entity); } + @Override + public String toString() { + return "CraftCreature"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java index f193111f03..a41d0c3c97 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftCreeper.java @@ -10,4 +10,9 @@ public class CraftCreeper extends CraftMonster implements Creeper { super(server, entity); } + @Override + public String toString() { + return "CraftCreeper"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEgg.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEgg.java index 18654b078c..a283f79795 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEgg.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEgg.java @@ -13,4 +13,9 @@ public class CraftEgg extends CraftEntity implements Egg { public CraftEgg(CraftServer server, EntityEgg entity) { super(server, entity); } + + @Override + public String toString() { + return "CraftEgg"; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java index 494100d5ac..0b5a430552 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFallingSand.java @@ -12,4 +12,9 @@ public class CraftFallingSand extends CraftEntity implements FallingSand { super(server, entity); } + @Override + public String toString() { + return "CraftFallingSand"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftFireball.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftFireball.java index f4597e3791..cfa8666e5d 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFireball.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFireball.java @@ -14,4 +14,9 @@ public class CraftFireball extends CraftEntity implements Fireball { public CraftFireball(CraftServer server, EntityFireball entity) { super(server, entity); } + + @Override + public String toString() { + return "CraftFireball"; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java index 85699a7d27..7bc7af4df9 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java @@ -14,4 +14,9 @@ public class CraftFish extends CraftEntity implements Fish { public CraftFish(CraftServer server, EntityFish entity) { super(server, entity); } + + @Override + public String toString() { + return "CraftFish"; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftFlying.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftFlying.java index a6a95003de..3426590a4a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFlying.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFlying.java @@ -10,4 +10,9 @@ public class CraftFlying extends CraftLivingEntity implements Flying { super(server, entity); } + @Override + public String toString() { + return "CraftFlying"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftGhast.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftGhast.java index 261cf603a4..3d0e70f67b 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftGhast.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftGhast.java @@ -10,4 +10,9 @@ public class CraftGhast extends CraftFlying implements Ghast { super(server, entity); } + @Override + public String toString() { + return "CraftGhast"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftGiant.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftGiant.java index 6cae93f587..8e324c6c79 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftGiant.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftGiant.java @@ -11,4 +11,9 @@ public class CraftGiant extends CraftMonster implements Giant { super(server, entity); } + @Override + public String toString() { + return "CraftGiant"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java index 556c56fe67..b2bb9fe290 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftItem.java @@ -11,4 +11,9 @@ public class CraftItem extends CraftEntity implements Item { super(server, entity); } + @Override + public String toString() { + return "CraftItem"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java index da6bd701ba..649915a6e3 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftItemDrop.java @@ -22,4 +22,9 @@ public class CraftItemDrop extends CraftEntity implements ItemDrop { public ItemStack getItemStack() { return new CraftItemStack(item.a); } + + @Override + public String toString() { + return "CraftItemDrop{" + "item=" + item + '}'; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecart.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecart.java index b0912c3128..de8114fdfc 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecart.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecart.java @@ -66,4 +66,9 @@ public class CraftMinecart extends CraftVehicle implements Minecart { } } + @Override + public String toString() { + return "CraftMinecart"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftMonster.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftMonster.java index 2453bfe209..c6ad41e9c2 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftMonster.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftMonster.java @@ -11,4 +11,9 @@ public class CraftMonster extends CraftCreature implements Monster { super(server, entity); } + @Override + public String toString() { + return "CraftMonster"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPainting.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPainting.java index 11b718a29d..68b2191572 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPainting.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPainting.java @@ -11,4 +11,9 @@ public class CraftPainting extends CraftEntity implements Painting { super(server, entity); } + @Override + public String toString() { + return "CraftPainting"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPig.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPig.java index 8b3e8c2c81..b92aa36ccb 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPig.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPig.java @@ -12,4 +12,9 @@ public class CraftPig extends CraftAnimals implements Pig { super(server, entity); } + @Override + public String toString() { + return "CraftPig"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPigZombie.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPigZombie.java index 1d1733c782..be0a540128 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPigZombie.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPigZombie.java @@ -11,4 +11,9 @@ public class CraftPigZombie extends CraftZombie implements PigZombie { super(server, entity); } + @Override + public String toString() { + return "CraftPigZombie"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPoweredMinecart.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPoweredMinecart.java index 704b8b5314..a492237b50 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPoweredMinecart.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPoweredMinecart.java @@ -16,4 +16,9 @@ public class CraftPoweredMinecart extends CraftMinecart super(server, entity); } + @Override + public String toString() { + return "CraftPoweredMinecart"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java index efd098d1f6..9ce015d03f 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSheep.java @@ -11,4 +11,9 @@ public class CraftSheep extends CraftAnimals implements Sheep { super(server, entity); } + @Override + public String toString() { + return "CraftSheep"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java index ba3ae6e75f..c4bd5e9eed 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSkeleton.java @@ -11,4 +11,9 @@ public class CraftSkeleton extends CraftMonster implements Skeleton { super(server, entity); } + @Override + public String toString() { + return "CraftSkeleton"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java index 4a0a6105e6..e503569ea8 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java @@ -11,4 +11,9 @@ public class CraftSlime extends CraftLivingEntity implements Slime { super(server, entity); } + @Override + public String toString() { + return "CraftSlime"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSnowball.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSnowball.java index ae301ac29a..7d0d6e23e4 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSnowball.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSnowball.java @@ -13,4 +13,9 @@ public class CraftSnowball extends CraftEntity implements Snowball { public CraftSnowball(CraftServer server, EntitySnowball entity) { super(server, entity); } + + @Override + public String toString() { + return "CraftSnowball"; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSpider.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSpider.java index f026a52df4..ad30881af6 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSpider.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSpider.java @@ -11,4 +11,9 @@ public class CraftSpider extends CraftMonster implements Spider { super(server, entity); } + @Override + public String toString() { + return "CraftSpider"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSquid.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSquid.java index 87240a38ce..9b7427a826 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSquid.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSquid.java @@ -11,4 +11,9 @@ public class CraftSquid extends CraftWaterMob implements Squid { super(server, entity); } + @Override + public String toString() { + return "CraftSquid"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java index aed9d8519e..2726c6aec0 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftStorageMinecart.java @@ -23,4 +23,9 @@ public class CraftStorageMinecart extends CraftMinecart implements StorageMineca public Inventory getInventory() { return inventory; } + + @Override + public String toString() { + return "CraftStorageMinecart{" + "inventory=" + inventory + '}'; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftTNTPrimed.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftTNTPrimed.java index 89cc62220c..e33c8c82ee 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftTNTPrimed.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftTNTPrimed.java @@ -11,4 +11,9 @@ public class CraftTNTPrimed extends CraftEntity implements TNTPrimed { super(server, entity); } + @Override + public String toString() { + return "CraftTNTPrimed"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftVehicle.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftVehicle.java index 3c3df038f3..0f71f15bd2 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftVehicle.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftVehicle.java @@ -39,4 +39,9 @@ public abstract class CraftVehicle extends CraftEntity implements Vehicle { getHandle().passenger.setPassengerOf(null); return true; } + + @Override + public String toString() { + return "CraftVehicle{passenger=" + getPassenger() + '}'; + } } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java index 0e23936e62..62fa9bb981 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java @@ -11,4 +11,9 @@ public class CraftWaterMob extends CraftCreature implements WaterMob { super(server, entity); } + @Override + public String toString() { + return "CraftWaterMob"; + } + } diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java index b7e94edcd6..b909ec5439 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftZombie.java @@ -11,4 +11,9 @@ public class CraftZombie extends CraftMonster implements Zombie{ super(server, entity); } + @Override + public String toString() { + return "CraftZombie"; + } + }