How do i make a Totem?

Started by Skittey on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Jan 2021
Points:
593

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
How do i make a Totem?

Hi i just updated my Mcreator version from 2020.4 to 2020.5 and saw that you can make totems but i dont know how or where so if you could help id be very Happy thank you!

Active 2 years ago
Joined Mar 2020
Points:
903

User statistics:

  • Modifications: 3
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 367
global trigger(on player die…
Tue, 02/09/2021 - 14:09

global trigger(on player die):

if player has totem:

>>cancel trigger

>>set player HP to 1

>>play totem-like animation (totem item)[client side only]

>>give player effects ya like

 

Active 1 year ago
Joined Jan 2021
Points:
764

User statistics:

  • Modifications: 10
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
wow it works im so stupid
Sat, 04/24/2021 - 12:38

wow it works im so stupid

Active 3 months ago
Joined May 2020
Points:
672

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 48
it doesn't work for me,…
Tue, 12/07/2021 - 06:32

it doesn't work for me, everytime the totem is used, all mobs become unkillable (immortal)

Active 2 years ago
Joined Dec 2021
Points:
520

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
Shadow, make sure the…
Tue, 12/07/2021 - 09:09

Shadow, make sure the effects you're applying to the totem's procedure only target the player, and not all mobs.

Active 1 year ago
Joined Jun 2019
Points:
705

User statistics:

  • Modifications: 1
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 52
i can't find the global…
Tue, 01/04/2022 - 13:10

i can't find the global trigger "on player die"

Active 3 years ago
Joined Oct 2020
Points:
606

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
Thank you this is what I…
Sun, 02/13/2022 - 03:03

Thank you this is what I need for a second life mod

Active 1 year ago
Joined Apr 2022
Points:
470

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
Global trigger can be found…
Sun, 04/24/2022 - 12:07

Global trigger can be found at the topmost block 'Event trigger' (this one is always placed when you make a new procedure) and the trigger is called 'Entity dies'

My problem is that I'm not seeing any totem-like animation, did I get the order wrong or something?
My order is this:

>>Cancel event
>>Extinguish entity
>>Set to 1 hp
>>Show totem-like animation
>>Add effects
>>set item to air

Active 2 years ago
Joined Dec 2021
Points:
520

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
Try it without the 'set item…
Wed, 04/27/2022 - 00:02

Try it without the 'set item to air' and move the 'show totem-like effect' to the bottom. If that works, then you will likely need to wait for the animation before you remove the item, so ensure that the player cannot activate the totem again until the totem vanishes to be safe from the code looping twice, unless there is a debounce feature I'm unaware of.

Active 1 year ago
Joined Aug 2022
Points:
396

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
where is the cancel event…
Sat, 09/24/2022 - 23:15

where is the cancel event icon

Active 1 year ago
Joined Feb 2024
Points:
114

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
For some reason whenever i…
Tue, 02/13/2024 - 01:49

For some reason whenever i hold the totem it activates, instead of on death

Active 1 year ago
Joined Feb 2024
Points:
114

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Never mind Its from…
Tue, 02/13/2024 - 01:53

Never mind Its from something in my properties