Add Item Examples (#182)

Add Examples to Item Components from MS-Learn Website
This commit is contained in:
DW623
2023-08-17 11:04:39 -07:00
committed by GitHub
parent 2abff2794e
commit d3a8c7a4a4
16 changed files with 112 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.items.minecraft:projectile",
"title": "Projectile",
"description": "Projectile item component. projectile items shoot out, like an arrow.",
"description": "Compels the item shoot, like an arrow. Pair with minecraft:shooter for dispensers or as ammunition. Pair with minecraft:throwable to set the entity spawned.",
"type": "object",
"additionalProperties": false,
"required": ["projectile_entity"],
@@ -12,5 +12,11 @@
"description": "How long you must charge a projectile for it to critically hit."
},
"projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" }
}
},
"examples": [
{
"minimum_critical_power": 1.25,
"projectile_entity": "arrow"
}
]
}