mojira.dev

when executing

/data merge block -32 39 3 {LootTable:"test/data/test/loot_tables/test:elec"}

the command fails because there is _- character in it. Now.. how the hell am I suppose to run the command without using(_) in loot_table?

Attachments

Comments 12

You're using namespaces wrong (you shouldn't need to include the full path like that). I haven't used loot tables much myself, but try just test:elec.

Still doesn't work.

Attach your datapack here.

[media][media][media]

"name": "minecraft:dye",
          "weight": 1,
          "functions": [
            {
              "function": "set_data",
              "data": 6
            }

You're still using old IDs. "Dye 6" is now minecraft:cyan_dye.

2 more comments

Cannot reproduce. Given loot table works fine for me.

[media][media]

But does an item appear in the chest?

ahhh, it works for me now too. Thanks for your help.

dosen't work for me

Matic

(Unassigned)

Unconfirmed

Minecraft 17w50a

Retrieved