Posted January 12, 20169 yr Good nigths lately i been doing this thi zombie is supoused to have 40F of healt the double of the normal zombie, and the change must happen wen remain betwin 75% and %50 of zombie health but whenever i try to set this value like i would duid whith any other mob the mob crash, whithout close the game only the zombie dont spawns i dont get way normaly i just set the health in the applyEntityAttributes method() but // ################################################################################################################# @Override protected void applyEntityAttributes() { super.applyEntityAttributes(); //health 40F this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(40.0D); } it crash i dont spawn the mob
January 12, 20169 yr Well, does the debugger show any indication of what's going on? An exception, notice, anything? It can't just not spawn. Please provide a debug log. I do pony stuff :3
January 12, 20169 yr Author ñaaa magically it fix by itself and its working whithout displaying any error du not know what happen but hink i must leave this as solved Thanks for reading
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.