Posted November 24, 201212 yr As the title suggested, I wan wondering how can i add spawn eggs for my custom mobs?
November 24, 201212 yr Register the entity with: EntityRegistry.registerGlobalEntityID(Class <? extends Entity > entityClass, String entityName, int id, int backgroundEggColour, int foregroundEggColour)
November 24, 201212 yr Author what values should the BG int and primary color int be? i presume a certain int is a certain color. In that case, is there a list of what int represents what color?
November 24, 201212 yr I believe it uses a hexadecimal colour system, correct me if I'm wrong but I've noticed it being used in other areas of code - a.k.a. 0x000000 = black, 0xffffff = white - http://slekx.com/as3-intro/extra/hexadecimal-color-overview/ - for some more.
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.