* Update vscode-settings.json * - Updated map color * - Added replaceable block component * - Effect durations can be set to infinite now * - Added support for entity sound variants * - Fix description for renders_when_invisible entity component * - Added is_collidable component * - Updated entity_sensor * - Added body_rotation_axis_aligned * - Updated projectile > on_hit * - Set min and max for collision_box * - Added locator field to sounds in animation controllers and animations * - Added new event response * - Removed peak_factor from mountain_parameters component * - Added isotropic field to material_instances * - Added tint field to material_instances * - Added input_air_controlled entity component * - Added use_beta_features property to entity.json * - Added missing match_tool property * - Added use_home_position_restriction to float_wander goal * - Added deferred client biome components * - Added dry_foliage_color client biome component * - Added destruction_particles * - Marked biome tinting as experimental * - Fix property_inheritance under breedable * - Fix inconsistency with scatter feature * - Update rideable description * - Allowed event.add/remove to be strings * - Added missing property in move_around_target behavior * - Made features accept block references * - Allowed repairable to use item descriptors * - Fix typo
68 lines
2.1 KiB
JSON
68 lines
2.1 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.condition.match_tool",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"description": "Returns the condition true if the block of the loot table was broken with a specific item.",
|
|
"title": "Killed By Player",
|
|
"required": ["condition", "item", "count"],
|
|
"properties": {
|
|
"condition": { "type": "string", "const": "match_tool", "title": "Condition", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" },
|
|
"item": {
|
|
"title": "Item",
|
|
"description": "The item to match",
|
|
"type": "string"
|
|
},
|
|
"count": {
|
|
"title": "Count",
|
|
"description": "Minimum count to match of the given item",
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"enchantments": {
|
|
"title": "Enchantments",
|
|
"description": "List of enchantments to check for",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[a-zA-Z]+$": {
|
|
"type": "object",
|
|
"properties": {
|
|
"level": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["level"]
|
|
}
|
|
},
|
|
"minProperties": 1,
|
|
"maxProperties": 1
|
|
},
|
|
"minItems": 1
|
|
},
|
|
"minecraft:match_tool_filter_all": {
|
|
"title": "Match Tool Filter All",
|
|
"description": "List of tags the item must have",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"minecraft:match_tool_filter_none": {
|
|
"title": "Match Tool Filter None",
|
|
"description": "List of tags the item must NOT have",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"minecraft:match_tool_filter_any": {
|
|
"title": "Match Tool Filter Any",
|
|
"description": "List of tags the item must have at least one of",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
} |