
Minecraft predicate builder
Data packs
AND, OR and NOT conditions as JSON and data packsLearn more
Build Minecraft predicates using time, weather, biome and held-item conditions. Combine AND, OR and NOT logic, then export JSON and a data pack.
My Game select version Configure
Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.
How to use the result
- Step 1
Set the predicate ID and select the required conditions.
- Step 2
Download the ZIP file into the world's datapacks folder and run /reload.
- Step 3
Check the item in the player's hand using the /execute if predicate from the result. The item is checked on the executor of the command.
What to know
- Empty field does not add a condition. Requires all conditions, OR — at least one; negation applies to the final expression.
- Daytime ranges from 0 to 23999 ticks. A biome condition checks the location of execution, and an item condition checks the executor's main hand.
Frequently asked questions
What is a Minecraft predicate?
This is a named set of conditions in JSON. It can be used in /execute if predicate and other data pack mechanics.
Is a mod required for predicates?
No. The data pack works in the selected version of Minecraft Java without mods.
More data pack tools
Add a data pack to your world folder to use custom recipes, loot and enchantments without mods or plugins. Build OneBlock, Skyblock, BedWars, SkyWars, hide-and-seek and other minigames.
Minecraft Bedrock custom item
Custom items, food and weapons as .mcaddon
Minecraft custom recipe data pack
Custom crafting, smelting and smithing recipes
Minecraft timed command data pack
Run commands on a timer or when players join
Minecraft loot table generator
Custom chest loot and mob or block drops
Minecraft advancement generator
Advancement images and playable data packs
Minecraft custom enchantment generator
Add custom enchantments with a data pack
Minecraft custom armor trim
New armor trim patterns with data and resource packs
Minecraft OneBlock generator
Create a one-block world with a data pack
Minecraft SkyBlock generator
Create your own SkyBlock island in the void
Minecraft Manhunt data pack
Compass-equipped hunters chase a runner
Minecraft custom item abilities
Right-click staffs with fireballs, lightning and more
Minecraft, but… challenge generator
Random drops, rising lava and shared health
Minecraft hide-and-seek data pack
Seekers, hiding time and a round timer
Minecraft on-screen timer
A boss-bar countdown for all players
Minecraft armor set bonuses
Status effects for wearing a complete armor set
Minecraft quest data pack
Turn in items to earn quest rewards
Minecraft firework show generator
Launch a firework show with one command
Minecraft parkour generator
Parkour courses with checkpoints and timers
Minecraft Bingo generator
A 5 × 5 card: be first to complete a line
Minecraft Lucky Block data pack
Break a sponge for prizes, traps or surprises
Death Swap
Swap positions every N minutes and survive
Minecraft Spleef and TNT Run generator
Break the floor or outrun disappearing blocks
Minecraft Hunger Games data pack
Arena borders, loot chests and last-player-standing
SkyWars
Void islands, starting cages and survival battles
BedWars
Team beds, resource generators and villager shops
Lifesteal
Steal hearts on kills and lose them on death
Minecraft Murder Mystery data pack
A murderer, a detective and innocent players
Minecraft advancement tree builder
Linked advancements, conditions and rewards
Minecraft item modifier generator
Modify existing items with /item modify
Minecraft Bedrock custom block
Custom blocks and properties as .mcaddon
Minecraft Bedrock custom mob
Custom creatures with behavior and walking animation
Minecraft data pack tag generator
Group items, blocks or mobs with custom tags
Minecraft random crafting generator
Shuffle crafting recipes with your own seed
Minecraft vein mining and tree felling
Mine ore veins or fell trees in one action
Minecraft grave data pack
Keep items in a grave after death
Minecraft homes, warps and teleport requests
Saved homes, shared warps and teleport requests
Minecraft UHC match builder
UHC preparation, borders and win conditions
Minecraft mob wave arena
Mob waves, breaks and victory rewards
Minecraft SkyGrid generator
A grid of random blocks suspended in the void
Minecraft Block Shuffle
Stand on the target block before time runs out
Minecraft TNT Tag
Pass TNT before the round timer expires
Minecraft Find the Button generator
Hidden buttons and connected puzzle rooms
Minecraft Capture the Flag
Two teams, flags and score-based victories
Minecraft regenerating mine generator
Mine blocks, weights and automatic resets
Minecraft jigsaw pool builder
Connect structure templates with generation pools
Minecraft Bedrock recipe generator
Custom crafting and smelting for Bedrock
Create Minecraft Bedrock cutscenes
Create Minecraft Bedrock cutscenes
Minecraft data pack migration to 1.21.1
Migrate data pack folders from 1.20.6 to 1.21.1
Minecraft boat race generator
Ice tracks, boats and ready-to-play races
Minecraft elytra race generator
Fly through rings with rockets to reach the finish
Minecraft Red Light, Green Light
Stop and go signals with movement elimination
Minecraft duel arena generator
1-on-1 arenas with equal kits and repeatable rounds
Minecraft treasure hunt generator
Race to find chests and amethyst keys
Minecraft extraction minigame
Collect loot and hold the extraction zone
Minecraft domination minigame
Two teams scoring points for control of the center
Build Battle
Themed building rounds and player voting
Minecraft Origins builder
Custom Origins origins and powers
Patchouli guidebook builder
Modpack guidebooks, chapters and give commands
Minecraft Bedrock NPC dialogue
NPC scenes, transitions and button commands
Minecraft Bedrock Script API project
Manifests and JavaScript for Bedrock Script API
Cobblemon Pokémon spawn builder
Pokémon spawn pools with rarity and biomes
Minecraft portable llama inventory
One persistent portable container per player
Minecraft Chunklock generator
Unlock adjacent chunks with shared progress
Minecraft RPG classes and skill trees
RPG classes, XP and passive skill prerequisites
Minecraft seasons and weather calendar
Season lengths, weather and calendar icons
Minecraft zombie apocalypse
Nightly hordes, stages and spherical safe zones
Related tools:
Minecraft /execute builder
Minecraft target selector builder
Explore more: Add your server to the server listMinecraft server list