2012-02-03 10:20:48 +01:00
|
|
|
package net.citizensnpcs.npc.entity;
|
|
|
|
|
|
|
|
import net.citizensnpcs.npc.CitizensNPCManager;
|
2012-02-04 07:48:23 +01:00
|
|
|
import net.minecraft.server.EntityGhast;
|
|
|
|
import net.minecraft.server.World;
|
2012-02-03 10:20:48 +01:00
|
|
|
|
2012-02-04 07:48:23 +01:00
|
|
|
import org.bukkit.entity.Ghast;
|
|
|
|
|
|
|
|
public class CitizensGhastNPC extends CitizensMobNPC {
|
2012-02-03 10:20:48 +01:00
|
|
|
|
|
|
|
public CitizensGhastNPC(CitizensNPCManager manager, int id, String name) {
|
|
|
|
super(manager, id, name, EntityGhastNPC.class);
|
|
|
|
}
|
2012-02-04 07:48:23 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public Ghast getBukkitEntity() {
|
|
|
|
return (Ghast) getHandle().getBukkitEntity();
|
|
|
|
}
|
|
|
|
|
|
|
|
public static class EntityGhastNPC extends EntityGhast {
|
|
|
|
|
|
|
|
public EntityGhastNPC(World world) {
|
|
|
|
super(world);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void m_() {
|
|
|
|
}
|
|
|
|
}
|
2012-02-03 10:20:48 +01:00
|
|
|
}
|