issues with loot tables

Started by TheBestCube on Thu, 04/23/2020 - 15:48

Topic category: Help with MCreator software

Last seen on 06:11, 11. May 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
issues with loot tables
Thu, 04/23/2020 - 15:48

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?

Last seen on 06:11, 11. May 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 :((((

Last seen on 01:09, 29. Oct 2020
Joined May 2018
Points:

User statistics:

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

use a loot table.