auto: Formatted documents
This commit is contained in:
@@ -9,8 +9,17 @@
|
||||
"interaction_spec": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"add_items": { "type": "object", "description": "Loot table with items to add to the player's inventory upon successful interaction.", "title": "Add Items" },
|
||||
"cooldown": { "type": "number", "default": 0, "description": "Time in seconds before this entity can be interacted with again.", "title": "Cooldown" },
|
||||
"add_items": {
|
||||
"type": "object",
|
||||
"description": "Loot table with items to add to the player's inventory upon successful interaction.",
|
||||
"title": "Add Items"
|
||||
},
|
||||
"cooldown": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Time in seconds before this entity can be interacted with again.",
|
||||
"title": "Cooldown"
|
||||
},
|
||||
"hurt_item": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
@@ -35,20 +44,44 @@
|
||||
"title": "Particle Offset Towards Interactor"
|
||||
},
|
||||
"particle_type": { "type": "string", "description": "The type of particle that will be spawned.", "title": "Particle Type" },
|
||||
"particle_y_offset": { "type": "number", "description": "Will offset the particle this amount in the y direction.", "title": "Particle Y Offset" }
|
||||
"particle_y_offset": {
|
||||
"type": "number",
|
||||
"description": "Will offset the particle this amount in the y direction.",
|
||||
"title": "Particle Y Offset"
|
||||
}
|
||||
}
|
||||
},
|
||||
"play_sounds": { "type": "string", "default": "", "description": "List of sounds to play when the interaction occurs.", "title": "Play Sounds" },
|
||||
"spawn_entities": { "type": "string", "default": "", "description": "List of entities to spawn when the interaction occurs.", "title": "Spawn Entities" },
|
||||
"play_sounds": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "List of sounds to play when the interaction occurs.",
|
||||
"title": "Play Sounds"
|
||||
},
|
||||
"spawn_entities": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "List of entities to spawn when the interaction occurs.",
|
||||
"title": "Spawn Entities"
|
||||
},
|
||||
"spawn_items": {
|
||||
"type": "object",
|
||||
"description": "Loot table with items to drop on the ground upon successful interaction.",
|
||||
"title": "Spawn Items",
|
||||
"properties": {
|
||||
"table": { "type": "string", "default": "", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
|
||||
"table": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
|
||||
"title": "Table"
|
||||
}
|
||||
}
|
||||
},
|
||||
"swing": { "type": "boolean", "default": false, "description": "If true, the player will do the 'swing' animation when interacting with this entity.", "title": "Swing" },
|
||||
"swing": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, the player will do the 'swing' animation when interacting with this entity.",
|
||||
"title": "Swing"
|
||||
},
|
||||
"transform_to_item": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
|
||||
Reference in New Issue
Block a user