Posted April 5, 201510 yr I have an bird entity that I want to be able to attack other entities. I know how to do this, but I want the player to be able to change which entity nearby birds will attack. How would I make a sort of NBT that can hold the entity field that the player selects? Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
April 6, 201510 yr Do you want to specify the entity type? Or the specific entity? For former, just save the entity id. For latter, just save the UUID of the entity. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
April 6, 201510 yr Author How would I set the target based on UUID? Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
April 6, 201510 yr Author No but how do I identify an entity based on its UUID Creator of the MyFit, MagiCraft, Tesseract gun, and Papa's Wingeria mod.
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.