1

I have a server with friends on vanilla 1.13.2 and I am trying to change the drop of the shulker box. I want that always drop 2 shulker shells but I can't make that they drop correctly.

I tried puting a shulker.JSON in data/loot_tables/minecraft/entities but nothing happend.

the content of the .JSON was:

{
"pools": [
    {
        "rolls": 1,
        "entries": [
            {
                "type": "item",
                "name": "minecraft:shulker_shell",
                "weight": 1,
                "functions": [
                    {
                        "function": "set_count",
                        "count": 2
                    }
                ]
            }
        ]
    }
]
}
  • 1
    Do you have pack.mcmeta? – Fabian Röling Apr 23 at 21:02
  • 1
    Also, isn't it minecraft/loot_tables/entities? – Fabian Röling Apr 23 at 21:03
  • Can't you just put a shulker shell in the shulker box, so that it always drops 2. – Ginge Apr 23 at 22:58
  • @FabianRöling I think that pack.mcmeta is for datapacks and I'm in the data folder. I will try with that other directory. – Blarep Apr 24 at 2:44
  • Resource pack that does just that. – SF. Apr 25 at 9:39
1

Your loot file needs to be at somedatapack/data/minecraft/loot_tables/entities/shulker.json, not somedatapack/data/loot_tables/minecraft/entities. Here's the double shulker shell loot file I use:

{
  "pools": [
    {
      "rolls": 2,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:shulker_shell"
        }
      ]
    }
  ]
}

If it still doesn't work, try renaming it to shulker.json instead of shulker.JSON. I'm not sure if it's case-sensitive.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.