Custom Death

Started by BlaBlaSillySheep on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 months ago
Joined Apr 2017
Points:
974

User statistics:

  • Modifications: 5
  • Forum topics: 33
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 119
Custom Death

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?

Active 5 years ago
Joined Oct 2018
Points:
678

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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 ***

Active 2 months ago
Joined Apr 2017
Points:
974

User statistics:

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

Ok, i will try doing that, thanks :D

Active 2 months ago
Joined Apr 2017
Points:
974

User statistics:

  • Modifications: 5
  • Forum topics: 33
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 119
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

 

Active 5 days ago
Joined Mar 2020
Points:
1183

User statistics:

  • Modifications: 6
  • Forum topics: 71
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 264
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.

Active 3 years ago
Joined Nov 2019
Points:
880

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 384
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" 

Active 2 years ago
Joined Jun 2017
Points:
901

User statistics:

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

You can cancel death ?

 

Active 5 years ago
Joined Feb 2020
Points:
666

User statistics:

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

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

Active 5 years ago
Joined Feb 2020
Points:
666

User statistics:

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

Nevermind I found it in Entity procedures.

Active 5 years ago
Joined Feb 2020
Points:
666

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
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

Active 3 years ago
Joined Nov 2019
Points:
880

User statistics:

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

its in alphabetical order, try harder

Active 2 months ago
Joined Apr 2017
Points:
974

User statistics:

  • Modifications: 5
  • Forum topics: 33
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 119
It is there
Wed, 06/17/2020 - 22:57

It is there