Posted January 9, 20214 yr I want to take an existing in-game entity and replace it's code (I don't want to change the textures and appearence at all) with mine. Everywhere I look I see only how to register a new entity. If I cannot simply replace an entity, how do I remove one from the game? If I can do that, I can just mimik the name of the one I want to replace. I would also like to have information about how to link my replacement to the entity's spawn egg. I can supply code if necessary, but I didn't do much, I am still mostly planning so I don't think much would help. Thanks! Edited January 9, 20214 yr by Nimi142 Added version to title
January 9, 20214 yr Author I want to change the spawn conditions as well. Will removing the entity entirely and creating a new one that inherits it be better? If so, how do I remove this entity from the game? I suppose I can stop it from spawning by using "EntityJoinWorldEvent" and removing it everytime it spawns, but I would like to remove it's egg and stuff as well. Is such a thing possible?
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.