mojira.dev
MC-161915

new predicates not working properly

random_chance_with_looting will always works, no matter which item you hold, match_tool will never work.

Attachments

Comments 1

The match_tool condition checks which tool was used to mine a block, not which tool is being held. The random_chance_with_looting condition uses the level of looting on the item held by the killer entity, which doesn't exist outside the context of a loot table.

Elijas

(Unassigned)

Unconfirmed

(Unassigned)

19w39a

Retrieved