diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-30 22:01:53 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-30 22:02:23 +0000 |
commit | 1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a (patch) | |
tree | 4a46d72e74c01342ec288db42e786f2c14ee6630 /src/main/java | |
parent | 639d3e3f9400b0b5db23a48fedd7442edb180a43 (diff) | |
download | craftbukkit-1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a.tar craftbukkit-1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a.tar.gz craftbukkit-1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a.tar.lz craftbukkit-1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a.tar.xz craftbukkit-1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a.zip |
toString!
Diffstat (limited to 'src/main/java')
33 files changed, 164 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java index ed0b8b95..eaae04ba 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 8749a4ef..b4d299ff 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 da80e332..6dbfddd9 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 be5eed22..d42db985 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 4d8c6a79..9563ba25 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 fc904e10..24b8b227 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 f193111f..a41d0c3c 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 18654b07..a283f797 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 494100d5..0b5a4305 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 f4597e37..cfa8666e 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 85699a7d..7bc7af4d 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 a6a95003..3426590a 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 261cf603..3d0e70f6 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 6cae93f5..8e324c6c 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 556c56fe..b2bb9fe2 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 da6bd701..649915a6 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 b0912c31..de8114fd 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 2453bfe2..c6ad41e9 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 11b718a2..68b21915 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 8b3e8c2c..b92aa36c 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 1d1733c7..be0a5401 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 704b8b53..a492237b 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 efd098d1..9ce015d0 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 ba3ae6e7..c4bd5e9e 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 4a0a6105..e503569e 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 ae301ac2..7d0d6e23 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 f026a52d..ad30881a 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 87240a38..9b7427a8 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 aed9d851..2726c6ae 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 89cc6222..e33c8c82 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 3c3df038..0f71f15b 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 0e23936e..62fa9bb9 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 b7e94edc..b909ec54 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"; + } + } |