Posted January 9, 201510 yr Hey I cant fine a method that is called when my entity is spawned. For example with egg. Is any method that I need or I must to create own?
January 9, 201510 yr Author Thanks, but I still have some tick problems. When my mob spawns with egg it calls method to set random string from the given string array. NBT saves this string and loads too, but if I add System.out.println(my string); in ticking method it returns once good string once null. Is it normall or my code is broken?
January 9, 201510 yr Author I dont know differences between both sides but my string have to be shown in gui. I fink its client side.
January 10, 201510 yr Author Yeay, I have made it without any more help Now my entity and strings work as I wanted.
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.