Posted December 11, 201212 yr Hello, I need to be able to have a method for giving each instance of EntityPlayer a variable. Like experiencetotal for each player is a variable in EntityPlayer as an integer and stored in the entities NBT. I would like to know how to assign more variables to a player, much like this, but without editing the base class of that player, how could it be done?
December 12, 201212 yr Wondering about the same. And what would be the best way to edit a function of a baseclass, say, the breeding function of an EntitySheep?
December 13, 201212 yr Look at EntityRegistry there is a remove spawn function, then u create the new entity file using vannila model and render.
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.