mojira.dev
MCPE-35962

Some mobs seems to ignore loot tables

Today I've tried changing bats loot tables just by adding rabbit hide to the drops. But the bats drop absolutely nothing.

Edit: After a little messing around with loot tables I can confirm that those mobs ignore their respective loot table

  • Bat

  • Endermite

Loot table

{
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "minecraft:rabbit_hide",
                    "weight": 1,
                    "functions": [
                        {
                            "function": "set_count",
                            "count": {
                                "min": 0,
                                "max": 1
                            }
                        },
                        {
                            "function": "looting_enchant",
                            "count": {
                                "min": 0,
                                "max": 1
                            }
                        }
                    ]
                }
            ],
            "conditions": [
                {
                    "condition": "killed_by_player_or_pets"
                }
            ]
        }
    ]
}

Attachments

Comments 3

Do you have an example pack with these loot changes applied?

[media]


Bats should drop Rabbit Hide and Endermites should drop enderpearls, but nothing drops from both.

Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

insane96mcp

(Unassigned)

Unconfirmed

Windows

Windows 10

1.5.0.14

Retrieved