Started by
Robertm5402
on
Topic category: Help with Minecraft modding (Java Edition)
I need some help I was wondering if anyone knew how to create a portal similar to the one to the mining dimension in all the mod 8 where it is a single block and when you right-click it it will teleport you to your set dimension
Hello! This is that fully one of the simpler portals to create.
Two different ways to do this - the first is if this is a custom block. On the trigger "block right clicked" create a procedure with your conditions, ex. If player holding item. Then there is a clock set dimension of player to "dimension ID".
The other way would be if you are using an in game block. Create a new procedure element with the global trigger "a block is right clicked" and then you would do the same as above, create your conditions, and then change dimension.
what if i wanted to make it so it has to be placed in the end or in the nether
You can do that in the block placement conditions. If I'd of world = end or nether return true, else return false.