Started by
Pinc Kactus
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make an item that teleports you to a custom dimension if you're in the overworld, and back to the overworld if you're in the custom dimension. I can make it work in the overworld, but I don't know how to tell it to do something different when I'm in a custom dimension.
Use switch dimension procedure block for this
Got it, but how can I make it so that it doesn't keep teleporting into the same dimension instead of only going to the dimension when I'm in the overworld and vice versa? I tried using an "if id of dimension entity is in is = (id)", but I don't know how to do this with a custom dimension without a numeric id.
Use the get id of dimension procedure block
The swich dimension teleports you to your current coordinates and kills you from fall damage