Started by
Minecraft Mathers
on
Topic category: Help with Minecraft modding (Java Edition)
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
it'd probably be easiest to use a tag like,
if you were looking for how to actually find that block,
https://files.catbox.moe/q05ami.ptpl
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)
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
Works now, thx for helping with this silly effect :3
yay :3