Posted July 18, 201312 yr How would I set the lifespan of an entity so after lets say 30 ticks it would disappear?
July 18, 201312 yr @Override public void onUpdate(){ tickExisted++; if(tickExisted > 30){ this.setDead(); } } how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.