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.

Cần thêm công cụ Minecraft khác?

Bộ công cụ tạo, xem và chuyển đổi chạy ngay trên trình duyệt — tất cả đều miễn phí.