Teleportation effect

Started by Minecraft Mathers on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Teleportation effect

So what I'm working on is an effect that, when the player gets hurt, they teleport to a random block in a 203 (or simply 20x,20y,20z) cube.. though i also want to check if they won't suffocate/burn/freeze/ect. when they teleport.. Could anybody figure the checking part? Thank you in advance. :3

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it'd probably be easiest to…
Sat, 10/18/2025 - 13:48

it'd probably be easiest to use a tag like,

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So lava is tagged for me as …
Sat, 10/18/2025 - 18:47

So lava is tagged for me as "fallen_utilities:bad_tp" and it STILL teleported me to lava (yes i changed the tag and added the lava there)

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh yeah lava isn't solid, so…
Sat, 10/18/2025 - 18:54

oh yeah lava isn't solid, so it'd just check if the block below the lava is dangerous, try this, I haven't tested it

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Works now, thx for helping…
Sat, 10/18/2025 - 19:14

Works now, thx for helping with this silly effect :3