Posted March 15, 201411 yr Hello, I need to be able to detect a specific entity or an entity in a specific x, y, z, and if there are more than one entity in a specific location. All help is appreciated. Thank You! Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
March 16, 201411 yr Use world.getEntitiesWithinAABB(yourEntityClass, AxisAlignedBB); it will return a list wit all entities found inside the given box. PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
March 16, 201411 yr Author Sorry, but I don't know what to put in for those parameters. I'm a noob Could you explain? Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
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.