Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Conditions

Loot Conditions (sometimes referred as Predicates) are checks performed before the loot gets generated in order to determine is the loot can spawn or not, as such you can think of them as fancy if statements.

Info

For a list of vanilla conditions please check this Minecraft Wiki page.

Keep in mind they display all conditions available in current day Minecraft, however in our case we can only make use of conditions available in 1.16.5 or before.

Info

The mineminenomi namespace is omitted from below for readability, assume all functions have mineminenomi: as a prefix.

Definitions and examples

Last change: 2024-08-14