Posted February 15, 20187 yr I'm trying to get every entity in an AABB (with EntityJoinWorldEvent#getWorld().getEntitiesWithinAABB()) but it checks for the current dimension or the whole world. I mean, if a zombie is at x:25, y:64, z:-100 in the nether and call getEntitiesWithinAABB() in the overworld, but where the zombie is in the nether, does the zombie get counted? And how I can get every Player in a dimension? (e.g. End)
February 15, 20187 yr Author 10 minutes ago, diesieben07 said: The World class represents a single dimension So if the entity has joined the End, EntityJoinWorldEvent#getWorld() will be the End world with subsequent entities, etc.?
February 15, 20187 yr Author How do I get the dimension id from the world? Edited February 15, 20187 yr by Insane96MCP
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.