Add various enums and constraints and direction property in particle (#114)
* Add enums and constraints * Add particle direction property
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"type": "string",
|
||||
"title": "Target Selection Method",
|
||||
"description": "Block search method.",
|
||||
"enum": ["nearest"]
|
||||
"enum": ["random", "nearest"]
|
||||
},
|
||||
"target_blocks": {
|
||||
"type": "array",
|
||||
|
||||
@@ -65,7 +65,8 @@
|
||||
"target_materials_above_block": {
|
||||
"title": "Target Materials Above Block",
|
||||
"type": "array",
|
||||
"default": ["air"],
|
||||
"default": ["Air"],
|
||||
"enum": ["Air", "Any", "Lava", "Water"],
|
||||
"description": "[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."
|
||||
},
|
||||
"use_default_animation": {
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
"title": "Material Type",
|
||||
"description": "The material type of the liquid block to find. Valid values are 'Any', 'Water', and 'Lava'.",
|
||||
"default": "Any",
|
||||
"enum": ["Air", "Any", "Lava", "Water"],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
"poi_type": {
|
||||
"type": "string",
|
||||
"description": "Tells the goal what POI type it should be looking for.",
|
||||
"title": "Point Of Interest Type"
|
||||
"title": "Point Of Interest Type",
|
||||
"enum": ["bed", "jobsite", "meeting_area"]
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -111,6 +111,7 @@
|
||||
"type": "string",
|
||||
"default": "line",
|
||||
"description": "The base shape of this step. Valid values are circle and line",
|
||||
"enum": ["line", "circle"],
|
||||
"title": "Shape"
|
||||
},
|
||||
"size": {
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
"title": "Active Time",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The amount of ticks the NPC will stay in their the work location."
|
||||
"description": "The amount of ticks the NPC will stay in their the work location.",
|
||||
"exclusiveMinimum": 0
|
||||
},
|
||||
"can_work_in_rain": {
|
||||
"title": "Can Work In Rain",
|
||||
|
||||
Reference in New Issue
Block a user