Predicate & Condition Builder

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.

Looking for more Minecraft tools?

A suite of client-side generators, viewers and converters — all free, all in your browser.