Add Item Examples (#182)
Add Examples to Item Components from MS-Learn Website
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user