How to let the Player teleport instatly to a custom Dimension

Started by BlueLight on

Topic category: Help with modding (Java Edition)

Last seen on 20:52, 6. May 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to let the Player teleport instatly to a custom Dimension

Im working on a Mod where most thinks are Toxic, and i want that the Player/Players are spawning in the Toxic Dimesion because i dont want to change the overworld. Can some tell me how this works or send a screenshot (link)?
 

Last seen on 22:25, 13. Sep 2023
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I dunno how to send a…
Tue, 04/26/2022 - 14:08

I dunno how to send a screenshot but you just need to say if a entity spawns if that entity is a player teleport entity to your dimension

Last seen on 17:59, 7. Jan 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
isnt there a block that goes…
Mon, 05/02/2022 - 10:13

isnt there a block that goes something like "switch dimension of event/target entity to <>"

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use on player respawns world…
Sun, 05/15/2022 - 21:51

use on player respawns world trigger and select a random location check if its safe and the block is in player spawnable

Last seen on 15:51, 5. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
import net.minecraft.entity…
Tue, 05/17/2022 - 07:32
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.item.ItemEntity;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.Entity;
Last seen on 15:51, 5. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
These are entity references…
Tue, 05/17/2022 - 07:48

These are entity references to do what you want.