From e62f891464c0a779f948bac57f08b1280d219b15 Mon Sep 17 00:00:00 2001 From: ChibiMango <32205345+ChibiMango@users.noreply.github.com> Date: Wed, 13 Jul 2022 22:38:34 +0100 Subject: [PATCH] Update eat_block.json Reorganised --- .../entities/format/behaviors/eat_block.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/behavior/entities/format/behaviors/eat_block.json b/source/behavior/entities/format/behaviors/eat_block.json index 1674402a..d0c21cfd 100644 --- a/source/behavior/entities/format/behaviors/eat_block.json +++ b/source/behavior/entities/format/behaviors/eat_block.json @@ -8,25 +8,25 @@ "properties": { "priority": { "$ref": "./types/priority.json" }, "on_eat": { + "title": "On Eat", "$ref": "../types/trigger.json", - "description": "The event to trigger when the block eating animation has completed.", - "title": "On Eat" + "description": "The event to trigger when the block eating animation has completed." }, "success_chance": { "title": "Succes Chance", - "description": "A molang expression defining the success chance the entity has to consume a block.", + "$ref": "../../../../molang/number.json", "default": 0.02, - "$ref": "../../../../molang/number.json" + "description": "A molang expression defining the success chance the entity has to consume a block." }, "time_until_eat": { "title": "Time Until Eat", - "description": "The amount of time (in seconds) it takes for the block to be eaten upon a successful eat attempt.", + "type": "number", "default": 1.8, - "type": "number" + "description": "The amount of time (in seconds) it takes for the block to be eaten upon a successful eat attempt." }, "eat_and_replace_block_pairs": { - "type": "array", "title": "Eat And Replace Block Pairs", + "type": "array", "description": "A collection of pairs of blocks; the first (\"eat_block\")is the block the entity should eat, the second (\"replace_block\") is the block that should replace the eaten block.", "items": { "type": "object",