schema
stringclasses
471 values
key
stringlengths
0
203
description
stringlengths
0
4.37k
object
stringlengths
2
322k
minecraft-predicate.json
then
A constant value.
{"properties": {"value": {"type": "number"}}}
minecraft-predicate.json
value
The exact value.
{"type": "number"}
minecraft-predicate.json
then
A random number following a uniform distribution between two values (inclusive).
{"properties": {"min": {"type": ["number", "object"]}, "max": {"type": ["number", "object"]}}}
minecraft-predicate.json
min
The minimum value.
{"type": ["number", "object"]}
minecraft-predicate.json
max
The maximum value.
{"type": ["number", "object"]}
minecraft-predicate.json
then
A random number following a binomial distribution.
{"properties": {"n": {"type": ["integer", "object"]}, "p": {}}}
minecraft-predicate.json
n
The amount of trials.
{"type": ["integer", "object"]}
minecraft-predicate.json
p
The probability of success on an individual trial.
{}
minecraft-predicate.json
then
A scoreboard value.
{"properties": {"target": {"type": ["string", "object"], "enum": ["this", "killer", "direct_killer", "player_killer"], "properties": {"type": {"type": "string", "enum": ["fixed", "context"]}}, "allOf": [{"if": {"properties": {"type": {"const": "fixed"}}}, "then": {"properties": {"name": {"type": "string"}}}}, {"if": {"properties": {"type": {"const": "context"}}}, "then": {"properties": {"target": {"type": "string", "enum": ["this", "killer", "direct_killer", "player_killer"]}}}}]}, "score": {"type": "string"}, "scale": {"type": "number"}}}
minecraft-predicate.json
target
Scoreboard name provider.
{"type": ["string", "object"], "enum": ["this", "killer", "direct_killer", "player_killer"], "properties": {"type": {"type": "string", "enum": ["fixed", "context"]}}, "allOf": [{"if": {"properties": {"type": {"const": "fixed"}}}, "then": {"properties": {"name": {"type": "string"}}}}, {"if": {"properties": {"type": {"const": "context"}}}, "then": {"properties": {"target": {"type": "string", "enum": ["this", "killer", "direct_killer", "player_killer"]}}}}]}
minecraft-predicate.json
type
Resource location.
{"type": "string", "enum": ["fixed", "context"]}
minecraft-predicate.json
name
A UUID or player name.
{"type": "string"}
minecraft-predicate.json
score
The scoreboard objective.
{"type": "string"}
minecraft-predicate.json
scale
Scale to multiply the score before returning it.
{"type": "number"}
minecraft-predicate.json
enchantment
An enchantment ID.
{"type": "string"}
minecraft-predicate.json
levels
The level of the enchantment.
{"type": ["integer", "object"]}
minecraft-predicate.json
bypasses_armor
Checks if the damage bypassed the armor of the player (suffocation damage predominantly).
{"type": "boolean"}
minecraft-predicate.json
bypasses_invulnerability
Checks if the damage bypassed the invulnerability status of the player (void or /kill damage).
{"type": "boolean"}
minecraft-predicate.json
bypasses_magic
Checks if the damage was caused by starvation.
{"type": "boolean"}
minecraft-predicate.json
direct_entity
The entity that was the direct cause of the damage.
{"type": "object"}
minecraft-predicate.json
is_explosion
Checks if the damage originated from an explosion.
{"type": "boolean"}
minecraft-predicate.json
is_fire
Checks if the damage originated from fire.
{"type": "boolean"}
minecraft-predicate.json
is_magic
Checks if the damage originated from magic.
{"type": "boolean"}
minecraft-predicate.json
is_projectile
Checks if the damage originated from a projectile.
{"type": "boolean"}
minecraft-predicate.json
is_lightning
Checks if the damage originated from lightning.
{"type": "boolean"}
minecraft-predicate.json
source_entity
Checks the entity that was the source of the damage (for example: The skeleton that shot the arrow).
{}
minecraft-predicate.json
count
The amount of the item.
{"type": ["integer", "object"]}
minecraft-predicate.json
durability
The durability of the item.
{"type": ["integer", "object"]}
minecraft-predicate.json
enchantments
List of enchantments.
{}
minecraft-predicate.json
stored_enchantments
List of stored enchantments.
{}
minecraft-predicate.json
items
List of item IDs.
{"type": "array"}
minecraft-predicate.json
nbt
An NBT string.
{"type": "string"}
minecraft-predicate.json
potion
A brewed potion ID.
{"type": "string"}
minecraft-predicate.json
tag
An item data pack tag.
{"type": "string"}
minecraft-predicate.json
biome
The biome the entity is currently in.
{"type": "string", "enum": ["badlands", "badlands_plateau", "beach", "birch_forest", "birch_forest_hills", "cold_ocean", "dark_forest", "dark_forest_hills", "deep_cold_ocean", "deep_frozen_ocean", "deep_lukewarm_ocean", "deep_ocean", "deep_warm_ocean", "desert", "desert_hills", "desert_lakes", "end_barrens", "end_highlands", "end_midlands", "eroded_badlands", "flower_forest", "forest", "frozen_ocean", "frozen_river", "giant_spruce_taiga", "giant_spruce_taiga_hills", "giant_tree_taiga", "giant_tree_taiga_hills", "gravelly_mountains", "ice_spikes", "jungle", "jungle_edge", "jungle_hills", "lukewarm_ocean", "modified_badlands_plateau", "modified_gravelly_mountains", "modified_jungle", "modified_jungle_edge", "modified_wooded_badlands_plateau", "mountain_edge", "mountains", "mushroom_field_shore", "mushroom_fields", "nether", "ocean", "plains", "river", "savanna", "savanna_plateau", "shattered_savanna", "shattered_savanna_plateau", "small_end_islands", "snowy_beach", "snowy_mountains", "snowy_taiga", "snowy_taiga_hills", "snowy_taiga_mountains", "snowy_tundra", "stone_shore", "sunflower_plains", "swamp", "swamp_hills", "taiga", "taiga_hills", "taiga_mountains", "tall_birch_forest", "tall_birch_hills", "the_end", "the_void", "warm_ocean", "wooded_badlands_plateau", "wooded_hills", "wooded_mountains"]}
minecraft-predicate.json
block
The block at the location.
{"type": "object", "properties": {"blocks": {"type": "array"}, "tag": {"type": "string"}, "nbt": {"type": "string"}, "state": {"type": "object", "properties": {"key": {"type": ["boolean", "integer", "string", "object"]}}}}}
minecraft-predicate.json
blocks
A list of block IDs.
{"type": "array"}
minecraft-predicate.json
tag
The block tag.
{"type": "string"}
minecraft-predicate.json
nbt
The block NBT.
{"type": "string"}
minecraft-predicate.json
state
A map of block property names to values. Test will fail if the block doesn't match.
{"type": "object", "properties": {"key": {"type": ["boolean", "integer", "string", "object"]}}}
minecraft-predicate.json
key
Block property key and value pair.
{"type": ["boolean", "integer", "string", "object"]}
minecraft-predicate.json
dimension
The dimension the entity is currently in.
{"type": "string"}
minecraft-predicate.json
feature
Name of a structure.
{"type": "string", "enum": ["buried_treasure", "desert_pyramid", "endcity", "fortress", "igloo", "jungle_pyramid", "mansion", "mineshaft", "monument", "ocean_ruin", "pillager_outpost", "shipwreck", "stronghold", "swamp_hut", "village"]}
minecraft-predicate.json
fluid
The fluid at the location.
{"type": "object", "properties": {"fluid": {"type": "string"}, "tag": {"type": "string"}, "state": {"type": ["boolean", "integer", "string", "object"]}}}
minecraft-predicate.json
fluid
The fluid ID.
{"type": "string"}
minecraft-predicate.json
tag
The fluid tag.
{"type": "string"}
minecraft-predicate.json
state
A map of fluid property names to values. Test will fail if the fluid doesn't match.
{"type": ["boolean", "integer", "string", "object"]}
minecraft-predicate.json
light
The light at the location.
{"type": "object", "properties": {"light": {"type": ["integer", "object"]}}}
minecraft-predicate.json
light
The light Level of visible light. Calculated using: (max(sky-darkening,block)).
{"type": ["integer", "object"]}
minecraft-predicate.json
x
The X position.
{}
minecraft-predicate.json
y
The Y position.
{}
minecraft-predicate.json
z
The Z position.
{}
minecraft-predicate.json
smokey
True if the block is closely above a campfire or soul campfire.
{"type": "boolean"}
minecraft-predicate.json
effects
A map of status effects.
{"additionalProperties": {"type": "object", "properties": {"ambient": {"type": "boolean"}, "amplifier": {"type": ["integer", "object"]}, "duration": {"type": ["integer", "object"]}, "visible": {"type": "boolean"}}}}
minecraft-predicate.json
additionalProperties
A status effect with the key name being the status effect name.
{"type": "object", "properties": {"ambient": {"type": "boolean"}, "amplifier": {"type": ["integer", "object"]}, "duration": {"type": ["integer", "object"]}, "visible": {"type": "boolean"}}}
minecraft-predicate.json
ambient
Whether the effect is from a beacon.
{"type": "boolean"}
minecraft-predicate.json
amplifier
The effect amplifier.
{"type": ["integer", "object"]}
minecraft-predicate.json
duration
The effect duration in ticks.
{"type": ["integer", "object"]}
minecraft-predicate.json
visible
Whether the effect has visible particles.
{"type": "boolean"}
minecraft-predicate.json
flags
Predicate Flags to be checked.
{"type": "object", "properties": {"is_on_fire": {}, "is_sneaking": {"type": "boolean"}, "is_sprinting": {"type": "boolean"}, "is_swimming": {"type": "boolean"}, "is_baby": {"type": "boolean"}}}
minecraft-predicate.json
is_on_fire
Test whether the entity is or is not on fire.
{}
minecraft-predicate.json
is_sneaking
Test whether the entity is or is not sneaking.
{"type": "boolean"}
minecraft-predicate.json
is_sprinting
Test whether the entity is or is not sprinting.
{"type": "boolean"}
minecraft-predicate.json
is_swimming
Test whether the entity is or is not swimming.
{"type": "boolean"}
minecraft-predicate.json
is_baby
Test whether the entity is or is not a baby variant.
{"type": "boolean"}
minecraft-predicate.json
lightning_bolt
Lightning bolt properties to be checked. Fails when entity is not a lightning bolt.
{"type": "object", "properties": {"blocks_set_on_fire": {"type": "integer"}, "entity_struck": {}}}
minecraft-predicate.json
blocks_set_on_fire
Number of blocks set on fire by this lightning bolt.
{"type": "integer"}
minecraft-predicate.json
entity_struck
Entity properties of entities struck by this lightning bolt. If present, this tag must match one or more entities.
{}
minecraft-predicate.json
nbt
An NBT string.
{"type": "string"}
minecraft-predicate.json
passenger
The entity directly riding this entity.
{}
minecraft-predicate.json
player
Player properties to be checked. Fails when entity is not a player.
{"type": "object", "properties": {"looking_at": {}, "advancements": {"type": "object", "additionalProperties": {"type": ["boolean", "object"], "additionalProperties": {"type": "boolean"}}}, "gamemode": {"type": "string", "enum": ["survival", "adventure", "creative", "spectator"]}, "level": {"type": ["integer", "object"]}, "recipes": {"type": "object", "additionalProperties": {"type": "boolean"}}, "stats": {"type": "object", "additionalProperties": {"type": "object", "properties": {"type": {"type": "string", "enum": ["minecraft:custom", "minecraft:crafted", "minecraft:used", "minecraft:broken", "minecraft:mined", "minecraft:killed", "minecraft:picked_up", "minecraft:dropped", "minecraft:killed_by"]}, "stat": {"type": "string"}, "value": {"type": ["integer", "object"]}}}}}}
minecraft-predicate.json
looking_at
The entity that the player is looking at, as long as it is visible and within a radius of 100 blocks.
{}
minecraft-predicate.json
advancements
A map of advancements to check.
{"type": "object", "additionalProperties": {"type": ["boolean", "object"], "additionalProperties": {"type": "boolean"}}}
minecraft-predicate.json
additionalProperties
An advancement ID.
{"type": ["boolean", "object"], "additionalProperties": {"type": "boolean"}}
minecraft-predicate.json
gamemode
The game mode of the player.
{"type": "string", "enum": ["survival", "adventure", "creative", "spectator"]}
minecraft-predicate.json
level
The level of the player.
{"type": ["integer", "object"]}
minecraft-predicate.json
recipes
A map of recipies to check.
{"type": "object", "additionalProperties": {"type": "boolean"}}
minecraft-predicate.json
stats
List of statistics to match.
{"type": "object", "additionalProperties": {"type": "object", "properties": {"type": {"type": "string", "enum": ["minecraft:custom", "minecraft:crafted", "minecraft:used", "minecraft:broken", "minecraft:mined", "minecraft:killed", "minecraft:picked_up", "minecraft:dropped", "minecraft:killed_by"]}, "stat": {"type": "string"}, "value": {"type": ["integer", "object"]}}}}
minecraft-predicate.json
type
The statistic base.
{"type": "string", "enum": ["minecraft:custom", "minecraft:crafted", "minecraft:used", "minecraft:broken", "minecraft:mined", "minecraft:killed", "minecraft:picked_up", "minecraft:dropped", "minecraft:killed_by"]}
minecraft-predicate.json
stat
The statistic ID. Mostly mimics the criteria used for defining scoreboard objectives.
{"type": "string"}
minecraft-predicate.json
value
The value of the statistic.
{"type": ["integer", "object"]}
minecraft-predicate.json
stepping_on
Location predicate for the block the entity is standing on.
{}
minecraft-predicate.json
team
The team the entity belongs to.
{"type": "string"}
minecraft-predicate.json
type
An entity ID.
{"type": "string"}
minecraft-predicate.json
targeted_entity
The entity which this entity is targeting for attacks.
{}
minecraft-predicate.json
vehicle
The vehicle that the entity is riding on.
{}
minecraft-predicate.json
conditions
The condition's ID.
{"type": "string", "enum": ["minecraft:alternative", "minecraft:block_state_property", "minecraft:damage_source_properties", "minecraft:entity_properties", "minecraft:entity_scores", "minecraft:inverted", "minecraft:killed_by_player", "minecraft:location_check", "minecraft:match_tool", "minecraft:random_chance", "minecraft:random_chance_with_looting", "minecraft:reference", "minecraft:survives_explosion", "minecraft:table_bonus", "minecraft:time_check", "minecraft:weather_check", "minecraft:value_check"]}
project-1.0.0-beta8.json
target
Restrict this dependency to matching only a Project or a Package
{"type": "string", "enum": ["project", "package"]}
project-1.0.0-beta8.json
script
A command line script or scripts. Available variables: %project:Directory% - The project directory %project:Name% - The project name %project:Version% - The project version
{"type": ["string", "array"], "items": {"type": "string"}}
project-1.0.0-beta8.json
packInclude
Pairs of destination folders and glob patterns specifying additional files to include in the output NuGet package. (data type: JSON map). Example: { "tools/": "tools/**/*.*" }
{"type": "object"}
project-1.0.0-beta8.json
publishExclude
Glob pattern to specify files to exclude from publish output. (data type: string or array with glob pattern(s)). Example: [ "Folder1/*.ext", "Folder2/*.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}, "default": ["obj/**/*.*", "bin/**/*.*", "**/.*/**"]}
project-1.0.0-beta8.json
compile
Glob pattern to specify files to compile. (data type: string or array with glob pattern(s)). Example: [ "Folder1/*.ext", "Folder2/*.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}, "default": "**/*.cs"}
project-1.0.0-beta8.json
compileExclude
Glob pattern to specify files to exclude from compilation. (data type: string or array with glob pattern(s)). Example: [ "Folder1/*.ext", "Folder2/*.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}}
project-1.0.0-beta8.json
compileFiles
Files to include in compilation (overrides 'compileExclude'). (data type: string or array). Example: [ "Folder1/File1.ext", "Folder2/File2.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}}
project-1.0.0-beta8.json
content
Glob pattern to specify files to include as content. (data type: string or array with glob pattern(s)). Example: [ "Folder1/*.ext", "Folder2/*.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}, "default": "**/*"}
project-1.0.0-beta8.json
contentExclude
Glob pattern to specify files to exclude from the content list. (data type: string or array with glob pattern(s)). Example: [ "Folder1/*.ext", "Folder2/*.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}}
project-1.0.0-beta8.json
contentFiles
Files to include as content (overrides 'contentExclude'). (data type: string or array). Example: [ "Folder1/File1.ext", "Folder2/File2.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}}
project-1.0.0-beta8.json
preprocess
Glob pattern to specify files to use for preprocessing. (data type: string or array with glob pattern(s)). Example: [ "Folder1/*.ext", "Folder2/*.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}, "default": "compiler/preprocess/**/*.cs"}
project-1.0.0-beta8.json
preprocessExclude
Glob pattern to specify files to exclude from use for preprocessing. (data type: string or array with glob pattern(s)). Example: [ "Folder1/*.ext", "Folder2/*.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}}
project-1.0.0-beta8.json
preprocessFiles
Files to include to use for preprocessing (overrides 'preprocessExclude'). (data type: string or array). Example: [ "Folder1/File1.ext", "Folder2/File2.ext" ]
{"type": ["string", "array"], "items": {"type": "string"}}