From 26a590f03018f011c29d17053219106929052a3b Mon Sep 17 00:00:00 2001 From: Andrew Ardill Date: Tue, 18 Jan 2011 17:16:05 +1100 Subject: [PATCH] fixed imports on all Entities --- src/main/java/net/minecraft/server/Entity.java | 4 ++-- src/main/java/net/minecraft/server/EntityAnimals.java | 2 ++ src/main/java/net/minecraft/server/EntityChicken.java | 3 ++- src/main/java/net/minecraft/server/EntityCow.java | 2 ++ src/main/java/net/minecraft/server/EntityCreature.java | 2 ++ src/main/java/net/minecraft/server/EntityCreeper.java | 2 ++ src/main/java/net/minecraft/server/EntityEgg.java | 4 ---- src/main/java/net/minecraft/server/EntityFallingSand.java | 2 ++ src/main/java/net/minecraft/server/EntityFireball.java | 1 + src/main/java/net/minecraft/server/EntityFish.java | 4 ---- src/main/java/net/minecraft/server/EntityFlying.java | 2 ++ src/main/java/net/minecraft/server/EntityGhast.java | 2 ++ src/main/java/net/minecraft/server/EntityItem.java | 2 ++ src/main/java/net/minecraft/server/EntityLiving.java | 2 ++ src/main/java/net/minecraft/server/EntityMobs.java | 4 ---- src/main/java/net/minecraft/server/EntityPainting.java | 2 ++ src/main/java/net/minecraft/server/EntityPig.java | 2 ++ src/main/java/net/minecraft/server/EntityPigZombie.java | 2 ++ src/main/java/net/minecraft/server/EntityPlayer.java | 3 ++- src/main/java/net/minecraft/server/EntitySheep.java | 2 ++ src/main/java/net/minecraft/server/EntitySkeleton.java | 1 + src/main/java/net/minecraft/server/EntitySlime.java | 3 ++- src/main/java/net/minecraft/server/EntitySnowball.java | 2 -- src/main/java/net/minecraft/server/EntitySpider.java | 2 ++ src/main/java/net/minecraft/server/EntitySquid.java | 2 ++ src/main/java/net/minecraft/server/EntityTNTPrimed.java | 3 ++- src/main/java/net/minecraft/server/EntityWaterMob.java | 2 ++ src/main/java/net/minecraft/server/EntityZombie.java | 1 + src/main/java/net/minecraft/server/EntityZombieSimple.java | 2 ++ 29 files changed, 47 insertions(+), 20 deletions(-) diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java index a05206b01a..d56f1de977 100644 --- a/src/main/java/net/minecraft/server/Entity.java +++ b/src/main/java/net/minecraft/server/Entity.java @@ -1,13 +1,13 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.Event.Type; import org.bukkit.event.entity.EntityCombustEvent; import org.bukkit.event.entity.EntityDamageByBlockEvent; -import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity.EntityDamageEvent; import org.bukkit.event.entity.EntityDamageEvent.DamageCause; -// CraftBukkit end +//CraftBukkit end import java.util.List; import java.util.Random; diff --git a/src/main/java/net/minecraft/server/EntityAnimals.java b/src/main/java/net/minecraft/server/EntityAnimals.java index 31a5e86b61..09df7f6f25 100644 --- a/src/main/java/net/minecraft/server/EntityAnimals.java +++ b/src/main/java/net/minecraft/server/EntityAnimals.java @@ -1,7 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftAnimals; +//CraftBukkit end public abstract class EntityAnimals extends EntityCreature implements IAnimals { diff --git a/src/main/java/net/minecraft/server/EntityChicken.java b/src/main/java/net/minecraft/server/EntityChicken.java index 4ae15dafc6..64dfced3d6 100644 --- a/src/main/java/net/minecraft/server/EntityChicken.java +++ b/src/main/java/net/minecraft/server/EntityChicken.java @@ -2,9 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; -import org.bukkit.craftbukkit.entity.CraftAnimals; import org.bukkit.craftbukkit.entity.CraftChicken; +//CraftBukkit end public class EntityChicken extends EntityAnimals { diff --git a/src/main/java/net/minecraft/server/EntityCow.java b/src/main/java/net/minecraft/server/EntityCow.java index b98f37ea0b..d19d40d13d 100644 --- a/src/main/java/net/minecraft/server/EntityCow.java +++ b/src/main/java/net/minecraft/server/EntityCow.java @@ -1,7 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftCow; +//CraftBukkit end public class EntityCow extends EntityAnimals { diff --git a/src/main/java/net/minecraft/server/EntityCreature.java b/src/main/java/net/minecraft/server/EntityCreature.java index 8beaf876c2..35f6da6fe3 100644 --- a/src/main/java/net/minecraft/server/EntityCreature.java +++ b/src/main/java/net/minecraft/server/EntityCreature.java @@ -2,8 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftCreature; +//CraftBukkit end public class EntityCreature extends EntityLiving { diff --git a/src/main/java/net/minecraft/server/EntityCreeper.java b/src/main/java/net/minecraft/server/EntityCreeper.java index 589a92dc49..c6b7f2e684 100644 --- a/src/main/java/net/minecraft/server/EntityCreeper.java +++ b/src/main/java/net/minecraft/server/EntityCreeper.java @@ -2,8 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftCreeper; +//CraftBukkit end public class EntityCreeper extends EntityMobs { diff --git a/src/main/java/net/minecraft/server/EntityEgg.java b/src/main/java/net/minecraft/server/EntityEgg.java index 690701c7f3..1feff62969 100644 --- a/src/main/java/net/minecraft/server/EntityEgg.java +++ b/src/main/java/net/minecraft/server/EntityEgg.java @@ -6,11 +6,7 @@ import java.util.Random; // CraftBukkit start import org.bukkit.entity.MobType; import org.bukkit.entity.Player; -import org.bukkit.craftbukkit.entity.CraftArrow; import org.bukkit.craftbukkit.entity.CraftEgg; -import org.bukkit.craftbukkit.entity.CraftEntity; -import org.bukkit.craftbukkit.entity.CraftLivingEntity; -import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.Event.Type; import org.bukkit.event.entity.EntityDamageByProjectileEvent; diff --git a/src/main/java/net/minecraft/server/EntityFallingSand.java b/src/main/java/net/minecraft/server/EntityFallingSand.java index bc0a106a6c..41ab39760b 100644 --- a/src/main/java/net/minecraft/server/EntityFallingSand.java +++ b/src/main/java/net/minecraft/server/EntityFallingSand.java @@ -1,7 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftFallingSand; +//CraftBukkit end public class EntityFallingSand extends Entity { diff --git a/src/main/java/net/minecraft/server/EntityFireball.java b/src/main/java/net/minecraft/server/EntityFireball.java index 610e0e8dd5..27f28da98b 100644 --- a/src/main/java/net/minecraft/server/EntityFireball.java +++ b/src/main/java/net/minecraft/server/EntityFireball.java @@ -3,6 +3,7 @@ package net.minecraft.server; import java.util.List; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.entity.CraftFireball; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.entity.EntityDamageByProjectileEvent; diff --git a/src/main/java/net/minecraft/server/EntityFish.java b/src/main/java/net/minecraft/server/EntityFish.java index cc6893ae57..09a73dbe0f 100644 --- a/src/main/java/net/minecraft/server/EntityFish.java +++ b/src/main/java/net/minecraft/server/EntityFish.java @@ -4,11 +4,7 @@ import java.util.List; import java.util.Random; // CraftBukkit start -import org.bukkit.craftbukkit.entity.CraftEgg; -import org.bukkit.craftbukkit.entity.CraftEntity; -import org.bukkit.craftbukkit.entity.CraftFireball; import org.bukkit.craftbukkit.entity.CraftFish; -import org.bukkit.craftbukkit.entity.CraftLivingEntity; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.entity.EntityDamageByProjectileEvent; import org.bukkit.event.entity.EntityDamageEvent; diff --git a/src/main/java/net/minecraft/server/EntityFlying.java b/src/main/java/net/minecraft/server/EntityFlying.java index ea36e28e58..8df4b9a18e 100644 --- a/src/main/java/net/minecraft/server/EntityFlying.java +++ b/src/main/java/net/minecraft/server/EntityFlying.java @@ -1,7 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftFlying; +//CraftBukkit end public class EntityFlying extends EntityLiving { diff --git a/src/main/java/net/minecraft/server/EntityGhast.java b/src/main/java/net/minecraft/server/EntityGhast.java index df26fd88a0..e7dcd822e8 100644 --- a/src/main/java/net/minecraft/server/EntityGhast.java +++ b/src/main/java/net/minecraft/server/EntityGhast.java @@ -3,8 +3,10 @@ package net.minecraft.server; import java.util.List; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftGhast; +//CraftBukkit end public class EntityGhast extends EntityFlying implements IMobs { diff --git a/src/main/java/net/minecraft/server/EntityItem.java b/src/main/java/net/minecraft/server/EntityItem.java index 0221012782..b6e5a4ead2 100644 --- a/src/main/java/net/minecraft/server/EntityItem.java +++ b/src/main/java/net/minecraft/server/EntityItem.java @@ -2,8 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftItem; +//CraftBukkit end public class EntityItem extends Entity { diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java index 30bd0ccd43..678debc03e 100644 --- a/src/main/java/net/minecraft/server/EntityLiving.java +++ b/src/main/java/net/minecraft/server/EntityLiving.java @@ -3,8 +3,10 @@ package net.minecraft.server; import java.util.List; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftLivingEntity; +//CraftBukkit end public abstract class EntityLiving extends Entity { diff --git a/src/main/java/net/minecraft/server/EntityMobs.java b/src/main/java/net/minecraft/server/EntityMobs.java index e55b488289..9085af9a64 100644 --- a/src/main/java/net/minecraft/server/EntityMobs.java +++ b/src/main/java/net/minecraft/server/EntityMobs.java @@ -3,13 +3,9 @@ package net.minecraft.server; import java.util.Random; //CraftBukkit start -import org.bukkit.craftbukkit.entity.CraftEntity; -import org.bukkit.craftbukkit.entity.CraftLivingEntity; -import org.bukkit.craftbukkit.entity.CraftMinecart; import org.bukkit.craftbukkit.entity.CraftMonster; import org.bukkit.craftbukkit.CraftServer; -import org.bukkit.event.entity.EntityDamageByBlockEvent; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity.EntityDamageEvent; import org.bukkit.event.entity.EntityDamageEvent.DamageCause; diff --git a/src/main/java/net/minecraft/server/EntityPainting.java b/src/main/java/net/minecraft/server/EntityPainting.java index fbe12e01fd..4373395f22 100644 --- a/src/main/java/net/minecraft/server/EntityPainting.java +++ b/src/main/java/net/minecraft/server/EntityPainting.java @@ -2,8 +2,10 @@ package net.minecraft.server; import java.util.*; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftPainting; +//CraftBukkit end public class EntityPainting extends Entity { diff --git a/src/main/java/net/minecraft/server/EntityPig.java b/src/main/java/net/minecraft/server/EntityPig.java index b51e3e95ed..2b67d72cab 100644 --- a/src/main/java/net/minecraft/server/EntityPig.java +++ b/src/main/java/net/minecraft/server/EntityPig.java @@ -1,7 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftPig; +//CraftBukkit end public class EntityPig extends EntityAnimals { diff --git a/src/main/java/net/minecraft/server/EntityPigZombie.java b/src/main/java/net/minecraft/server/EntityPigZombie.java index a26a2a5d7e..f0451a0762 100644 --- a/src/main/java/net/minecraft/server/EntityPigZombie.java +++ b/src/main/java/net/minecraft/server/EntityPigZombie.java @@ -3,8 +3,10 @@ package net.minecraft.server; import java.util.List; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftPigZombie; +//CraftBukkit end public class EntityPigZombie extends EntityZombie { diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 99a189143d..aa8a9ed347 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -3,12 +3,13 @@ package net.minecraft.server; import java.util.List; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.entity.CraftHumanEntity; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity.EntityDamageEvent; -// CraftBukkit end import org.bukkit.event.entity.EntityDamageEvent.DamageCause; +//CraftBukkit end public abstract class EntityPlayer extends EntityLiving { diff --git a/src/main/java/net/minecraft/server/EntitySheep.java b/src/main/java/net/minecraft/server/EntitySheep.java index 4cdd79cfef..5e51fa985f 100644 --- a/src/main/java/net/minecraft/server/EntitySheep.java +++ b/src/main/java/net/minecraft/server/EntitySheep.java @@ -2,8 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftSheep; +//CraftBukkit end public class EntitySheep extends EntityAnimals { diff --git a/src/main/java/net/minecraft/server/EntitySkeleton.java b/src/main/java/net/minecraft/server/EntitySkeleton.java index b4c789bbc5..b18ef99f31 100644 --- a/src/main/java/net/minecraft/server/EntitySkeleton.java +++ b/src/main/java/net/minecraft/server/EntitySkeleton.java @@ -2,6 +2,7 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.entity.CraftSkeleton; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.Event.Type; diff --git a/src/main/java/net/minecraft/server/EntitySlime.java b/src/main/java/net/minecraft/server/EntitySlime.java index 6a08eaa146..c18e70a810 100644 --- a/src/main/java/net/minecraft/server/EntitySlime.java +++ b/src/main/java/net/minecraft/server/EntitySlime.java @@ -2,9 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; -import org.bukkit.craftbukkit.entity.CraftSkeleton; import org.bukkit.craftbukkit.entity.CraftSlime; +//CraftBukkit stop public class EntitySlime extends EntityLiving implements IMobs { diff --git a/src/main/java/net/minecraft/server/EntitySnowball.java b/src/main/java/net/minecraft/server/EntitySnowball.java index 7107d6e7f6..ff07e80753 100644 --- a/src/main/java/net/minecraft/server/EntitySnowball.java +++ b/src/main/java/net/minecraft/server/EntitySnowball.java @@ -4,8 +4,6 @@ import java.util.List; import java.util.Random; //CraftBukkit start -import org.bukkit.craftbukkit.entity.CraftEntity; -import org.bukkit.craftbukkit.entity.CraftLivingEntity; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftSnowball; import org.bukkit.event.entity.EntityDamageByProjectileEvent; diff --git a/src/main/java/net/minecraft/server/EntitySpider.java b/src/main/java/net/minecraft/server/EntitySpider.java index f9a639dc81..ee01de3133 100644 --- a/src/main/java/net/minecraft/server/EntitySpider.java +++ b/src/main/java/net/minecraft/server/EntitySpider.java @@ -2,8 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftSpider; +//CraftBukkit stop public class EntitySpider extends EntityMobs { diff --git a/src/main/java/net/minecraft/server/EntitySquid.java b/src/main/java/net/minecraft/server/EntitySquid.java index 5e48e4466d..e6b02ffa50 100644 --- a/src/main/java/net/minecraft/server/EntitySquid.java +++ b/src/main/java/net/minecraft/server/EntitySquid.java @@ -2,8 +2,10 @@ package net.minecraft.server; import java.util.Random; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftSquid; +//CraftBukkit stop public class EntitySquid extends EntityWaterMob { diff --git a/src/main/java/net/minecraft/server/EntityTNTPrimed.java b/src/main/java/net/minecraft/server/EntityTNTPrimed.java index 1705ba6ebd..4f228f58ab 100644 --- a/src/main/java/net/minecraft/server/EntityTNTPrimed.java +++ b/src/main/java/net/minecraft/server/EntityTNTPrimed.java @@ -1,8 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; -import org.bukkit.craftbukkit.entity.CraftSkeleton; import org.bukkit.craftbukkit.entity.CraftTNTPrimed; +//CraftBukkit stop public class EntityTNTPrimed extends Entity { diff --git a/src/main/java/net/minecraft/server/EntityWaterMob.java b/src/main/java/net/minecraft/server/EntityWaterMob.java index c37eac5bdc..e83d9c5c19 100644 --- a/src/main/java/net/minecraft/server/EntityWaterMob.java +++ b/src/main/java/net/minecraft/server/EntityWaterMob.java @@ -1,7 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftWaterMob; +//CraftBukkit stop public class EntityWaterMob extends EntityCreature implements IAnimals { diff --git a/src/main/java/net/minecraft/server/EntityZombie.java b/src/main/java/net/minecraft/server/EntityZombie.java index 9304781560..e717f89283 100644 --- a/src/main/java/net/minecraft/server/EntityZombie.java +++ b/src/main/java/net/minecraft/server/EntityZombie.java @@ -1,5 +1,6 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.entity.CraftZombie; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.Event.Type; diff --git a/src/main/java/net/minecraft/server/EntityZombieSimple.java b/src/main/java/net/minecraft/server/EntityZombieSimple.java index 4e9118ee28..0b76a3bfbe 100644 --- a/src/main/java/net/minecraft/server/EntityZombieSimple.java +++ b/src/main/java/net/minecraft/server/EntityZombieSimple.java @@ -1,7 +1,9 @@ package net.minecraft.server; +//CraftBukkit start import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.entity.CraftGiant; +//CraftBukkit stop public class EntityZombieSimple extends EntityMobs {