#Entity not dropping items

1 messages · Page 1 of 1 (latest)

teal void
#

My ostrich entity I made is not dropping items from its loot table (meant to drop 1-5 feathers). What am I doing wrong, and how can I make it drop the desired items? Code is below and in screenshot

#
    "pools": [
        {
            "rolls": {
                "min": 1,
                "max": 5
            }
        },
        {
            "entries": [
                {
                    "type": "item",
                    "name": "minecraft:feather"
                }
            ]
        }
    ]
}```
shrewd schooner
#

Currently those are treated as 2 separate pools. pools is a json array, witu each set of curly braces denoting a json object, which in this case is a pool to use for generating loot. The top one has rolls, but no items. The bottom one has no rolls so doesn't choose the feather

#
{
    "pools": [
        {
            "rolls": {
                "min": 1,
                "max": 5
            },
            "entries": [
                {
                    "type": "item",
                    "name": "minecraft:feather"
                }
            ]
        }
    ]
}```