Custom Dimension Teleportation #1911
Replies: 5 comments 4 replies
-
The ServerPlayer has a teleport method that takes a destination dimension. Try and use that. Basically you have to use a method that doesn’t take just a blockposition but a dimension as well |
Beta Was this translation helpful? Give feedback.
-
I don't see an option for changing dimensions. |
Beta Was this translation helpful? Give feedback.
-
package github.jcsmecabricks.redwoodvariants.block.custom; import github.jcsmecabricks.redwoodvariants.worldgen.dimension.ModDimensions; import java.util.Optional; public class ModPortalBlock extends Block implements Portal {
} |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
can i extend nether portal block? |
Beta Was this translation helpful? Give feedback.
-
I am modding with Neoforge and I am making a custom dimension but I can't get to it. I tried making it so that when you right click on a block it teleports you there but instead, it teleported me on the block. I would appreciate it if someone knew how to fix it.
Beta Was this translation helpful? Give feedback.
All reactions