Posted July 31, 20223 yr As the title suggests, is it possible to add my custom sound/soundevent to when switching between my custom dimension, so instead of playing the default vanilla sound when changing dim, it would be mine There is a method I found but its a boolean, not really sure how I can implement mine, the method is called playTeleportSound
July 31, 20223 yr Author 3 hours ago, diesieben07 said: You already found the correct method. You need to implement ITeleporter and use it when teleporting the entities from your portal. The method has JavaDocs that explain how to use it. Yes I know, but I still quite didn't understand since I am more of a visual learner, I can't think of it, if there is an example I'd really appreciate it
July 31, 20223 yr You can take a look at Entity#handleInsidePortal and Entity#changeDimension to see how vanilla do this.
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.