Started by
BlaBlaSillySheep
on
Topic category: Help with Minecraft modding (Java Edition)
ok so this may be a bit confusing.
what I'm trying to do, is I'm trying to make it so that when the player dies they get teleported to another dimension for a certain amount of time before respawning back where they died.
Any ideas?
i think you can make a simple sytem with xp. if player/xp == 0 tp to dimension ***
Ok, i will try doing that, thanks :D
the only problem with that is that if you spend all your exp doing what not your gonna get teleported
and it wont work if u have KeepInventory True, cuz u keep ur exp, and if u use it for enchanting some thing boom, get tp to another dimension.
create a new procedure element.
in the first green block "event trigger", use the pulldown to select "Entity dies".
use if block to check if current entity is subtype of EntityPlayer.
if true, use code block "cancel event that triggered global trigger".
use code block "switch dimension for provided entity/player to ID x"
You can cancel death ?
How do i check if the current entity is subtype of EntityPlayer?
Nevermind I found it in Entity procedures.
I can't find EntityPlayer in "(sub)type of",
Im using Mcreator 2020.2 in version 1.12.2
is entity (sub) type of x
its in alphabetical order, try harder
It is there