From 7639d71232d28d5425aff04779bd91456a109757 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Thu, 3 Jun 2021 14:48:18 +0200 Subject: [PATCH] Added transform_to_item to behavior components --- .../entities/1.16.0/components/minecraft.ageable.json | 7 ++++++- .../entities/1.16.0/components/minecraft.breedable.json | 5 +++++ .../entities/1.16.0/components/minecraft.interact.json | 5 ++--- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/source/behavior/entities/1.16.0/components/minecraft.ageable.json b/source/behavior/entities/1.16.0/components/minecraft.ageable.json index 766bc1a0..90837b8f 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.ageable.json +++ b/source/behavior/entities/1.16.0/components/minecraft.ageable.json @@ -34,6 +34,11 @@ ], "title": "TODO Title" }, - "grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "TODO Title" } + "grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "Grow up" }, + "transform_to_item": { + "type": "string", + "title": "Transform to item", + "description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue" + } } } diff --git a/source/behavior/entities/1.16.0/components/minecraft.breedable.json b/source/behavior/entities/1.16.0/components/minecraft.breedable.json index cbd4c50c..9b1e03ca 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.breedable.json +++ b/source/behavior/entities/1.16.0/components/minecraft.breedable.json @@ -178,6 +178,11 @@ "default": true, "description": "If true, the entities need to be tamed first before they can breed.", "title": "Require Tame" + }, + "transform_to_item": { + "type": "string", + "title": "Transform To Item", + "description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue" } } } diff --git a/source/behavior/entities/1.16.0/components/minecraft.interact.json b/source/behavior/entities/1.16.0/components/minecraft.interact.json index 4ec9c85d..9a4e9974 100644 --- a/source/behavior/entities/1.16.0/components/minecraft.interact.json +++ b/source/behavior/entities/1.16.0/components/minecraft.interact.json @@ -83,9 +83,8 @@ }, "transform_to_item": { "type": "string", - "default": "", - "description": "The item used will transform to this item upon successful interaction. Format: itemName:auxValue", - "title": "Transform To Item" + "title": "Transform to item", + "description": "The feed item used will transform to this item upon successful interaction. Format: itemName:auxValue" }, "use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item.", "title": "Use Item" } }