Posted September 3, 20169 yr I want to know how to access a the dimension int from an event like TickEvent.WorldTickEvent. Also, I have code that subscribes to this event, inside an Item, so I register that item on the EVENT_BUS. Is this correct to do?
September 3, 20169 yr Get the World 's WorldProvider from the World#provider field, then get the dimension ID from the WorldProvider#getDimension method. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
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.