Citizens2/src/main/java/net/citizensnpcs/npc/entity/CitizensMagmaCubeNPC.java

32 lines
820 B
Java
Raw Normal View History

2012-02-03 10:20:48 +01:00
package net.citizensnpcs.npc.entity;
2012-02-04 09:13:20 +01:00
import net.citizensnpcs.npc.CitizensMobNPC;
2012-02-03 10:20:48 +01:00
import net.citizensnpcs.npc.CitizensNPCManager;
import net.minecraft.server.EntityMagmaCube;
import net.minecraft.server.World;
2012-02-03 10:20:48 +01:00
import org.bukkit.entity.MagmaCube;
public class CitizensMagmaCubeNPC extends CitizensMobNPC {
2012-02-03 10:20:48 +01:00
public CitizensMagmaCubeNPC(CitizensNPCManager manager, int id, String name) {
super(manager, id, name, EntityMagmaCubeNPC.class);
}
@Override
public MagmaCube getBukkitEntity() {
return (MagmaCube) getHandle().getBukkitEntity();
}
public static class EntityMagmaCubeNPC extends EntityMagmaCube {
public EntityMagmaCubeNPC(World world) {
super(world);
setSize(3);
}
@Override
public void m_() {
}
}
2012-02-03 10:20:48 +01:00
}