Custom Death

Started by BlaBlaSillySheep on Thu, 04/09/2020 - 23:04

Topic category: Help with modding (Java Edition)

Last seen on 14:19, 31. May 2021
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom Death
Thu, 04/09/2020 - 23:04

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?

Last seen on 14:29, 12. Sep 2020
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i think you can make a…
Fri, 04/10/2020 - 09:08

i think you can make a simple sytem with xp. if player/xp == 0 tp to dimension ***

Last seen on 14:19, 31. May 2021
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok, i will try doing that,…
Fri, 04/10/2020 - 12:51

Ok, i will try doing that, thanks :D

Last seen on 14:19, 31. May 2021
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
the only problem with that…
Fri, 04/10/2020 - 14:11

the only problem with that is that if you spend all your exp doing what not your gonna get teleported

 

Last seen on 19:57, 25. Jul 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
and it wont work if u have…
Mon, 04/27/2020 - 23:46

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.

Last seen on 21:17, 28. Jun 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
create a new procedure…
Tue, 04/28/2020 - 12:58

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" 

Last seen on 06:42, 25. Jul 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can cancel death ?  
Fri, 05/08/2020 - 15:17

You can cancel death ?

 

Last seen on 12:50, 3. Aug 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do i check if the…
Sun, 06/14/2020 - 17:52

How do i check if the current entity is subtype of EntityPlayer?

Last seen on 12:50, 3. Aug 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Nevermind I found it in…
Sun, 06/14/2020 - 18:22

Nevermind I found it in Entity procedures.

Last seen on 12:50, 3. Aug 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can't find EntityPlayer in…
Sun, 06/14/2020 - 18:26

I can't find EntityPlayer in "(sub)type of",

Im using Mcreator 2020.2 in version 1.12.2

Last seen on 21:17, 28. Jun 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
its in alphabetical order,…
Mon, 06/15/2020 - 08:09

its in alphabetical order, try harder

Last seen on 14:19, 31. May 2021
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It is there
Wed, 06/17/2020 - 22:57

It is there