Refactored item
This commit is contained in:
23
source/behavior/items/format/components/entity_placer.json
Normal file
23
source/behavior/items/format/components/entity_placer.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:entity_placer",
|
||||
"title": "Entity Placer",
|
||||
"description": "Entity placer item component. You can specifiy allowed blocks that the item is restricted to.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["entity"],
|
||||
"properties": {
|
||||
"entity": { "type": "string", "title": "Entity", "description": "The entity to be placed in the world." },
|
||||
"dispense_on": {
|
||||
"type": "array",
|
||||
"title": "Dispense On",
|
||||
"description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.",
|
||||
"items": { "title": "Dispense On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
},
|
||||
"use_on": {
|
||||
"type": "array",
|
||||
"title": "Use On",
|
||||
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",
|
||||
"items": { "title": "Use On", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user