Skip to content

Loot Tables Documentation for Minecraft: Bedrock Edition [Addon - Behavior Pack]

Notifications You must be signed in to change notification settings

FrankyRay/Loot-Tables-Docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Loot Tables Docs

Loot Tables is JSON File use to handle loot from the entity, block, chest and certain gameplay like Piglin Barter and Fishing.

Create custom loot table

To create your custom loot table, create JSON file on <BehaviorPack>/loot_tables/. For entity loot, put on loot_tables/entities/, and block put on loot_tables/blocks/

First thing you need is adding "pools" component. Inside that, add rolls to rolls how much item on entries drop. See example below (Or check my template)

{
    "pools": [
        {
            "rolls": 1,
            "entries": []
        }
    ]
}

Linking custom loot table for my custom entity/block

On your custom block/entity, use minecraft:loot to linking your custom loot table.

{
    "minecraft:loot": "loot_tables/path/to/your/file"
}
Note:

This is my personal documentation, not Official Documentation. Any wrong information is my fault. Most important one is "Not Affiliated by Mojang Studio or Microsoft"

About

Loot Tables Documentation for Minecraft: Bedrock Edition [Addon - Behavior Pack]

Topics

Resources

Stars

Watchers

Forks