issues with loot tables

Started by TheBestCube on

Topic category: Help with MCreator software

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
issues with loot tables

So I'm new to MCreator and I tried to build up a sort of beheading procedure.

I triggered the event for ENTITY DIES and set it to be:

if --> current entity (sub)type of (any entity that has a skull)

do ____ random (30%)

              spawn gem (its skull)

So even though this is my setup, I get the head if I hit mobs without them dying, in addition to obviously when they die.

Could you help me edit this to be only when they die? I tried everything but without any success...

 

btw I applied this to a custom item I created into the "when mob is hit by a tool", should it be maybe in "when tool in hand tick" or even something else?

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
EDIT: I kinda resolved this…
Thu, 04/23/2020 - 16:07

EDIT: I kinda resolved this issue by changing the "when mod is hit with tool" to "when tool in hand tick but now I get the skulls even if they die in fire while my tool is in my hand or every other bar slot....

help :((((

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use a loot table.  
Sat, 05/09/2020 - 23:27

use a loot table.