How to make a /title text appear when you hit a mob with a item and kill the player?

Started by Alanek2012 on

Topic category: Advanced modding

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a /title text appear when you hit a mob with a item and kill the player?

I wanted to make a ability that if you hit a mob with a item it will kill a player or something like that.. Im new to MCreator and i dont know some things in it.. Thanks!

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
TEXT: Make the item, then…
Sun, 10/03/2021 - 12:00

TEXT: Make the item, then you can make the prodecal, I think there is a exicute command block somewhere. Then you can save the prodecal  and assign it to the item.

INSTA KILL: Set the damage to something like 10,000 if you want it to kill the ender dragon in 1 hit.

Kill ALL: do the exicute command block and do "kill @a".

IMPORTANT: if it deals damage then make it a tool and then set it to weapon.

Anything I missed?

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
KILL ALL Variations: @a is…
Sun, 10/03/2021 - 12:02

KILL ALL Variations: @a is all players, @p is a random player, @e is all players and mobs.

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok thanks!  
Sun, 10/03/2021 - 12:29

Ok thanks!

 

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But another question.. Where…
Sun, 10/03/2021 - 12:31

But another question.. Where was the element for "if attacked by" player "with" tool? Do you guys have that?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on global triggers
Sun, 10/03/2021 - 16:24

on global triggers

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
entity is hurt global…
Sun, 10/03/2021 - 16:24

entity is hurt global trigger

if source entity = type Player

etc etc

 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh and if Source entity is…
Sun, 10/03/2021 - 16:25

oh and if Source entity is type Player AND item in main hand of source entity = ITEM

etc etc