From a0fe91131d17dd535ca6817aa6a1377d21b39598 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 5 Jan 2022 12:07:48 +0100 Subject: [PATCH] Updated shooter component --- .../behavior/entities/format/components/shooter.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/source/behavior/entities/format/components/shooter.json b/source/behavior/entities/format/components/shooter.json index 573bc49e..ef411fe1 100644 --- a/source/behavior/entities/format/components/shooter.json +++ b/source/behavior/entities/format/components/shooter.json @@ -14,20 +14,16 @@ "def": { "title": "Def", "type": "string", + "examples": ["minecraft:arrow", "minecraft:small_fireball", "minecraft:thrown_trident"], "description": "Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile" }, "type": { "title": "Type", "type": "string", "description": "UNDOCUMENTED", - "$comment": "UNDOCUMENTED" + "$comment": "UNDOCUMENTED", + "examples": ["dragonfireball"] } }, - "examples": [ - { - "aux_val": -1, - "def": "example", - "type": "example" - } - ] + "examples": [{ "def": "minecraft:small_fireball" }] }