- Additional block custom component stuff (#288)
This commit is contained in:
15
source/behavior/blocks/format/components/entity_fall_on.json
Normal file
15
source/behavior/blocks/format/components/entity_fall_on.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.entity_fall_on",
|
||||
"title": "Entity Fall On",
|
||||
"description": "Required component to use the custom component `onEntityFallOn`.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ ],
|
||||
"properties": {
|
||||
"min_fall_distance": {
|
||||
"title": "Min Fall Distance",
|
||||
"description": "Sets the minimum fall distance required to trigger the custom component.",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
15
source/behavior/blocks/format/components/tick.json
Normal file
15
source/behavior/blocks/format/components/tick.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.tick",
|
||||
"title": "Tick",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"looping": { "type": "boolean", "default": true, "description": "Does the event loop.", "title": "Looping" },
|
||||
"interval_range": {
|
||||
"type": "array",
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"title": "Interval Range"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user