Minecraft Data Pack Predicate
Configuration file defining a predicate for a data pack for Minecraft
| Type | object |
|---|---|
| File match |
**/data/*/predicates/*.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/minecraft-data-pack-predicate/latest.json |
| Source | https://www.schemastore.org/minecraft-predicate.json |
Validate with Lintel
npx @lintel/lintel check
Configuration file defining a predicate for a data pack for Minecraft.
Properties
The condition's ID.
All of
Definitions
The max value.
The minimum value.
The number provider type.
Checks if the damage bypassed the armor of the player (suffocation damage predominantly).
Checks if the damage bypassed the invulnerability status of the player (void or /kill damage).
Checks if the damage was caused by starvation.
The entity that was the direct cause of the damage.
Checks if the damage originated from an explosion.
Checks if the damage originated from fire.
Checks if the damage originated from magic.
Checks if the damage originated from a projectile.
Checks if the damage originated from lightning.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
5 nested properties
Test whether the entity is or is not on fire.
Test whether the entity is or is not sneaking.
Test whether the entity is or is not sprinting.
Test whether the entity is or is not swimming.
Test whether the entity is or is not a baby variant.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
2 nested properties
Number of blocks set on fire by this lightning bolt.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
An NBT string.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
Player properties to be checked. Fails when entity is not a player.
6 nested properties
A map of advancements to check.
The game mode of the player.
A map of recipes to check.
List of statistics to match.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
The biome the entity is currently in.
The block at the location.
4 nested properties
A list of block IDs.
The block tag.
The block NBT.
A map of block property names to values. Test will fail if the block doesn't match.
1 nested properties
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
5 nested properties
2 nested properties
The max value.
The minimum value.
2 nested properties
The max value.
The minimum value.
2 nested properties
The max value.
The minimum value.
2 nested properties
The max value.
The minimum value.
2 nested properties
The max value.
The minimum value.
A map of status effects.
Predicate Flags to be checked.
5 nested properties
Test whether the entity is or is not on fire.
Test whether the entity is or is not sneaking.
Test whether the entity is or is not sprinting.
Test whether the entity is or is not swimming.
Test whether the entity is or is not a baby variant.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
2 nested properties
Number of blocks set on fire by this lightning bolt.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
8 nested properties
The biome the entity is currently in.
The block at the location.
4 nested properties
A list of block IDs.
The block tag.
The block NBT.
A map of block property names to values. Test will fail if the block doesn't match.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
3 nested properties
The fluid ID.
The fluid tag.
The light at the location.
1 nested properties
True if the block is closely above a campfire or soul campfire.
An NBT string.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
5 nested properties
Test whether the entity is or is not on fire.
Test whether the entity is or is not sneaking.
Test whether the entity is or is not sprinting.
Test whether the entity is or is not swimming.
Test whether the entity is or is not a baby variant.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
2 nested properties
Number of blocks set on fire by this lightning bolt.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
An NBT string.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
Player properties to be checked. Fails when entity is not a player.
6 nested properties
A map of advancements to check.
The game mode of the player.
A map of recipes to check.
List of statistics to match.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
Player properties to be checked. Fails when entity is not a player.
6 nested properties
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
A map of advancements to check.
The game mode of the player.
A map of recipes to check.
List of statistics to match.
8 nested properties
The biome the entity is currently in.
The block at the location.
4 nested properties
A list of block IDs.
The block tag.
The block NBT.
A map of block property names to values. Test will fail if the block doesn't match.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
3 nested properties
The fluid ID.
The fluid tag.
The light at the location.
1 nested properties
True if the block is closely above a campfire or soul campfire.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
5 nested properties
Test whether the entity is or is not on fire.
Test whether the entity is or is not sneaking.
Test whether the entity is or is not sprinting.
Test whether the entity is or is not swimming.
Test whether the entity is or is not a baby variant.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
2 nested properties
Number of blocks set on fire by this lightning bolt.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
An NBT string.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
Player properties to be checked. Fails when entity is not a player.
6 nested properties
A map of advancements to check.
The game mode of the player.
A map of recipes to check.
List of statistics to match.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
5 nested properties
Test whether the entity is or is not on fire.
Test whether the entity is or is not sneaking.
Test whether the entity is or is not sprinting.
Test whether the entity is or is not swimming.
Test whether the entity is or is not a baby variant.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
2 nested properties
Number of blocks set on fire by this lightning bolt.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
An NBT string.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
Player properties to be checked. Fails when entity is not a player.
6 nested properties
A map of advancements to check.
The game mode of the player.
A map of recipes to check.
List of statistics to match.
8 nested properties
The biome the entity is currently in.
The block at the location.
The dimension the entity is currently in.
Name of a structure.
The fluid at the location.
The light at the location.
True if the block is closely above a campfire or soul campfire.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.
14 nested properties
A map of status effects.
Predicate Flags to be checked.
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
An NBT string.
Player properties to be checked. Fails when entity is not a player.
The team the entity belongs to.
An entity ID.