Skip to content
FrankyRay edited this page Nov 22, 2021 · 4 revisions

Loot Table Documentation

Welcome to Loot Table Documentation. This documentation give "detail" information about Loot Table.

Getting Started

Before start creating custom loot tables, make sure you have Addon/Behavior Pack on your Minecraft. Best way to learn loot table is edit vanilla Loot Table, such as Creeper loot, Desert Temple chest loot, etc

You can check vanilla loot tables by download from Vanilla Behavior Pack or on my "Vanilla" folder

Create basic loot table

Now create loot tables and put on <BehaviorPack>/loot_tables/. For example, we want to change Villager to drop 1-3 Emerald when killed, so we created villager.json on loot_tables/entity/villager.json

{
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "minecraft:emerald",
                    "functions": [
                        {
                            "function": "set_count",
                            "count": {
                                "min": 1,
                                "max": 3
                            }
                        }
                    ]
                    "weight": 1
                }
            ]
        }
    ]
}

This is pure my documentation, so any mistake is my fault :)

Reference Link:
Bedrock Wiki
Microsoft Docs

Not affiliated with Mojang Studio or Microsoft

Clone this wiki locally