How do i make a Totem?

Started by Skittey on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2021
Points:

User statistics:

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

Joined Mar 2020
Points:

User statistics:

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

 

Joined Jan 2021
Points:

User statistics:

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

wow it works im so stupid

Joined May 2020
Points:

User statistics:

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

Joined Dec 2021
Points:

User statistics:

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

Joined Jun 2019
Points:

User statistics:

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

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

Joined Oct 2020
Points:

User statistics:

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

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

Joined Apr 2022
Points:

User statistics:

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

Joined Dec 2021
Points:

User statistics:

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

Joined Aug 2022
Points:

User statistics:

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

where is the cancel event icon

Joined Feb 2024
Points:

User statistics:

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

Joined Feb 2024
Points:

User statistics:

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

Never mind Its from something in my properties