How to make entities switch dimension ?

Started by rescue0978 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make entities switch dimension ?

I would like to teleport the player (who is in a vehicle, riding an entity such as a Flan's mod plane), into the End when he reaches an altitude of 255 blocks in the overworld, then the reverse when he reaches the altitude 0 in the End.

https://i.imgur.com/SMoWox5.png

The player teleports fine as expected, when he reaches Y = 255 in the overworld or Y = 0 in the End, but when the player rides an entity, it doesn't work, the player does not switch dimensions.

What should I do to fix this ?

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
did you figure this out? im…
Sun, 05/07/2023 - 17:51

did you figure this out? im trying to do the same

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have an idea. Instead of …
Sun, 08/11/2024 - 17:39

I have an idea. Instead of "On player tick update" put there "On loaded entity tick update". Should work

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
By the way, "Switch…
Mon, 08/12/2024 - 09:31

By the way, "Switch dimension" block only works with players. It is literally written on it :D

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
    has anyone found out how…
Sun, 12/08/2024 - 17:43


 

 

has anyone found out how to do this?