Created
May 19, 2011 01:47
-
-
Save BlockAfterBlock/980003 to your computer and use it in GitHub Desktop.
Awesome
This file contains hidden or 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; | |
import java.util.List; | |
public class LMHNative1 extends LMHEntityBase | |
{ | |
public LMHNative1(World world) | |
{ | |
super(world); | |
health = 26; //13 Hearts | |
texture = "/LMH/Native1.png"; | |
wayofattack = "bow"; | |
getMaxSpawnedInChunk = 3; | |
// Note: Texture from sioux-six-four, improved by Evader | |
} | |
protected void dropFewItems() | |
{ | |
int i = rand.nextInt(2); | |
for(int j = 0; j < i; j++){dropItem(Item.porkRaw.shiftedIndex, 1);} | |
i = rand.nextInt(3); | |
for(int k = 0; k < i; k++){dropItem(Item.bone.shiftedIndex, 1);} | |
i = rand.nextInt(3); | |
for(int r = 0; r < i; r++){dropItem(Item.arrow.shiftedIndex, 1);} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment