mojira.dev
MC-124782

Loot tables issues with Data packs

Loot tables are not working when integrated into a datapack.

Steps :

  1. /datapack enable "file/datapack" first

  2. /summon stray ~ ~ ~ { DeathLootTable:"test:folder/table1" }

Then the mob drops nothing, even if weight is set to 1000.

Maybe the function set_nbt is no longer supported in 1.13 snapshots.

Here is the file so you can experiment that problem.

Attachments

Comments 1

I can already tell you 2 things:

  1. weight is irrelevant.

  2. ~the loot table fails to load/errors, I’m trying to find out why though.~

EDIT: the loot table works for me, actually.

Daniel_2sdAc

(Unassigned)

Unconfirmed

Minecraft 18w05a

Retrieved