diff --git a/source/behavior/entities/format/components/attack_cooldown.json b/source/behavior/entities/format/components/attack_cooldown.json index 7ede9b98..cbc8731c 100644 --- a/source/behavior/entities/format/components/attack_cooldown.json +++ b/source/behavior/entities/format/components/attack_cooldown.json @@ -7,7 +7,7 @@ "properties": { "attack_cooldown_complete_event": { "$ref": "../types/trigger.json", - "description": "Event to be runned when the cooldown is complete.", + "description": "Event to be run when the cooldown is complete.", "title": "Attack Cooldown Complete Event" }, "attack_cooldown_time": { diff --git a/source/behavior/entities/format/components/attack_damage.json b/source/behavior/entities/format/components/attack_damage.json index dce19762..f8afeb3c 100644 --- a/source/behavior/entities/format/components/attack_damage.json +++ b/source/behavior/entities/format/components/attack_damage.json @@ -6,15 +6,15 @@ "required": ["value"], "properties": { "value": { - "type": "number", - "description": "UNDOCUMENTED: value.", + "type": "integer", + "description": "How much an attack should damage a target.", "title": "Value" } }, - "description": "UNDOCUMENTED.", + "description": "Specifies how much damage is dealt by the entity when it attacks.", "examples": [ { - "value": 0.0 + "value": 4 } ] } diff --git a/source/behavior/entities/format/components/balloonable.json b/source/behavior/entities/format/components/balloonable.json index 283d61dd..b66cae57 100644 --- a/source/behavior/entities/format/components/balloonable.json +++ b/source/behavior/entities/format/components/balloonable.json @@ -3,18 +3,43 @@ "additionalProperties": false, "type": "object", "title": "Balloonable", + "description": "allows the entity to have a balloon attached and defines the conditions and events for the entity when is ballooned.", "required": [], "properties": { - "mass": { + "soft_distance": { + "title": "Soft Distance", + "description": "Distance in blocks where the 'spring' effect lifts the entity.", "type": "number", - "description": "UNDOCUMENTED: mass.", - "title": "Mass" + "default": 2.0 + }, + "max_distance": { + "title": "Max Distance", + "description": "Distance in blocks where the balloon breaks.", + "type": "number", + "default": 10.0 + }, + "on_balloon": { + "title": "On Balloon", + "description": "Event to call when the entity is ballooned.", + "type": "string" + }, + "on_unballoon": { + "title": "On Unballoon", + "description": "Event to call when the entity is unballooned.", + "type": "string" + }, + "mass": { + "title": "Mass", + "description": "Mass that the entity has when computing balloon pull forces.", + "type": "number", + "default": 1.0 } }, - "description": "UNDOCUMENTED.", "examples": [ { - "mass": 0.0 + "max_distance": 10.0, + "soft_distance": 2.0, + "mass": 0.5 } ] } diff --git a/source/behavior/entities/format/components/boostable.json b/source/behavior/entities/format/components/boostable.json index ee01edc6..9184b58e 100644 --- a/source/behavior/entities/format/components/boostable.json +++ b/source/behavior/entities/format/components/boostable.json @@ -31,13 +31,7 @@ "default": 1, "description": "This is the damage that the item will take each time it is used.", "title": "Damage" - }, - "item_damage": { - "type": "integer", - "default": 1, - "description": "UNDOCUMENTED.", - "title": "Item Damage" - }, + }, "item": { "$ref": "../../../../general/item/descriptor.json", "default": "", diff --git a/source/behavior/entities/format/components/follow_range.json b/source/behavior/entities/format/components/follow_range.json index f21e8bdb..8d3871e4 100644 --- a/source/behavior/entities/format/components/follow_range.json +++ b/source/behavior/entities/format/components/follow_range.json @@ -2,27 +2,25 @@ "$id": "blockception.minecraft.behavior.entities.minecraft.follow_range", "type": "object", "title": "Follow Range", + "description": "Defines the range of blocks that a mob will pursue a target.", "additionalProperties": false, "required": [], "properties": { "value": { "type": "integer", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Range of the amount of damage the melee follow_range deals. A negative value can heal the entity instead of hurting it.", "title": "Value" }, "max": { "type": "integer", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Duration, in seconds, of the status ailment applied to the damaged entity.", "title": "Max" } }, - "description": "UNDOCUMENTED.", "examples": [ { - "value": 0, - "max": 0 + "value": 16, + "max": 48 } ] } diff --git a/source/behavior/entities/format/components/health.json b/source/behavior/entities/format/components/health.json index 45638066..e9f40c44 100644 --- a/source/behavior/entities/format/components/health.json +++ b/source/behavior/entities/format/components/health.json @@ -24,14 +24,12 @@ "range_min": { "title": "Range Minimum", "description": "The minimum amount of health this mob could have.", - "$comment": "UNDOCUMENTED", - "type": "number" + "type": "integer" }, "range_max": { "title": "Range Maximum", "description": "The maximum amount of health this mob could have.", - "$comment": "UNDOCUMENTED", - "type": "number" + "type": "integer" } } } diff --git a/source/behavior/entities/format/components/hide.json b/source/behavior/entities/format/components/hide.json index 2b19c6a1..be1ad617 100644 --- a/source/behavior/entities/format/components/hide.json +++ b/source/behavior/entities/format/components/hide.json @@ -2,8 +2,7 @@ "$id": "blockception.minecraft.behavior.entities.minecraft.hide", "type": "object", "title": "Hide", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Compels an entity to move to and hide at their owned POI or the closest nearby.", "additionalProperties": false, "properties": {} } diff --git a/source/behavior/entities/format/components/lava_movement.json b/source/behavior/entities/format/components/lava_movement.json index e4d7b0ca..262dbc15 100644 --- a/source/behavior/entities/format/components/lava_movement.json +++ b/source/behavior/entities/format/components/lava_movement.json @@ -1,7 +1,6 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.lava_movement", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Allows a custom movement speed across lava blocks.", "type": "object", "title": "Lava Movement", "additionalProperties": false, @@ -10,13 +9,12 @@ "value": { "type": "number", "title": "Value", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The speed a strider moves over a lava block." } }, "examples": [ { - "value": 0.0 + "value": 0.32 } ] } diff --git a/source/behavior/entities/format/components/player.exhaustion.json b/source/behavior/entities/format/components/player.exhaustion.json index 6747531f..47c79243 100644 --- a/source/behavior/entities/format/components/player.exhaustion.json +++ b/source/behavior/entities/format/components/player.exhaustion.json @@ -1,21 +1,21 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.player.exhaustion", "title": "Player.exhaustion", - "description": "Defines the player's need for food.", + "description": "Defines the player's exhaustion level.", "additionalProperties": false, "type": "object", "required": [], "properties": { "value": { - "type": "number", + "type": "integer", "title": "Value", - "description": "The maximum player saturation value." + "description": "The initial value of the player exhaustion." }, "max": { - "type": "number", + "type": "integer", "title": "Maximum", - "description": "The maximum player saturation value." + "description": "The maximum player exhaustion of this entity." } }, - "examples": [{ "value": 10, "max": 20 }] + "examples": [{ "value": 0, "max": 20 }] } diff --git a/source/behavior/entities/format/components/player.experience.json b/source/behavior/entities/format/components/player.experience.json index 34d7eca6..2d2600c6 100644 --- a/source/behavior/entities/format/components/player.experience.json +++ b/source/behavior/entities/format/components/player.experience.json @@ -3,29 +3,26 @@ "additionalProperties": false, "type": "object", "title": "Player.experience", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Defines how much experience each player action should take.", "required": [], "properties": { "value": { - "type": "number", - "default": true, + "type": "integer", + "default": 1, "title": "Value", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The initial value of the player experience." }, "max": { - "type": "number", - "default": true, + "type": "integer", + "default": 5, "title": "Maximum", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The maximum player experience of this entity." } }, "examples": [ { - "value": true, - "max": true + "value": 0, + "max": 1 } ] } diff --git a/source/behavior/entities/format/components/player.level.json b/source/behavior/entities/format/components/player.level.json index 0a3d0fd3..1956445f 100644 --- a/source/behavior/entities/format/components/player.level.json +++ b/source/behavior/entities/format/components/player.level.json @@ -3,29 +3,24 @@ "additionalProperties": false, "type": "object", "title": "Player.level", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Defines the player's level.", "required": [], "properties": { "value": { - "type": "number", - "default": true, + "type": "integer", "title": "Value", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The initial value of the player level." }, "max": { - "type": "number", - "default": true, + "type": "integer", "title": "Maximum", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The maximum player level value of the entity." } }, "examples": [ { - "value": true, - "max": true + "value": 0, + "max": 24791 } ] } diff --git a/source/behavior/entities/format/components/player.saturation.json b/source/behavior/entities/format/components/player.saturation.json index 0217b9e1..799c1962 100644 --- a/source/behavior/entities/format/components/player.saturation.json +++ b/source/behavior/entities/format/components/player.saturation.json @@ -3,21 +3,24 @@ "additionalProperties": false, "type": "object", "title": "Player.saturation", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Defines the player's need for food.", "required": [], "properties": { "value": { - "type": "number", - "default": true, + "type": "integer", "title": "Value", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "The initial value of player saturation." + }, + "max": { + "type": "integer", + "title": "Maximum", + "description": "The maximum player saturation value." } }, "examples": [ { - "value": true + "value": 5, + "max": 20 } ] } diff --git a/source/behavior/entities/format/components/shooter.json b/source/behavior/entities/format/components/shooter.json index 1f9a85a4..13c676d2 100644 --- a/source/behavior/entities/format/components/shooter.json +++ b/source/behavior/entities/format/components/shooter.json @@ -1,6 +1,7 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.shooter", "description": "Defines the entity's ranged attack behavior.", + "$comment": "As of 1.19.60 & out of exp 1.20.10", "type": "object", "title": "Shooter", "additionalProperties": false, @@ -17,12 +18,27 @@ "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", + "magic": { + "title": "Magic", + "type": "boolean", + "default": false, + "description": "Sets whether the projectiles being used are flagged as magic. If set, the ranged attack goal will not be used at the same time as other magic goals, such as minecraft:behavior.drink_potion." }, + "power": { + "type": "number", + "title": "Power", + "default": 0.00, + "description": "Velocity in which the projectiles will be shot. A power of 0 will be overwritten by the default projectile throw power." + }, + "projectiles": { + "title": "Projectiles", + "description": "List of projectiles that can be used by the shooter. Projectiles are evaluated in the order of the list; after a projectile is chosen, the rest of the list is ignored.", + "type": "array", + "items": { "type": "string", "description": "Projectiles that can be used by the shooter", "title": "Projectile"} + }, + "sound": { + "title": "Sound", "type": "string", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", - "examples": ["dragonfireball"] + "description": "Sound that is played when the shooter shoots a projectile." } }, "examples": [{ "def": "minecraft:small_fireball" }] diff --git a/source/behavior/entities/format/components/teleport.json b/source/behavior/entities/format/components/teleport.json index 5675f821..b51ca513 100644 --- a/source/behavior/entities/format/components/teleport.json +++ b/source/behavior/entities/format/components/teleport.json @@ -58,15 +58,17 @@ }, "target_distance": { "type": "number", - "default": 16, + "default": 16.0, "description": "Maximum distance the entity will teleport when chasing a target.", "title": "Target Distance" }, "target_teleport_chance": { "type": "number", - "default": 1, + "default": 1.0, "description": "The chance that the entity will teleport between 0.0 and 1.0. 1.0 means 100%", - "title": "Target Teleport Chance" + "title": "Target Teleport Chance", + "minimum": 0.0, + "maximum": 1.0 } }, "examples": [ diff --git a/source/behavior/entities/format/components/underwater_movement.json b/source/behavior/entities/format/components/underwater_movement.json index 33f435a5..1da7ff4c 100644 --- a/source/behavior/entities/format/components/underwater_movement.json +++ b/source/behavior/entities/format/components/underwater_movement.json @@ -1,7 +1,6 @@ { "$id": "blockception.minecraft.behavior.entities.minecraft.underwater_movement", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED", + "description": "Defines the speed with which an entity can move through water.", "type": "object", "title": "Underwater Movement", "additionalProperties": false, @@ -10,13 +9,12 @@ "value": { "type": "number", "title": "Value", - "description": "UNDOCUMENTED.", - "$comment": "UNDOCUMENTED" + "description": "Movement speed of the entity under water." } }, "examples": [ { - "value": 0.0 + "value": 0.15 } ] } diff --git a/source/behavior/items/format/components/durability.json b/source/behavior/items/format/components/durability.json index 907a520a..31e8e513 100644 --- a/source/behavior/items/format/components/durability.json +++ b/source/behavior/items/format/components/durability.json @@ -8,13 +8,13 @@ "properties": { "damage_chance": { "type": "object", - "title": "Damange Chance", - "description": "Damange chance.", + "title": "Damage Chance", + "description": "Damage chance.", "additionalProperties": false, "required": ["min", "max"], "properties": { "min": { "title": "Min", "type": "integer", "description": "The minimum." }, - "max": { "title": "Max", "type": "integer", "description": "The minimum." } + "max": { "title": "Max", "type": "integer", "description": "The maximum." } } }, "max_durability": { diff --git a/source/behavior/items/format/components/entity_placer.json b/source/behavior/items/format/components/entity_placer.json index 9e349ba7..9cc021cb 100644 --- a/source/behavior/items/format/components/entity_placer.json +++ b/source/behavior/items/format/components/entity_placer.json @@ -11,13 +11,13 @@ "type": "array", "title": "Dispense On", "description": "List of block descriptors that contain blocks that this item can be dispensed on. If left empty, all blocks will be allowed.", - "items": { "title": "Dispense On", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" } + "items": { "title": "Block Descriptor", "description": "Block that item can be dispensed on.", "$comment": "UNDOCUMENTED" } }, "use_on": { "type": "array", "title": "Use On", "description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.", - "items": { "title": "Use On", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" } + "items": { "title": "Block Descriptor", "description": "Block that item can be used on", "$comment": "UNDOCUMENTED" } } } }