Created
December 5, 2011 08:55
-
-
Save ShaRose/1432918 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class EntityGoomba extends EntityCreature { | |
public EntityGoomba(World world) { | |
super(world); | |
texture = "/mob/Goomba.png"; | |
moveSpeed = 1.0F; | |
isImmuneToFire = false; | |
npcName = "Goomba"; | |
} | |
@Override | |
protected int getDropItemId() { | |
return Item.swordStone.shiftedIndex; | |
} | |
@Override | |
public boolean canBreatheUnderwater() { | |
return false; | |
} | |
@Override | |
protected boolean canDespawn() { | |
return false; | |
} | |
@Override | |
public int getMaxHealth() { | |
return 20; | |
} | |
@Override | |
public void onEntityDeath() { | |
} | |
public String npcName; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment