2012-03-01 17:13:37 +01:00
|
|
|
package net.citizensnpcs.npc.entity;
|
|
|
|
|
|
|
|
import net.citizensnpcs.npc.CitizensMobNPC;
|
|
|
|
import net.citizensnpcs.npc.CitizensNPCManager;
|
|
|
|
|
|
|
|
import net.minecraft.server.EntityOcelot;
|
|
|
|
import net.minecraft.server.World;
|
|
|
|
|
2012-03-01 19:22:39 +01:00
|
|
|
import org.bukkit.entity.Ocelot;
|
2012-03-01 17:13:37 +01:00
|
|
|
|
|
|
|
public class CitizensOcelotNPC extends CitizensMobNPC {
|
|
|
|
|
|
|
|
public CitizensOcelotNPC(CitizensNPCManager manager, int id, String name) {
|
|
|
|
super(manager, id, name, EntityOcelotNPC.class);
|
|
|
|
}
|
|
|
|
|
2012-03-01 19:22:39 +01:00
|
|
|
@Override
|
2012-03-01 17:13:37 +01:00
|
|
|
public Ocelot getBukkitEntity() {
|
|
|
|
return (Ocelot) getHandle().getBukkitEntity();
|
2012-03-01 19:22:39 +01:00
|
|
|
}
|
2012-03-01 17:13:37 +01:00
|
|
|
|
|
|
|
public static class EntityOcelotNPC extends EntityOcelot {
|
|
|
|
|
|
|
|
public EntityOcelotNPC(World world) {
|
|
|
|
super(world);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void d_() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|