The Best Resource for Minecraft
The Best Resource for Minecraft

Predicate & Condition Builder

← All 87 tools

Build datapack predicate JSON with entity, location, and item conditions — combine multiple with AND/OR/NOT.

Add one or more conditions below, then combine them into a single predicate JSON. With one condition, the JSON is that condition alone; with two or more, it is wrapped in the combinator you pick.

Predicate JSON


  

Save this as data/<namespace>/predicate/<name>.json, then reference it by <namespace>:<name> in a loot table’s "conditions":[…] or in an advancement criterion.

Matches the real Minecraft data-driven predicate JSON schema — verify condition-specific fields against your target version, some predicate types have changed between versions.

More Data Packs tools

← Browse all 87 Minecraft tools