Fix build

This commit is contained in:
fullwall 2013-01-19 20:42:03 +08:00
parent 511d48053c
commit c09a3b9db4
28 changed files with 56 additions and 56 deletions

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftBat;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.Bat;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class BatController extends MobEntityController {
@ -99,7 +99,7 @@ public class BatController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new BatNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftBlaze;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.Blaze;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class BlazeController extends MobEntityController {
@ -97,7 +97,7 @@ public class BlazeController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new BlazeNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftCaveSpider;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.CaveSpider;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class CaveSpiderController extends MobEntityController {
@ -106,7 +106,7 @@ public class CaveSpiderController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new CaveSpiderNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftChicken;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.Chicken;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class ChickenController extends MobEntityController {
@ -96,7 +96,7 @@ public class ChickenController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new ChickenNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftCow;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.Cow;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class CowController extends MobEntityController {
@ -96,7 +96,7 @@ public class CowController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new CowNPC(this);
return super.getBukkitEntity();

View File

@ -14,8 +14,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftCreeper;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.Creeper;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class CreeperController extends MobEntityController {
@ -103,7 +103,7 @@ public class CreeperController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new CreeperNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEnderDragon;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.EnderDragon;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class EnderDragonController extends MobEntityController {
@ -103,7 +103,7 @@ public class EnderDragonController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new EnderDragonNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEnderman;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.entity.Enderman;
import org.bukkit.entity.Entity;
import org.bukkit.util.Vector;
public class EndermanController extends MobEntityController {
@ -116,7 +116,7 @@ public class EndermanController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new EndermanNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftGhast;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Ghast;
import org.bukkit.util.Vector;
@ -83,7 +83,7 @@ public class GhastController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new GhastNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftGiant;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Giant;
import org.bukkit.util.Vector;
@ -83,7 +83,7 @@ public class GiantController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new GiantNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftIronGolem;
import org.bukkit.entity.Entity;
import org.bukkit.entity.IronGolem;
import org.bukkit.util.Vector;
@ -81,7 +81,7 @@ public class IronGolemController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new IronGolemNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftMagmaCube;
import org.bukkit.entity.Entity;
import org.bukkit.entity.MagmaCube;
import org.bukkit.util.Vector;
@ -93,7 +93,7 @@ public class MagmaCubeController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new MagmaCubeNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftMushroomCow;
import org.bukkit.entity.Entity;
import org.bukkit.entity.MushroomCow;
import org.bukkit.util.Vector;
@ -83,7 +83,7 @@ public class MushroomCowController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new MushroomCowNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftOcelot;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Ocelot;
import org.bukkit.util.Vector;
@ -82,7 +82,7 @@ public class OcelotController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new OcelotNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftPig;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Pig;
import org.bukkit.util.Vector;
@ -89,7 +89,7 @@ public class PigController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new PigNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftPigZombie;
import org.bukkit.entity.Entity;
import org.bukkit.entity.PigZombie;
import org.bukkit.util.Vector;
@ -93,7 +93,7 @@ public class PigZombieController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new PigZombieNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftSheep;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Sheep;
import org.bukkit.util.Vector;
@ -82,7 +82,7 @@ public class SheepController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new SheepNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftSilverfish;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Silverfish;
import org.bukkit.util.Vector;
@ -92,7 +92,7 @@ public class SilverfishController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new SilverfishNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftSkeleton;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Skeleton;
import org.bukkit.util.Vector;
@ -82,7 +82,7 @@ public class SkeletonController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new SkeletonNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Slime;
import org.bukkit.util.Vector;
@ -94,7 +94,7 @@ public class SlimeController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new SlimeNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftSnowman;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Snowman;
import org.bukkit.util.Vector;
@ -82,7 +82,7 @@ public class SnowmanController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new SnowmanNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftSpider;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Spider;
import org.bukkit.util.Vector;
@ -92,7 +92,7 @@ public class SpiderController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new SpiderNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftSquid;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Squid;
import org.bukkit.util.Vector;
@ -83,7 +83,7 @@ public class SquidController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new SquidNPC(this);
return super.getBukkitEntity();

View File

@ -13,8 +13,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftVillager;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Villager;
import org.bukkit.util.Vector;
@ -90,7 +90,7 @@ public class VillagerController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new VillagerNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftWitch;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Witch;
import org.bukkit.util.Vector;
@ -82,7 +82,7 @@ public class WitchController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new WitchNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftWither;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Wither;
import org.bukkit.util.Vector;
@ -88,7 +88,7 @@ public class WitherController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new WitherNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftWolf;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Wolf;
import org.bukkit.util.Vector;
@ -82,7 +82,7 @@ public class WolfController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new WolfNPC(this);
return super.getBukkitEntity();

View File

@ -12,8 +12,8 @@ import net.minecraft.server.v1_4_R1.World;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftEntity;
import org.bukkit.craftbukkit.v1_4_R1.entity.CraftZombie;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Zombie;
import org.bukkit.util.Vector;
@ -82,7 +82,7 @@ public class ZombieController extends MobEntityController {
}
@Override
public Entity getBukkitEntity() {
public CraftEntity getBukkitEntity() {
if (bukkitEntity == null && npc != null)
bukkitEntity = new ZombieNPC(this);
return super.getBukkitEntity();