issues with loot tables

Started by TheBestCube on

Topic category: Help with MCreator software

Active 4 years ago
Joined Apr 2020
Points:
619

User statistics:

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

Active 4 years ago
Joined Apr 2020
Points:
619

User statistics:

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

Active 4 years ago
Joined May 2018
Points:
707

User statistics:

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

use a loot table.