Mojira Archive
MCPE-54162

Loot tables ignore entity_properties condition

I changed the loot table of chicken (loot_tables/entities/chicken.json) to the following content:

{
    "pools": [
        {
            "conditions": [
                {
                    "condition": "entity_properties",
                    "entity": "this",
                    "properties": {
                        "on_fire": true
                    }
                }
            ],
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "minecraft:cobblestone",
                    "weight": 1
                }
            ]
        }
    ]
}

I expected the chicken not dropping anything when I killed it with a normal sword without fire aspect.

However, the chicken always drop a cobblestone whatever I used to kill it.

Incomplete

[Mod] SPGoding

2019-10-23, 06:53 PM

2023-01-20, 06:12 PM

2023-01-20, 06:12 PM

1

1

Confirmed

393841

1.15.0.54 Beta, 1.14.0.2 Beta

-