-
-
Save Tenyar97/df61df8d2708072c1236 to your computer and use it in GitHub Desktop.
Aminecraftable reproduction
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
@Override | |
public void onUpdate() | |
{ | |
tickExisted++; | |
if(tickExisted < 6000) | |
{ | |
if (this.rand.nextInt(50000) == 0) | |
{ | |
EntityBabyWalker entitybabywalker = new EntityBabyWalker(this.worldObj); | |
entitybabywalker.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, 0.0F); | |
this.worldObj.spawnEntityInWorld(entitybabywalker); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment