-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Additional block custom component stuff
- Loading branch information
Showing
4 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
source/behavior/blocks/format/components/entity_fall_on.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters