This commit is contained in:
DaanV2
2021-03-21 15:18:38 +01:00
parent d3298267bc
commit 698ee42623
960 changed files with 5960 additions and 22946 deletions

View File

@@ -2,21 +2,16 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.admire_item",
"type": "object",
"title": "Admire item 1.8.0",
"title": "Admire Item 1.8.0",
"description": "Enables the mob to admire items that have been configured as admirable. Must be used in combination with the admire_item component.",
"additionalProperties": false,
"properties": {
"admire_item_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when admiring the item",
"title": "Admire item sound"
},
"admire_item_sound": { "type": "string", "default": "", "description": "The sound event to play when admiring the item", "title": "Admire Item Sound" },
"sound_interval": {
"type": "array",
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound interval",
"title": "Sound Interval",
"items": [
{ "type": "number", "title": "Minimum" },
{ "type": "number", "title": "Maximum" }

View File

@@ -4,22 +4,12 @@
"additionalProperties": false,
"description": "Allows this entity to avoid certain mob types.",
"type": "object",
"title": "Avoid mob type 1.8.0",
"title": "Avoid Mob Type 1.8.0",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"max_dist": {
"type": "number",
"default": 0,
"description": "Maximum distance to look for an entity",
"title": "Max Dist"
},
"max_flee": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it should stop fleeing.",
"title": "Max Flee"
},
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance to look for an entity", "title": "Max Dist" },
"max_flee": { "type": "number", "default": 0.5, "description": "Distance in blocks within the mob considers it should stop fleeing.", "title": "Max Flee" },
"walk_speed_multiplier": {
"type": "number",
"default": 1.0,
@@ -45,21 +35,13 @@
"title": "Ignore Visibility"
},
"entity_types": { "$ref": "../types/entity_types.json", "description": "TODO description: entity types", "title": "Entity Types" },
"avoid_mob_sound": {
"title": "Avoid mob sound",
"description": "UNDOCUMENTATED",
"type": "string"
},
"remove_target": {
"title": "Remove target",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"on_escape_event": { "$ref": "../types/event.json", "title": "On escape event", "description": "UNDOCUMENTATED" },
"avoid_mob_sound": { "title": "Avoid Mob Sound", "description": "UNDOCUMENTATED", "type": "string" },
"remove_target": { "title": "Remove Target", "description": "UNDOCUMENTATED", "type": "boolean" },
"on_escape_event": { "$ref": "../types/event.json", "title": "On Escape Event", "description": "UNDOCUMENTATED" },
"sound_interval": {
"default": 0,
"description": "UNDOCUMENTATED",
"title": "Sound interval",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
@@ -69,14 +51,7 @@
]
},
{ "type": "number" },
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": { "type": "number" },
"range_max": { "type": "number" }
}
}
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
}
}

View File

@@ -11,19 +11,10 @@
"items": {
"type": "array",
"description": "List of items that this mob likes",
"items": {
"type": "string",
"description": "TODO description: properties",
"title": "Properties"
},
"items": { "type": "string", "description": "TODO description: properties", "title": "Properties" },
"title": "Properties"
},
"look_distance": {
"type": "number",
"default": 8,
"description": "Distance in blocks the mob will beg from",
"title": "Look Distance"
},
"look_distance": { "type": "number", "default": 8, "description": "Distance in blocks the mob will beg from", "title": "Look Distance" },
"look_time": {
"description": "The range of time in seconds this mob will stare at the player holding a food they like, begging for it",
"$ref": "../types/range_number_type.json",

View File

@@ -2,14 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.break_door",
"type": "object",
"title": "Break door 1.8.0",
"title": "Break Door 1.8.0",
"description": "Allows this mob to break doors.",
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" }
},
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" } },
"additionalProperties": false
}

View File

@@ -6,8 +6,5 @@
"title": "Breed 1.8.0",
"description": "Allows this mob to breed with other mobs.",
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" }
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" } }
}

View File

@@ -6,26 +6,14 @@
"description": "This allows the mob celebrate by jumping up and playing a sound periodically.",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"celebration_sound": {
"type": "string",
"default": "",
"description": "The sound to occasionally play.",
"title": "Celebration sound"
},
"duration": {
"type": "number",
"default": 1,
"description": "The duration of the celebration (in seconds).",
"title": "Duration"
},
"priority": { "$ref": "types/base_priority.json" },
"celebration_sound": { "type": "string", "default": "", "description": "The sound to occasionally play.", "title": "Celebration Sound" },
"duration": { "type": "number", "default": 1, "description": "The duration of the celebration (in seconds).", "title": "Duration" },
"jump_interval": {
"type": "array",
"default": 0,
"description": "The range of time in seconds to randomly wait before jumping again.",
"title": "Jump interval",
"title": "Jump Interval",
"oneOf": [
{
"type": "array",
@@ -37,16 +25,12 @@
{ "type": "number" }
]
},
"on_celebration_end_event": {
"$ref": "../types/trigger.json",
"description": "The event to trigger when the goal's duration expires.",
"title": "On celebration end event"
},
"on_celebration_end_event": { "$ref": "../types/trigger.json", "description": "The event to trigger when the goal's duration expires.", "title": "On Celebration End Event" },
"sound_interval": {
"type": "array",
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound interval",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",

View File

@@ -3,15 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.charge_attack",
"additionalProperties": false,
"type": "object",
"title": "Charge attack 1.8.0",
"title": "Charge Attack 1.8.0",
"description": "Allows the mob to attack its target by running at it.",
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"speed_multiplier": {
"$ref": "types/base_speed_multiplier.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "types/base_speed_multiplier.json" } }
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.charge_held_item",
"type": "object",
"title": "Charge held item 1.8.0",
"title": "Charge Held Item 1.8.0",
"description": "Allows this mob to charge and use their held item.",
"additionalProperties": false,
"required": [],
@@ -12,11 +12,7 @@
"type": "array",
"title": "Items",
"description": "The list of items that can be used to charge the held item.",
"items": {
"type": "string",
"description": "Items names to be used.",
"title": "Item ID"
}
"items": { "type": "string", "description": "Items names to be used.", "title": "Item ID" }
}
}
}

View File

@@ -2,18 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.circle_around_anchor",
"type": "object",
"title": "Circle around anchor 1.8.0",
"title": "Circle Around Anchor 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to move in a circle around a point or a target.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": {
"type": "number",
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal",
"title": "Speed Multiplier"
},
"speed_multiplier": { "type": "number", "default": 1.0, "description": "Movement speed multiplier of the mob when using this AI Goal", "title": "Speed Multiplier" },
"radius_range": {
"$ref": "../types/range_number_type.json",
"default": [5.0, 15.0],
@@ -50,25 +45,9 @@
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal Radius"
},
"radius_change": {
"type": "number",
"title": "Radius change",
"description": "UNDOCUMENTATED"
},
"radius_adjustment_chance": {
"type": "number",
"title": "Radius adjustment chance",
"description": "UNDOCUMENTATED"
},
"height_adjustment_chance": {
"type": "number",
"title": "Height adjustment chance",
"description": "UNDOCUMENTATED"
},
"angle_change": {
"type": "number",
"title": "Angle change",
"description": "UNDOCUMENTATED"
}
"radius_change": { "type": "number", "title": "Radius Change", "description": "UNDOCUMENTATED" },
"radius_adjustment_chance": { "type": "number", "title": "Radius Adjustment Chance", "description": "UNDOCUMENTATED" },
"height_adjustment_chance": { "type": "number", "title": "Height Adjustment Chance", "description": "UNDOCUMENTATED" },
"angle_change": { "type": "number", "title": "Angle Change", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.controlled_by_player",
"additionalProperties": false,
"type": "object",
"title": "Controlled by player 1.8.0",
"title": "Controlled By Player 1.8.0",
"description": "Allows the mob to be controlled by the player.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
@@ -11,7 +11,7 @@
"type": "number",
"default": 1,
"description": "Speed multiplier of mount when controlled by player, defaults to 1.0f",
"title": "Mount speed multiplier"
"title": "Mount Speed Multiplier"
}
}
}

View File

@@ -2,49 +2,22 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.defend_trusted_target",
"type": "object",
"title": "Defend trusted target 1.8.0",
"title": "Defend Trusted Target 1.8.0",
"description": "Allows the mob to target another mob that hurts an entity it trusts.",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"aggro_sound": {
"type": "string",
"default": "",
"description": "Sound to occasionally play while defending.",
"title": "Aggro sound"
},
"attack_interval": {
"type": "integer",
"default": 0,
"description": "Time in seconds between attacks",
"title": "Attack interval"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must see"
},
"priority": { "$ref": "types/base_priority.json" },
"aggro_sound": { "type": "string", "default": "", "description": "Sound to occasionally play while defending.", "title": "Aggro Sound" },
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds between attacks", "title": "Attack Interval" },
"must_see": { "type": "boolean", "default": false, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "Must See" },
"must_see_forget_duration": {
"type": "number",
"default": 3,
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",
"title": "Must see forget duration"
"title": "Must See Forget Duration"
},
"on_defend_start": { "$ref": "../types/event.json", "title": "On defend start", "description": "UNDOCUMENTATED" },
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within radius"
},
"entity_types": {
"type": "object",
"description": "List of entity types that this mob considers valid targets",
"title": "Entity types",
"additionalProperties": false
}
"on_defend_start": { "$ref": "../types/event.json", "title": "On Defend Start", "description": "UNDOCUMENTATED" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "Within Radius" },
"entity_types": { "type": "object", "description": "List of entity types that this mob considers valid targets", "title": "Entity Types", "additionalProperties": false }
}
}

View File

@@ -3,24 +3,12 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.defend_village_target",
"additionalProperties": false,
"type": "object",
"title": "Defend village target 1.8.0",
"title": "Defend Village Target 1.8.0",
"description": "Allows the mob to stay in the village and fight mobs hostile to the villagers.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types this mob considers a threat to the village",
"title": "TODO title"
},
"must_reach": {
"title": "Must reach",
"description": "UNDOCUMENTATED",
"type": "boolean"
},
"attack_chance": {
"title": "Attack chance",
"description": "UNDOCUMENTATED",
"type": "number"
}
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types this mob considers a threat to the village", "title": "TODO Title" },
"must_reach": { "title": "Must Reach", "description": "UNDOCUMENTATED", "type": "boolean" },
"attack_chance": { "title": "Attack Chance", "description": "UNDOCUMENTATED", "type": "number" }
}
}

View File

@@ -3,62 +3,29 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.delayed_attack",
"additionalProperties": false,
"type": "object",
"title": "Delayed attack 1.8.0",
"title": "Delayed Attack 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"attack_duration": {
"type": "number",
"default": 1,
"description": "The duration of the attack animation in seconds",
"title": "TODO title"
},
"attack_once": {
"type": "boolean",
"default": false,
"description": "If true, this mob will attack only one time.",
"title": "TODO title"
},
"attack_types": {
"type": "string",
"default": "",
"description": "Defines the entity types this mob will attack",
"title": "TODO title"
},
"hit_delay_pct": {
"type": "number",
"default": 1,
"description": "The percentage of the attack_duration that must pass before the hit is made",
"title": "TODO title"
},
"attack_duration": { "type": "number", "default": 1, "description": "The duration of the attack animation in seconds", "title": "TODO Title" },
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "TODO Title" },
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "TODO Title" },
"hit_delay_pct": { "type": "number", "default": 1, "description": "The percentage of the attack_duration that must pass before the hit is made", "title": "TODO Title" },
"random_stop_interval": {
"type": "integer",
"default": 0,
"description": "Defines the probability the mob will stop fighting. A value of 0 disables randomly stopping, while a value of 1 defines a 50% chance",
"title": "TODO title"
"title": "TODO Title"
},
"reach_multiplier": {
"type": "number",
"default": 2,
"description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)",
"title": "TODO title"
"title": "TODO Title"
},
"require_complete_path": {
"type": "boolean",
"title": "Require complet path",
"description": "UNDOCUMENATED"
},
"sound_event": {
"type": "string",
"description": "The sound event to play when the attack starts",
"title": "TODO title"
},
"track_target": {
"type": "boolean",
"default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "TODO title"
}
"require_complete_path": { "type": "boolean", "title": "Require Complet Path", "description": "UNDOCUMENATED" },
"sound_event": { "type": "string", "description": "The sound event to play when the attack starts", "title": "TODO Title" },
"track_target": { "type": "boolean", "default": false, "description": "If true, this mob will chase after the target as long as it's a valid target", "title": "TODO Title" }
}
}

View File

@@ -3,9 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.door_interact",
"additionalProperties": false,
"type": "object",
"title": "Door interact 1.8.0",
"title": "Door Interact 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragonchargeplayer 1.8.0",
"description": "Allows the dragon to attack a player by flying fast at them. The player is chosen by the dragonscanning goal. Can only be used by the Ender Dragon.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragondeath 1.8.0",
"description": "Allows the dragon to go out with glory. This controls the Ender Dragon's death animation and can't be used by other mobs.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragonflaming 1.8.0",
"description": "Allows the dragon to use its flame breath attack. Can only be used by the Ender Dragon.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragonholdingpattern 1.8.0",
"description": "Allows the Dragon to fly around in a circle around the center podium. Can only be used by the Ender Dragon.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragonlanding 1.8.0",
"description": "Allows the Dragon to stop flying and transition into perching mode. Can only be used by the Ender Dragon.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragonscanning 1.8.0",
"description": "Allows the dragon to look around for a player to attack while in perch mode. Can only be used by the Ender Dragon.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragonstrafeplayer 1.8.0",
"description": "Allows the dragon to fly around looking for a player and shoot fireballs at them. Can only be used by the Ender Dragon.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -5,7 +5,5 @@
"type": "object",
"title": "Dragontakeoff 1.8.0",
"description": "Allows the dragon to leave perch mode and go back to flying around. Can only be used by the Ender Dragon.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -9,11 +9,7 @@
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"speed_modifier": {
"default": 0.0,
"description": "TODO description: speed modifier",
"title": "Speed Modifier"
},
"speed_modifier": { "default": 0.0, "description": "TODO description: speed modifier", "title": "Speed Modifier" },
"potions": {
"type": "array",
"description": "A list of potions that this entity can drink.",
@@ -21,12 +17,7 @@
"required": ["id", "chance", "filters"],
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"default": -1,
"description": "The registry ID of the potion to use",
"title": "Id"
},
"id": { "type": "integer", "default": -1, "description": "The registry ID of the potion to use", "title": "Id" },
"chance": {
"type": "number",
"default": 1.0,
@@ -35,11 +26,7 @@
"description": "The percent chance (from 0.0 to 1.0) of this potion being selected when searching for a potion to use.",
"title": "Chance"
},
"filters": {
"description": "The filters to use when determining if this potion can be selected.",
"$ref": "../filters.json",
"title": "Filters"
}
"filters": { "description": "The filters to use when determining if this potion can be selected.", "$ref": "../filters.json", "title": "Filters" }
},
"description": "TODO description: potions",
"title": "Potions"

View File

@@ -3,62 +3,35 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.drop_item_for",
"additionalProperties": false,
"type": "object",
"title": "Drop item for 1.8.0",
"title": "Drop Item For 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"entity_types": { "$ref": "../types/entity_types.json" },
"drop_item_chance": {
"type": "number",
"default": 1.0,
"description": "The probability that the mob will drop an item.",
"title": "TODO title"
},
"drop_item_chance": { "type": "number", "default": 1.0, "description": "The probability that the mob will drop an item.", "title": "TODO Title" },
"goal_radius": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
},
"loot_table": {
"type": "string",
"description": "Loot table to select items from.",
"title": "TODO title"
},
"max_dist": {
"type": "number",
"description": "Maximum distance in blocks this mob will look for entities to drop an item for.",
"title": "TODO title"
"title": "TODO Title"
},
"loot_table": { "type": "string", "description": "Loot table to select items from.", "title": "TODO Title" },
"max_dist": { "type": "number", "description": "Maximum distance in blocks this mob will look for entities to drop an item for.", "title": "TODO Title" },
"offering_distance": {
"type": "number",
"default": 1.0,
"description": "The distance in blocks the mob will try to be away from the entity when it drops the item.",
"title": "TODO title"
},
"on_drop_attempt": {
"$ref": "../types/event.json",
"description": "Event to run when this mob attempts to drop an item.",
"title": "TODO title"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks from the target the mob can be.",
"title": "TODO title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the target the mob can be.",
"title": "TODO title"
"title": "TODO Title"
},
"on_drop_attempt": { "$ref": "../types/event.json", "description": "Event to run when this mob attempts to drop an item.", "title": "TODO Title" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the target the mob can be.", "title": "TODO Title" },
"time_of_day_range": {
"$ref": "../types/range_number_type.json",
"default": [0.0, 1.0],
"description": "The valid times of day that this goal can be used. For reference: noon is 0.0, sunset is 0.25, midnight is 0.5, and sunrise is 0.75, and back to noon for 1.0.",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -2,50 +2,26 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.eat_block",
"type": "object",
"title": "Eat block 1.8.0",
"title": "Eat Block 1.8.0",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"on_eat": { "$ref": "../types/trigger.json", "description": "UNDOCUMENTATED", "title": "On Eat" },
"success_chance": {
"title": "Succes chance",
"description": "UNDOCUMENTATED",
"oneOf": [
{
"type": "number"
},
{
"type": "string",
"title": "Molang"
}
]
},
"time_until_eat": {
"title": "Time until eat",
"description": "UNDOCUMENTATED",
"type": "number"
},
"success_chance": { "title": "Succes Chance", "description": "UNDOCUMENTATED", "oneOf": [{ "type": "number" }, { "type": "string", "title": "Molang" }] },
"time_until_eat": { "title": "Time Until Eat", "description": "UNDOCUMENTATED", "type": "number" },
"eat_and_replace_block_pairs": {
"type": "array",
"title": "Eat and replace block pairs",
"title": "Eat And Replace Block Pairs",
"description": "UNDOCUMENTATED",
"items": {
"type": "object",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED",
"properties": {
"eat_block": {
"type": "string",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"replace_block": {
"type": "string",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
}
"eat_block": { "type": "string", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"replace_block": { "type": "string", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" }
}
}
}

View File

@@ -2,17 +2,11 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.eat_carried_item",
"type": "object",
"title": "Eat carried item 1.8.0",
"title": "Eat Carried Item 1.8.0",
"description": "If the mob is carrying a food item, the mob will eat it and the effects will be applied to the mob.",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"delay_before_eating": {
"type": "number",
"description": "Time in seconds the mob should wait before eating the item.",
"title": "Delay before eating"
}
"priority": { "$ref": "types/base_priority.json" },
"delay_before_eating": { "type": "number", "description": "Time in seconds the mob should wait before eating the item.", "title": "Delay Before Eating" }
}
}

View File

@@ -2,11 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.enderman_leave_block",
"type": "object",
"title": "Enderman leave block 1.8.0",
"title": "Enderman Leave Block 1.8.0",
"additionalProperties": false,
"description": "Allows the enderman to drop a block they are carrying. Can only be used by Endermen.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -2,11 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.enderman_take_block",
"type": "object",
"title": "Enderman take block 1.8.0",
"title": "Enderman Take Block 1.8.0",
"description": "Allows the enderman to take a block and carry it around. Can only be used by Endermen.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -2,65 +2,23 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.explore_outskirts",
"type": "object",
"title": "Explore outskirts 1.8.0",
"title": "Explore Outskirts 1.8.0",
"description": "Behaviour explore outskirts",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"explore_dist": {
"type": "number",
"default": 5,
"description": "The distance in which the mob will proceed past the village bounds",
"title": "Explore dist"
},
"wait_time": {
"type": "integer",
"default": 0,
"description": "The time the mob will stand around 'searching' for POIs",
"title": "Wait time"
},
"next_xz": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "integer"
},
"next_y": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "integer"
},
"min_wait_time": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"max_wait_time": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"max_travel_time": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"min_perimeter": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"min_dist_from_target": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"timer_ratio": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"explore_dist": { "type": "number", "default": 5, "description": "The distance in which the mob will proceed past the village bounds", "title": "Explore Dist" },
"wait_time": { "type": "integer", "default": 0, "description": "The time the mob will stand around 'searching' for POIs", "title": "Wait Time" },
"next_xz": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "integer" },
"next_y": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "integer" },
"min_wait_time": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"max_wait_time": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"max_travel_time": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"min_perimeter": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"min_dist_from_target": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"timer_ratio": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"dist_from_boundary": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",

View File

@@ -2,17 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.find_cover",
"type": "object",
"title": "Find cover 1.8.0",
"title": "Find Cover 1.8.0",
"description": "Allows the mob to seek shade.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown time"
}
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" }
}
}

View File

@@ -2,43 +2,21 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.find_mount",
"type": "object",
"title": "Find mount 1.8.0",
"title": "Find Mount 1.8.0",
"description": "Allows the mob to look around for another mob to ride atop it.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount",
"title": "TODO title"
},
"priority": { "$ref": "types/base_priority.json" },
"avoid_water": { "type": "boolean", "default": false, "description": "If true, the mob will not go into water blocks when going towards a mount", "title": "TODO Title" },
"mount_distance": {
"type": "number",
"default": -1,
"description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance",
"title": "TODO title"
"title": "TODO Title"
},
"start_delay": {
"type": "integer",
"default": 0,
"description": "Time the mob will wait before starting to move towards the mount",
"title": "TODO title"
},
"target_needed": {
"type": "boolean",
"default": false,
"description": "If true, the mob will only look for a mount if it has a target",
"title": "TODO title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks within which the mob will look for a mount",
"title": "TODO title"
}
"start_delay": { "type": "integer", "default": 0, "description": "Time the mob will wait before starting to move towards the mount", "title": "TODO Title" },
"target_needed": { "type": "boolean", "default": false, "description": "If true, the mob will only look for a mount if it has a target", "title": "TODO Title" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks within which the mob will look for a mount", "title": "TODO Title" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.find_underwater_treasure",
"type": "object",
"title": "Find underwater treasure 1.8.0",
"title": "Find Underwater Treasure 1.8.0",
"description": "Allows the mob to move towards the nearest underwater ruin or shipwreck.",
"additionalProperties": false,
"required": [],
@@ -15,11 +15,6 @@
"description": "The range that the mob will search for a treasure chest within a ruin or shipwreck to move towards.",
"title": "Search Range"
},
"stop_distance": {
"type": "number",
"default": 2.0,
"description": "The distance the mob will move before stopping.",
"title": "Stop Distance"
}
"stop_distance": { "type": "number", "default": 2.0, "description": "The distance the mob will move before stopping.", "title": "Stop Distance" }
}
}

View File

@@ -2,16 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.flee_sun",
"type": "object",
"title": "Flee sun 1.8.0",
"title": "Flee Sun 1.8.0",
"description": "Allows the mob to run away from direct sunlight and seek shade.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"speed_multiplier": {
"$ref": "types/base_speed_multiplier.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "types/base_speed_multiplier.json" } }
}

View File

@@ -6,7 +6,5 @@
"description": "Allows the mob to stay afloat while swimming.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.float_wander",
"type": "object",
"title": "Float wander 1.8.0",
"title": "Float Wander 1.8.0",
"description": "Allows the mob to float around like the Ghast.",
"additionalProperties": false,
"required": [],
@@ -20,18 +20,8 @@
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "Y Dist"
},
"y_offset": {
"type": "number",
"default": 0.0,
"description": "Height in blocks to add to the selected target position",
"title": "Y Offset"
},
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, the point has to be reachable to be a valid target",
"title": "Must Reach"
},
"y_offset": { "type": "number", "default": 0.0, "description": "Height in blocks to add to the selected target position", "title": "Y Offset" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, the point has to be reachable to be a valid target", "title": "Must Reach" },
"random_reselect": {
"type": "boolean",
"default": false,

View File

@@ -2,23 +2,14 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.follow_caravan",
"type": "object",
"title": "Follow caravan 1.8.0",
"title": "Follow Caravan 1.8.0",
"description": "Allows the mob to follow mobs that are in a caravan.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can follow in a caravan",
"title": "TODO title"
},
"entity_count": {
"type": "integer",
"description": "Number of entities that can be in the caravan",
"default": 1,
"title": "TODO title"
}
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types that this mob can follow in a caravan", "title": "TODO Title" },
"entity_count": { "type": "integer", "description": "Number of entities that can be in the caravan", "default": 1, "title": "TODO Title" }
}
}

View File

@@ -2,26 +2,14 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.follow_mob",
"type": "object",
"title": "Follow mob 1.8.0",
"title": "Follow Mob 1.8.0",
"description": "Allows the mob to follow other mobs.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for a mob to follow",
"title": "TODO title"
},
"stop_distance": {
"type": "number",
"default": 2,
"description": "The distance in blocks this mob stops from the mob it is following",
"title": "TODO title"
}
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for a mob to follow", "title": "TODO Title" },
"stop_distance": { "type": "number", "default": 2, "description": "The distance in blocks this mob stops from the mob it is following", "title": "TODO Title" }
}
}

View File

@@ -2,26 +2,19 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.follow_owner",
"type": "object",
"title": "Follow owner 1.8.0",
"title": "Follow Owner 1.8.0",
"description": "Allows the mob to follow their parent around.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"start_distance": {
"type": "number",
"default": 10,
"description": "The distance in blocks that the owner can be away from this mob before it starts following it",
"title": "TODO title"
"title": "TODO Title"
},
"stop_distance": {
"type": "number",
"default": 2,
"description": "The distance in blocks this mob will stop from its owner while following it",
"title": "TODO title"
}
"stop_distance": { "type": "number", "default": 2, "description": "The distance in blocks this mob will stop from its owner while following it", "title": "TODO Title" }
}
}

View File

@@ -6,10 +6,5 @@
"description": "Allows the mob to follow their parent around.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" }
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" } }
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.follow_target_captain",
"type": "object",
"title": "Follow target captain 1.8.0",
"title": "Follow Target Captain 1.8.0",
"description": "Allows mob to move towards its current target captain.",
"additionalProperties": false,
"required": [],
@@ -13,13 +13,13 @@
"type": "number",
"default": 0,
"description": "Defines the distance in blocks the mob will stay from its target while following.",
"title": "TODO title"
"title": "TODO Title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Defines the maximum distance in blocks a mob can get from its target captain before giving up trying to follow it.",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.go_home",
"type": "object",
"title": "Go home 1.8.0",
"title": "Go Home 1.8.0",
"description": "Allows the mob to move back to the position they were spawned.",
"additionalProperties": false,
"required": [],
@@ -13,14 +13,14 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "TODO title"
"title": "TODO Title"
},
"on_home": { "$ref": "../types/event.json", "description": "Event to run when this mob gets home.", "title": "TODO title" }
"on_home": { "$ref": "../types/event.json", "description": "Event to run when this mob gets home.", "title": "TODO Title" }
}
}

View File

@@ -2,11 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.guardian_attack",
"type": "object",
"title": "Guardian attack 1.8.0",
"title": "Guardian Attack 1.8.0",
"description": "Allows the guardian to use its laser beam attack. Can only be used by Guardians and Elder Guardians.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -2,27 +2,15 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.harvest_farm_block",
"type": "object",
"title": "Harvest farm block 1.8.0",
"title": "Harvest Farm Block 1.8.0",
"description": "Allows the villager to harvest nearby farms. Can only be used by Villagers.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"max_seconds_before_search": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"search_cooldown_max_seconds": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
},
"seconds_until_new_task": {
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENATED",
"type": "number"
}
"max_seconds_before_search": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"search_cooldown_max_seconds": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" },
"seconds_until_new_task": { "title": "UNDOCUMENTATED", "description": "UNDOCUMENATED", "type": "number" }
}
}

View File

@@ -9,23 +9,13 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"duration": {
"type": "number",
"default": 1,
"description": "Amount of time in seconds that the mob reacts.",
"title": "TODO title"
},
"poi_type": {
"type": "string",
"default": "",
"description": "Defines what POI type to hide at.",
"title": "TODO title"
},
"duration": { "type": "number", "default": 1, "description": "Amount of time in seconds that the mob reacts.", "title": "TODO Title" },
"poi_type": { "type": "string", "default": "", "description": "Defines what POI type to hide at.", "title": "TODO Title" },
"timeout_cooldown": {
"type": "number",
"default": 8,
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition.",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -2,35 +2,18 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.hold_ground",
"type": "object",
"title": "Hold ground 1.8.0",
"title": "Hold Ground 1.8.0",
"description": "The mob freezes and looks at the mob they are targeting.",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"broadcast": {
"type": "boolean",
"default": false,
"description": "Whether to broadcast out the mob's target to other mobs of the same type.",
"title": "Broadcast"
},
"broadcast_range": {
"type": "number",
"default": 0.0,
"description": "Range in blocks for how far to broadcast.",
"title": "Broadcast range"
},
"min_radius": {
"type": "number",
"default": 10.0,
"description": "Minimum distance the target must be for the mob to run this goal.",
"title": "Min radius"
},
"priority": { "$ref": "types/base_priority.json" },
"broadcast": { "type": "boolean", "default": false, "description": "Whether to broadcast out the mob's target to other mobs of the same type.", "title": "Broadcast" },
"broadcast_range": { "type": "number", "default": 0.0, "description": "Range in blocks for how far to broadcast.", "title": "Broadcast Range" },
"min_radius": { "type": "number", "default": 10.0, "description": "Minimum distance the target must be for the mob to run this goal.", "title": "Min Radius" },
"within_radius_event": {
"$ref": "../types/event.json",
"description": "Event to run when target is within the radius. This event is broadcasted if broadcast is true.",
"title": "Within radius event"
"title": "Within Radius Event"
}
}
}

View File

@@ -2,24 +2,14 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.guardian_attack",
"type": "object",
"title": "Guardian attack 1.8.0",
"title": "Guardian Attack 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to target another mob that hurts them.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "TODO description: entity types", "title": "Entity Types" },
"alert_same_type": {
"type": "boolean",
"default": false,
"description": "If true, nearby mobs of the same type will be alerted about the damage",
"title": "Alert Same Type"
},
"hurt_owner": {
"type": "boolean",
"default": false,
"description": "If true, the mob will hurt its owner and other mobs with the same owner as itself",
"title": "Hurt Owner"
}
"alert_same_type": { "type": "boolean", "default": false, "description": "If true, nearby mobs of the same type will be alerted about the damage", "title": "Alert Same Type" },
"hurt_owner": { "type": "boolean", "default": false, "description": "If true, the mob will hurt its owner and other mobs with the same owner as itself", "title": "Hurt Owner" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.inspect_bookshelf",
"type": "object",
"title": "Inspect bookshelf 1.8.0",
"title": "Inspect Bookshelf 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to inspect bookshelves.",
"required": [],
@@ -13,25 +13,15 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"search_count": {
"type": "integer",
"default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "TODO title"
"title": "TODO Title"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "The height that the mob will search for bookshelves",
"title": "TODO title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "Distance in blocks the mob will look for books to inspect",
"title": "TODO title"
}
"search_height": { "type": "integer", "default": 1, "description": "The height that the mob will search for bookshelves", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "Distance in blocks the mob will look for books to inspect", "title": "TODO Title" }
}
}

View File

@@ -3,47 +3,17 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.knockback_roar",
"description": "Allows the mob to perform a damaging knockback that affects all nearby entities.",
"type": "object",
"title": "Knockback roar 1.8.0",
"title": "Knockback Roar 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"attack_time": {
"type": "number",
"default": 0.5,
"description": "The delay after which the knockback occurs (in seconds).",
"title": "TODO title"
},
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO title"
},
"duration": {
"type": "number",
"default": 1,
"description": "The duration of the roar (in seconds).",
"title": "TODO title"
},
"knockback_damage": {
"type": "integer",
"default": 6,
"description": "The damage dealt by the knockback roar.",
"title": "TODO title"
},
"knockback_range": {
"type": "integer",
"default": 4,
"description": "The radius (in blocks) of the knockback effect.",
"title": "TODO title"
},
"knockback_strength": {
"type": "integer",
"default": 4,
"description": "The strength of the knockback.",
"title": "TODO title"
},
"attack_time": { "type": "number", "default": 0.5, "description": "The delay after which the knockback occurs (in seconds).", "title": "TODO Title" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"duration": { "type": "number", "default": 1, "description": "The duration of the roar (in seconds).", "title": "TODO Title" },
"knockback_damage": { "type": "integer", "default": 6, "description": "The damage dealt by the knockback roar.", "title": "TODO Title" },
"knockback_range": { "type": "integer", "default": 4, "description": "The radius (in blocks) of the knockback effect.", "title": "TODO Title" },
"knockback_strength": { "type": "integer", "default": 4, "description": "The strength of the knockback.", "title": "TODO Title" },
"trigger": { "$ref": "../types/trigger.json", "description": "TODO", "title": "Trigger" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.lay_down",
"description": "Allows mobs to lay down at times.",
"type": "object",
"title": "Lay down 1.8.0",
"title": "Lay Down 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -12,13 +12,13 @@
"type": "integer",
"default": 120,
"description": "A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal",
"title": "TODO title"
"title": "TODO Title"
},
"random_stop_interval": {
"type": "integer",
"default": 120,
"description": "A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.lay_egg",
"description": "Allows the mob to lay an egg block on a sand block if the mob is pregnant.",
"type": "object",
"title": "Lay egg 1.8.0",
"title": "Lay Egg 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -13,20 +13,10 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "TODO title" },
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for sand block to move towards",
"title": "TODO title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for a sand block to move towards",
"title": "TODO title"
}
"on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "TODO Title" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for sand block to move towards", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for a sand block to move towards", "title": "TODO Title" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.leap_at_target",
"description": "Allows monsters to jump at and attack their target. Can only be used by hostile mobs.",
"type": "object",
"title": "Leap at target 1.8.0",
"title": "Leap At Target 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -12,19 +12,9 @@
"type": "boolean",
"default": true,
"description": "If true, the mob will only jump at its target if its on the ground. Setting it to false will allow it to jump even if its already in the air",
"title": "TODO title"
"title": "TODO Title"
},
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "TODO title"
},
"yd": {
"type": "number",
"default": 0,
"description": "The height in blocks the mob jumps when leaping at its target",
"title": "TODO title"
}
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "TODO Title" },
"yd": { "type": "number", "default": 0, "description": "The height in blocks the mob jumps when leaping at its target", "title": "TODO Title" }
}
}

View File

@@ -3,29 +3,14 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.look_at_entity",
"description": "Allows the mob to look at nearby entities.",
"type": "object",
"title": "Look at entity 1.8.0",
"title": "Look At Entity 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time"
},
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_time": { "$ref": "../types/range_number_type.json", "default": [2, 4], "description": "Time range to look at the entity", "title": "Look Time" },
"angle_of_view_vertical": {
"type": "integer",
"default": 360,
@@ -38,10 +23,6 @@
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal"
},
"filters": {
"description": "Filter to determine the conditions for this mob to look at the entity",
"$ref": "../filters.json",
"title": "Filters"
}
"filters": { "description": "Filter to determine the conditions for this mob to look at the entity", "$ref": "../filters.json", "title": "Filters" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.look_at_player",
"type": "object",
"title": "Look at player 1.8.0",
"title": "Look At Player 1.8.0",
"description": "Allows the mob to look at the player when the player is nearby.",
"additionalProperties": false,
"required": [],
@@ -20,37 +20,15 @@
"description": "The angle in degrees that the mob can see in the Y-axis (up-down)",
"title": "Angle Of View Horizontal"
},
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"minimum": 0,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "minimum": 0, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_time": {
"type": "array",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time",
"items": [
{
"type": "integer"
},
{
"type": "integer"
}
]
"items": [{ "type": "integer" }, { "type": "integer" }]
},
"target_distance": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"target_distance": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -2,30 +2,15 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.look_at_target",
"type": "object",
"title": "Look at target 1.8.0",
"title": "Look At Target 1.8.0",
"description": "Allows the mob to look at the entity they are targetting.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time"
},
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_time": { "$ref": "../types/range_number_type.json", "default": [2, 4], "description": "Time range to look at the entity", "title": "Look Time" },
"angle_of_view_vertical": {
"type": "integer",
"default": 360,

View File

@@ -2,30 +2,15 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.look_at_trading_player",
"type": "object",
"title": "Look at trading player 1.8.0",
"title": "Look At Trading Player 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to look at the player they are trading with.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"look_distance": {
"type": "number",
"default": 8.0,
"description": "The distance in blocks from which the entity will look at",
"title": "Look Distance"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of looking at the target. A value of 1.00 is 100%",
"title": "Probability"
},
"look_time": {
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time"
},
"look_distance": { "type": "number", "default": 8.0, "description": "The distance in blocks from which the entity will look at", "title": "Look Distance" },
"probability": { "type": "number", "default": 0.02, "description": "The probability of looking at the target. A value of 1.00 is 100%", "title": "Probability" },
"look_time": { "$ref": "../types/range_number_type.json", "default": [2, 4], "description": "Time range to look at the entity", "title": "Look Time" },
"angle_of_view_vertical": {
"type": "integer",
"default": 360,

View File

@@ -3,10 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.make_love",
"description": "Allows the villager to look for a mate to spawn other villagers with. Can only be used by Villagers.",
"type": "object",
"title": "Make love 1.8.0",
"title": "Make Love 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -2,35 +2,22 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.melee_attack",
"type": "object",
"title": "Melee attack 1.8.0",
"title": "Melee Attack 1.8.0",
"description": "Allows the mob to use close combat melee attacks.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"cooldown_time": {
"type": "number",
"title": "Cooldown time",
"description": "UNDOCUMENTATED"
},
"cooldown_time": { "type": "number", "title": "Cooldown Time", "description": "UNDOCUMENTATED" },
"melee_fov": {
"type": "number",
"default": 90.0,
"description": "The allowable FOV the actor will use to determine if it can make a valid melee attack",
"title": "Melee Fov"
},
"track_target": {
"type": "boolean",
"default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target"
},
"attack_types": {
"type": "string",
"description": "Defines the entity types this mob will attack",
"title": "Attack Types"
},
"track_target": { "type": "boolean", "default": false, "description": "If true, this mob will chase after the target as long as it's a valid target", "title": "Track Target" },
"attack_types": { "type": "string", "description": "Defines the entity types this mob will attack", "title": "Attack Types" },
"random_stop_interval": {
"type": "integer",
"default": 0,
@@ -43,18 +30,13 @@
"description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)",
"title": "Reach Multiplier"
},
"attack_once": {
"type": "boolean",
"default": false,
"description": "If true, this mob will attack only one time.",
"title": "Attack Once"
},
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "Attack Once" },
"require_complete_path": {
"type": "boolean",
"default": false,
"description": "If true, this goal will only trigger if the mob can reach its target.",
"title": "Require Complete Path"
},
"on_attack": { "$ref": "../types/event.json", "title": "On attack", "description": "UNDOCUMENTATED" }
"on_attack": { "$ref": "../types/event.json", "title": "On Attack", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -9,39 +9,18 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown time"
},
"duration": {
"type": "number",
"default": 1,
"description": "Amount of time in seconds that the entity will chat with another entity",
"title": "Duration"
},
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" },
"duration": { "type": "number", "default": 1, "description": "Amount of time in seconds that the entity will chat with another entity", "title": "Duration" },
"mingle_distance": {
"type": "number",
"default": 2.0,
"description": "The distance from its partner that this entity will mingle. If the entity type is not the same as the entity, this value needs to be identical on both entities.",
"title": "Mingle distance"
"title": "Mingle Distance"
},
"mingle_partner_type": {
"description": "The entity type that this entity is allowed to mingle with",
"title": "Mingle partner type",
"oneOf": [
{
"type": "array",
"items": {
"description": "The entity type that this entity is allowed to mingle with",
"type": "string"
}
},
{
"type": "string"
}
]
"title": "Mingle Partner Type",
"oneOf": [{ "type": "array", "items": { "description": "The entity type that this entity is allowed to mingle with", "type": "string" } }, { "type": "string" }]
}
}
}

View File

@@ -2,24 +2,14 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.mount_pathing",
"type": "object",
"title": "Mount pathing 1.8.0",
"title": "Mount Pathing 1.8.0",
"description": "Allows the mob to move around on its own while mounted seeking a target to attack.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"target_dist": {
"type": "number",
"default": 0.0,
"description": "The distance at which this mob wants to be away from its target",
"title": "Target Dist"
},
"track_target": {
"type": "boolean",
"default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "Track Target"
}
"target_dist": { "type": "number", "default": 0.0, "description": "The distance at which this mob wants to be away from its target", "title": "Target Dist" },
"track_target": { "type": "boolean", "default": false, "description": "If true, this mob will chase after the target as long as it's a valid target", "title": "Track Target" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_indoors",
"description": "Can only be used by Villagers. Allows them to seek shelter indoors.",
"type": "object",
"title": "Move indoors 1.8.0",
"title": "Move Indoors 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -13,7 +13,7 @@
"type": "number",
"default": 8,
"description": "The cooldown time in seconds before the goal can be reused after a internal failure or timeout condition",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -2,18 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_through_village",
"type": "object",
"title": "Move through village 1.8.0",
"title": "Move Through Village 1.8.0",
"description": "Can only be used by Villagers. Allows the villagers to create paths around the village.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"only_at_night": {
"type": "boolean",
"default": false,
"description": "If true, the mob will only move through the village during night time",
"title": "Only At Night"
}
"only_at_night": { "type": "boolean", "default": false, "description": "If true, the mob will only move through the village during night time", "title": "Only At Night" }
}
}

View File

@@ -2,86 +2,22 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_block",
"type": "object",
"title": "Move to block 1.8.0",
"title": "Move To Block 1.8.0",
"additionalProperties": false,
"description": "UNDOCUMENTATED",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"tick_interval": {
"type": "number",
"title": "Tick interval",
"description": "UNDOCUMENTATED"
},
"start_chance": {
"type": "number",
"title": "Start chance",
"description": "UNDOCUMENTATED"
},
"search_range": {
"type": "number",
"title": "Search range",
"description": "UNDOCUMENTATED"
},
"search_height": {
"type": "number",
"title": "Search height",
"description": "UNDOCUMENTATED"
},
"goal_radius": {
"type": "number",
"title": "Goal radius",
"description": "UNDOCUMENTATED"
},
"stay_duration": {
"type": "number",
"title": "Stay duration",
"description": "UNDOCUMENTATED"
},
"target_selection_method": {
"type": "string",
"title": "Target selection method",
"description": "UNDOCUMENTATED"
},
"target_offset": {
"type": "array",
"title": "Target offset",
"description": "UNDOCUMENTATED",
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
},
"target_blocks": {
"type": "array",
"title": "Target blocks",
"description": "UNDOCUMENTATED",
"items": {
"type": "string"
}
},
"on_stay_completed": {
"type": "array",
"title": "On stay completed",
"description": "UNDOCUMENTATED",
"items": {
"$ref": "../types/event.json"
}
},
"on_reach": {
"type": "array",
"title": "On reach",
"description": "UNDOCUMENTATED",
"items": {
"$ref": "../types/event.json"
}
}
"tick_interval": { "type": "number", "title": "Tick Interval", "description": "UNDOCUMENTATED" },
"start_chance": { "type": "number", "title": "Start Chance", "description": "UNDOCUMENTATED" },
"search_range": { "type": "number", "title": "Search Range", "description": "UNDOCUMENTATED" },
"search_height": { "type": "number", "title": "Search Height", "description": "UNDOCUMENTATED" },
"goal_radius": { "type": "number", "title": "Goal Radius", "description": "UNDOCUMENTATED" },
"stay_duration": { "type": "number", "title": "Stay Duration", "description": "UNDOCUMENTATED" },
"target_selection_method": { "type": "string", "title": "Target Selection Method", "description": "UNDOCUMENTATED" },
"target_offset": { "type": "array", "title": "Target Offset", "description": "UNDOCUMENTATED", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
"target_blocks": { "type": "array", "title": "Target Blocks", "description": "UNDOCUMENTATED", "items": { "type": "string" } },
"on_stay_completed": { "type": "array", "title": "On Stay Completed", "description": "UNDOCUMENTATED", "items": { "$ref": "../types/event.json" } },
"on_reach": { "type": "array", "title": "On Reach", "description": "UNDOCUMENTATED", "items": { "$ref": "../types/event.json" } }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_land",
"description": "Allows the mob to move back onto land when in water.",
"type": "object",
"title": "Move to land 1.8.0",
"title": "Move To Land 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -13,25 +13,15 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"search_count": {
"type": "integer",
"default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "TODO title"
"title": "TODO Title"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for land to move towards",
"title": "TODO title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for land to move towards",
"title": "TODO title"
}
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for land to move towards", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for land to move towards", "title": "TODO Title" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_lava",
"type": "object",
"title": "Move to lava 1.8.0",
"title": "Move To Lava 1.8.0",
"description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false,
"properties": {
@@ -12,25 +12,15 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal radius"
"title": "Goal Radius"
},
"search_count": {
"type": "integer",
"default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search count"
"title": "Search Count"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for lava to move towards",
"title": "Search height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for lava to move towards",
"title": "Search range"
}
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for lava to move towards", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for lava to move towards", "title": "Search Range" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_liquid",
"type": "object",
"title": "Move to liquid 1.8.0",
"title": "Move To Liquid 1.8.0",
"description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false,
"properties": {
@@ -12,30 +12,16 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal radius"
"title": "Goal Radius"
},
"search_count": {
"type": "integer",
"default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search count"
"title": "Search Count"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for lava to move towards",
"title": "Search height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for lava to move towards",
"title": "Search range"
},
"material_type": {
"title": "Material type",
"description": "UNDOCUMENTAED, examples are : Lava",
"type": "string"
}
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for lava to move towards", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for lava to move towards", "title": "Search Range" },
"material_type": { "title": "Material Type", "description": "UNDOCUMENTAED, examples are : Lava", "type": "string" }
}
}

View File

@@ -2,17 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_poi",
"type": "object",
"title": "Move to poi 1.8.0",
"title": "Move To Poi 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to move to a POI if able to",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"poi_type": {
"type": "string",
"description": "Tells the goal what POI type it should be looking for",
"title": "TODO title"
}
"poi_type": { "type": "string", "description": "Tells the goal what POI type it should be looking for", "title": "TODO Title" }
}
}

View File

@@ -2,26 +2,24 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_random_block",
"type": "object",
"title": "Move to random block 1.8.0",
"title": "Move To Random Block 1.8.0",
"description": "Allows mob to move towards a random block.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": {
"$ref": "types/base_speed_multiplier.json"
},
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"block_distance": {
"type": "number",
"default": 16,
"description": "Defines the distance from the mob, in blocks, that the block to move to will be chosen.",
"title": "TODO title"
"title": "TODO Title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Defines the distance in blocks the mob has to be from the block for the movement to be finished.",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -2,30 +2,25 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_village",
"type": "object",
"title": "Move to village 1.8.0",
"title": "Move To Village 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to move into a random location within a village.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO title"
},
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"goal_radius": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks to search for villages. If <= 0, find the closest village regardless of distance.",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -2,25 +2,15 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_to_water",
"type": "object",
"title": "Move to water 1.8.0",
"title": "Move To Water 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to move back into water when on land.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for water to move towards",
"title": "Search Range"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for water to move towards",
"title": "Search Height"
},
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks it will look for water to move towards", "title": "Search Range" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks the mob will look for water to move towards", "title": "Search Height" },
"search_count": {
"type": "integer",
"default": 10,

View File

@@ -2,12 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_towards_dwelling_restriction",
"type": "object",
"title": "Move towards dwelling restriction 1.8.0",
"title": "Move Towards Dwelling Restriction 1.8.0",
"additionalProperties": false,
"description": "UNDOCUMENTATED, comes from cat",
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "types/base_speed_multiplier.json" } }
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.move_towards_restriction",
"type": "object",
"title": "Move towards restriction 1.8.0",
"title": "Move Towards Restriction 1.8.0",
"additionalProperties": false,
"description": "Allows Guardians, Iron Golems and Villagers to move within their pre-defined area that the mob should be restricted to. Other mobs don't have a restriction defined.",
"required": [],
@@ -11,12 +11,7 @@
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"control_flags": {
"type": "array",
"items": {
"type": "string",
"enum": ["move", "look"],
"description": "TODO description: control flags",
"title": "Control Flags"
},
"items": { "type": "string", "enum": ["move", "look"], "description": "TODO description: control flags", "title": "Control Flags" },
"description": "TODO description: control flags",
"title": "Control Flags"
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.guardian_attack",
"type": "object",
"title": "Guardian attack 1.8.0",
"title": "Guardian Attack 1.8.0",
"additionalProperties": false,
"description": "Allows mob to move towards its current target.",
"required": [],

View File

@@ -8,29 +8,19 @@
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_max": {
"type": "number",
"default": 0,
"description": "Maximum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown max"
},
"cooldown_min": {
"type": "number",
"default": 0,
"description": "Minimum time in seconds the mob has to wait before using the goal again",
"title": "Cooldown min"
},
"cooldown_max": { "type": "number", "default": 0, "description": "Maximum time in seconds the mob has to wait before using the goal again", "title": "Cooldown Max" },
"cooldown_min": { "type": "number", "default": 0, "description": "Minimum time in seconds the mob has to wait before using the goal again", "title": "Cooldown Min" },
"mob_detect_dist": {
"type": "number",
"default": 6,
"description": "The block distance in x and z that will be checked for mobs that this mob detects",
"title": "Mob detect dist"
"title": "Mob Detect Dist"
},
"mob_detect_height": {
"type": "number",
"default": 6,
"description": "The block distance in y that will be checked for mobs that this mob detects",
"title": "Mob detect height"
"title": "Mob Detect Height"
}
}
}

View File

@@ -2,70 +2,41 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.nearest_attackable_target",
"type": "object",
"title": "Nearest attackable target 1.8.0",
"title": "Nearest Attackable Target 1.8.0",
"description": "Allows the mob to check for and pursue the nearest valid target.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": {
"description": "List of entity types that this mob considers valid targets",
"$ref": "../types/entity_types.json",
"title": "TODO title"
},
"attack_interval": {
"type": "integer",
"default": 0,
"description": "Time in seconds between attacks",
"title": "TODO title"
},
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, only entities that this mob can path to can be selected as targets",
"title": "TODO title"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "TODO title"
},
"entity_types": { "description": "List of entity types that this mob considers valid targets", "$ref": "../types/entity_types.json", "title": "TODO Title" },
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds between attacks", "title": "TODO Title" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, only entities that this mob can path to can be selected as targets", "title": "TODO Title" },
"must_see": { "type": "boolean", "default": false, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "TODO Title" },
"must_see_forget_duration": {
"type": "number",
"default": 3,
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",
"title": "TODO title"
"title": "TODO Title"
},
"persist_time": {
"type": "number",
"default": 0.0,
"description": "Time in seconds for a valid target to stay targeted when it becomes and invalid target.",
"title": "TODO title"
"title": "TODO Title"
},
"reselect_targets": {
"type": "boolean",
"default": false,
"description": "If true, the target will change to the current closest entity whenever a different entity is closer",
"title": "TODO title"
},
"scan_interval": {
"type": "integer",
"default": 10,
"description": "How many ticks to wait between scanning for a target.",
"title": "TODO title"
"title": "TODO Title"
},
"scan_interval": { "type": "integer", "default": 10, "description": "How many ticks to wait between scanning for a target.", "title": "TODO Title" },
"target_search_height": {
"type": "number",
"default": -1.0,
"description": "Height in blocks to search for a target mob. -1.0f means the height does not matter.",
"title": "TODO title"
"title": "TODO Title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "TODO title"
}
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "TODO Title" }
}
}

View File

@@ -2,76 +2,42 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.nearest_prioritized_attackable_target",
"type": "object",
"title": "Nearest prioritized attackable target 1.8.0",
"title": "Nearest Prioritized Attackable Target 1.8.0",
"description": "Allows the mob to check for and pursue the nearest valid target.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": {
"description": "List of entity types that this mob considers valid targets",
"title": "Entity types",
"$ref": "../types/entity_types.json"
},
"attack_interval": {
"type": "integer",
"default": 0,
"description": "Time in seconds before selecting a target",
"title": "Attack interval"
},
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, only entities that this mob can path to can be selected as targets",
"title": "Must reach"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "If true, only entities in this mob's viewing range can be selected as targets",
"title": "Must see"
},
"entity_types": { "description": "List of entity types that this mob considers valid targets", "title": "Entity Types", "$ref": "../types/entity_types.json" },
"attack_interval": { "type": "integer", "default": 0, "description": "Time in seconds before selecting a target", "title": "Attack Interval" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, only entities that this mob can path to can be selected as targets", "title": "Must Reach" },
"must_see": { "type": "boolean", "default": false, "description": "If true, only entities in this mob's viewing range can be selected as targets", "title": "Must See" },
"must_see_forget_duration": {
"type": "number",
"default": 3,
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",
"title": "Must see forget duration"
"title": "Must See Forget Duration"
},
"persist_time": {
"type": "number",
"default": 0.0,
"description": "Time in seconds for a valid target to stay targeted when it becomes and invalid target.",
"title": "Persist time"
"title": "Persist Time"
},
"reselect_targets": {
"type": "boolean",
"default": false,
"description": "If true, the target will change to the current closest entity whenever a different entity is closer",
"title": "Reselect targets"
},
"scan_interval": {
"type": "integer",
"default": 10,
"description": "How many ticks to wait between scanning for a target.",
"title": "Scan interval"
},
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set persistent"
"title": "Reselect Targets"
},
"scan_interval": { "type": "integer", "default": 10, "description": "How many ticks to wait between scanning for a target.", "title": "Scan Interval" },
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"target_search_height": {
"type": "number",
"default": -1.0,
"description": "Height in blocks to search for a target mob. -1.0f means the height does not matter.",
"title": "Target search height"
"title": "Target Search Height"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the target can be within to launch an attack",
"title": "Within radius"
}
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks that the target can be within to launch an attack", "title": "Within Radius" }
}
}

View File

@@ -4,12 +4,7 @@
"additionalProperties": false,
"description": "TODO description",
"type": "object",
"title": "Ocelot sit on block 1.8.0",
"title": "Ocelot Sit On Block 1.8.0",
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" }
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" } }
}

View File

@@ -8,12 +8,7 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"walk_speed_multiplier": {
"type": "number",
"default": 1.0,
"description": "Multiplier for the walking speed while using this attack",
"title": "Walk Speed Multiplier"
},
"walk_speed_multiplier": { "type": "number", "default": 1.0, "description": "Multiplier for the walking speed while using this attack", "title": "Walk Speed Multiplier" },
"sprint_speed_multiplier": {
"type": "number",
"default": 1.0,
@@ -26,40 +21,12 @@
"description": "Multiplier for the sneaking speed. 1.0 means the ocelot will move at the speed it normally sneaks",
"title": "Sneak Speed Multiplier"
},
"cooldown_time": {
"type": "number",
"title": "Cooldown time",
"description": "UNDOCUMENTATED"
},
"x_max_rotation": {
"type": "number",
"title": "X max rotation",
"description": "UNDOCUMENTATED"
},
"y_max_head_rotation": {
"type": "number",
"title": "Y max head rotation",
"description": "UNDOCUMENTATED"
},
"max_distance": {
"type": "number",
"title": "Max distance",
"description": "UNDOCUMENTATED"
},
"max_sneak_range": {
"type": "number",
"title": "Max sneak range",
"description": "UNDOCUMENTATED"
},
"max_sprint_range": {
"type": "number",
"title": "Max sprint range",
"description": "UNDOCUMENTATED"
},
"reach_multiplier": {
"type": "number",
"title": "Reach multiplier",
"description": "UNDOCUMENTATED"
}
"cooldown_time": { "type": "number", "title": "Cooldown Time", "description": "UNDOCUMENTATED" },
"x_max_rotation": { "type": "number", "title": "X Max Rotation", "description": "UNDOCUMENTATED" },
"y_max_head_rotation": { "type": "number", "title": "Y Max Head Rotation", "description": "UNDOCUMENTATED" },
"max_distance": { "type": "number", "title": "Max Distance", "description": "UNDOCUMENTATED" },
"max_sneak_range": { "type": "number", "title": "Max Sneak Range", "description": "UNDOCUMENTATED" },
"max_sprint_range": { "type": "number", "title": "Max Sprint Range", "description": "UNDOCUMENTATED" },
"reach_multiplier": { "type": "number", "title": "Reach Multiplier", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -2,11 +2,9 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.offer_flower",
"type": "object",
"title": "Offer flower 1.8.0",
"title": "Offer Flower 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to offer the player a flower like the Iron Golem does.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.guardian_attack",
"type": "object",
"title": "Guardian attack 1.8.0",
"title": "Guardian Attack 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to open doors. Requires the mob to be able to path through doors, otherwise the mob won't even want to try opening them.",
"required": [],

View File

@@ -2,16 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.owner_hurt_by_target",
"type": "object",
"title": "Owner hurt by target 1.8.0",
"title": "Owner Hurt By Target 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to target another mob that hurts their owner.",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types that this mob can target if they hurt their owner",
"title": "TODO title"
}
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entity types that this mob can target if they hurt their owner", "title": "TODO Title" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.owner_hurt_target",
"type": "object",
"title": "Owner hurt target 1.8.0",
"title": "Owner Hurt Target 1.8.0",
"additionalProperties": false,
"description": "Allows the mob to target a mob that is hurt by their owner.",
"required": [],
@@ -11,7 +11,7 @@
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types that this entity can target if the potential target is hurt by this mob's owner",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.panic",
"description": "Allows the mob to enter the panic state, which makes it run around and away from the damage source that made it enter this state.",
"type": "object",
"title": "panic 1.8.0",
"title": "Panic 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -11,50 +11,31 @@
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"damage_sources": {
"type": "array",
"items": {
"$ref": "../../../../general/entity_damage.json"
},
"items": { "$ref": "../../../../general/entity_damage.json" },
"description": "The list of Entity Damage Sources that will cause this mob to panic",
"title": "TODO title"
"title": "TODO Title"
},
"force": {
"type": "boolean",
"default": false,
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it",
"title": "TODO title"
"title": "TODO Title"
},
"ignore_mob_damage": {
"type": "boolean",
"default": false,
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in \"damage_sources\"",
"title": "TODO title"
},
"prefer_water": {
"type": "boolean",
"default": false,
"description": "If true, the mob will prefer water over land",
"title": "TODO title"
},
"panic_sound": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
"title": "TODO Title"
},
"prefer_water": { "type": "boolean", "default": false, "description": "If true, the mob will prefer water over land", "title": "TODO Title" },
"panic_sound": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"range_min": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"range_max": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"range_min": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"range_max": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
},
"additionalProperties": false
}

View File

@@ -3,10 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.peek",
"description": "Allows the mob to peek out. This is what the shulker uses to look out of its shell.",
"type": "object",
"title": "peek 1.8.0",
"title": "Peek 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.pet_sleep_with_owner",
"description": "Allows the pet mob to move onto a bed with it's owner while sleeping.",
"type": "object",
"title": "pet sleep with owner 1.8.0",
"title": "Pet Sleep With Owner 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -13,19 +13,9 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks from the owner the pet can be to sleep with owner.",
"title": "TODO title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the owner the pet can be to sleep with owner.",
"title": "TODO title"
}
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the owner the pet can be to sleep with owner.", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the owner the pet can be to sleep with owner.", "title": "TODO Title" }
}
}

View File

@@ -4,7 +4,7 @@
"description": "Allows the mob to pick up items on the ground.",
"additionalProperties": false,
"type": "object",
"title": "pickup items 1.8.0",
"title": "Pickup Items 1.8.0",
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
@@ -13,19 +13,9 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"max_dist": {
"type": "number",
"default": 0,
"description": "Maximum distance this mob will look for items to pick up",
"title": "TODO title"
},
"track_target": {
"type": "boolean",
"default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "TODO title"
}
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance this mob will look for items to pick up", "title": "TODO Title" },
"track_target": { "type": "boolean", "default": false, "description": "If true, this mob will chase after the target as long as it's a valid target", "title": "TODO Title" }
}
}

View File

@@ -3,15 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.play",
"description": "Allows the mob to play with other baby villagers. This can only be used by Villagers.",
"type": "object",
"title": "play 1.8.0",
"title": "Play 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"speed_multiplier": {
"$ref": "types/base_speed_multiplier.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" }, "speed_multiplier": { "$ref": "types/base_speed_multiplier.json" } }
}

View File

@@ -3,10 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.player_ride_tamed",
"description": "Allows the mob to be ridden by the player after being tamed.",
"type": "object",
"title": "player ride tamed 1.8.0",
"title": "Player Ride Tamed 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" }
}
"properties": { "priority": { "$ref": "./types/base_priority.json" } }
}

View File

@@ -4,7 +4,7 @@
"description": "Allows the mob to eat/raid crops out of farms until they are full.",
"additionalProperties": false,
"type": "object",
"title": "Raid garden 1.8.0",
"title": "Raid Garden 1.8.0",
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
@@ -12,55 +12,20 @@
"blocks": {
"type": "array",
"description": "Blocks that the mob is looking for to eat",
"items": {
"type": "string",
"title": "Block id",
"description": "A block identifier",
"pattern": "[0-9:a-z_]+"
},
"title": "TODO title"
},
"eat_delay": {
"type": "integer",
"default": 2,
"description": "Time in seconds between each time it eats",
"title": "TODO title"
},
"full_delay": {
"type": "integer",
"default": 100,
"description": "Amount of time in seconds before this mob wants to eat again",
"title": "TODO title"
},
"initial_eat_delay": {
"type": "integer",
"default": 0,
"description": "Time in seconds before starting to eat/raid once it arrives at it",
"title": "Initial eat delay"
"items": { "type": "string", "title": "Block Id", "description": "A block identifier", "pattern": "[0-9:a-z_]+" },
"title": "TODO Title"
},
"eat_delay": { "type": "integer", "default": 2, "description": "Time in seconds between each time it eats", "title": "TODO Title" },
"full_delay": { "type": "integer", "default": 100, "description": "Amount of time in seconds before this mob wants to eat again", "title": "TODO Title" },
"initial_eat_delay": { "type": "integer", "default": 0, "description": "Time in seconds before starting to eat/raid once it arrives at it", "title": "Initial Eat Delay" },
"goal_radius": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO title"
"title": "TODO Title"
},
"max_to_eat": {
"type": "integer",
"default": 6,
"description": "Maximum number of things this entity wants to eat",
"title": "TODO title"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "Distance in blocks the mob will look for crops to eat",
"title": "TODO title"
},
"search_height": {
"type": "integer",
"default": 0,
"description": "UNDOCUMENTATED",
"title": "TODO title"
}
"max_to_eat": { "type": "integer", "default": 6, "description": "Maximum number of things this entity wants to eat", "title": "TODO Title" },
"search_range": { "type": "integer", "default": 0, "description": "Distance in blocks the mob will look for crops to eat", "title": "TODO Title" },
"search_height": { "type": "integer", "default": 0, "description": "UNDOCUMENTATED", "title": "TODO Title" }
}
}

View File

@@ -3,35 +3,30 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.player_ride_tamed",
"description": "Allows the mob to randomly break surface of the water.",
"type": "object",
"title": "player ride tamed 1.8.0",
"title": "Player Ride Tamed 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO title"
},
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "TODO Title" },
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "TODO title"
"title": "TODO Title"
},
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -3,30 +3,23 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.random_fly",
"description": "Allows a mob to randomly fly around",
"type": "object",
"title": "Random fly 1.8.0",
"title": "Random Fly 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"can_land_on_trees": {
"type": "boolean",
"default": true,
"description": "If true, the mob can stop flying and land on a tree instead of the ground",
"title": "TODO title"
},
"priority": { "$ref": "types/base_priority.json" },
"can_land_on_trees": { "type": "boolean", "default": true, "description": "If true, the mob can stop flying and land on a tree instead of the ground", "title": "TODO Title" },
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -3,25 +3,13 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.random_hover",
"description": "Allows the mob to hover around randomly, close to the surface",
"type": "object",
"title": "Random hover 1.8.0",
"title": "Random Hover 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"hover_height": {
"type": "array",
"description": "UNDOCUMENTATED",
"title": "Hover height",
"items": [
{
"type": "number"
},
{
"type": "number"
}
]
},
"hover_height": { "type": "array", "description": "UNDOCUMENTATED", "title": "Hover Height", "items": [{ "type": "number" }, { "type": "number" }] },
"interval": {
"type": "integer",
"default": 120,
@@ -32,19 +20,14 @@
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "Xz dist"
"title": "Xz Dist"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "Y dist"
"title": "Y Dist"
},
"y_offset": {
"type": "number",
"default": 0,
"description": "Height in blocks to add to the selected target position",
"title": "Y offset"
}
"y_offset": { "type": "number", "default": 0, "description": "Height in blocks to add to the selected target position", "title": "Y Offset" }
}
}

View File

@@ -4,7 +4,7 @@
"additionalProperties": false,
"description": "Allows the mob to randomly look around.",
"type": "object",
"title": "Random look around 1.8.0",
"title": "Random Look Around 1.8.0",
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
@@ -12,12 +12,8 @@
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "The range of time in seconds the mob will stay looking in a random direction before looking elsewhere",
"title": "TODO title"
"title": "TODO Title"
},
"look_distance": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"look_distance": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -3,42 +3,25 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.random_look_around_and_sit",
"description": "Allows the mob to randomly sit and look around for a duration. Note: Must have a sitting animation set up to use this.",
"type": "object",
"title": "Random look around and sit 1.8.0",
"title": "Random Look Around And Sit 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"max_look_count": {
"type": "integer",
"default": 2,
"description": "The max amount of unique looks a mob will have while looking around.",
"title": "Max look count"
},
"priority": { "$ref": "types/base_priority.json" },
"max_look_count": { "type": "integer", "default": 2, "description": "The max amount of unique looks a mob will have while looking around.", "title": "Max Look Count" },
"max_look_time": {
"type": "integer",
"default": 40,
"description": "The max amount of time (in ticks) a mob will stay looking at a direction while looking around.",
"title": "Max look time"
},
"min_look_count": {
"type": "integer",
"default": 1,
"description": "The min amount of unique looks a mob will have while looking around.",
"title": "Min look count"
"title": "Max Look Time"
},
"min_look_count": { "type": "integer", "default": 1, "description": "The min amount of unique looks a mob will have while looking around.", "title": "Min Look Count" },
"min_look_time": {
"type": "integer",
"default": 20,
"description": "The min amount of time (in ticks) a mob will stay looking at a direction while looking around.",
"title": "Min look time"
"title": "Min Look Time"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of randomly looking around/sitting.",
"title": "Probability"
}
"probability": { "type": "number", "default": 0.02, "description": "The probability of randomly looking around/sitting.", "title": "Probability" }
}
}

View File

@@ -2,42 +2,17 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.random_sitting",
"type": "object",
"title": "Random sitting 1.8.0",
"title": "Random Sitting 1.8.0",
"description": "Allows the mob to randomly sit for a duration.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown"
},
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown time"
},
"min_sit_time": {
"type": "number",
"default": 10,
"description": "The minimum amount of time in seconds before the mob can stand back up",
"title": "Min sit time"
},
"start_chance": {
"type": "number",
"default": 0.1,
"description": "This is the chance that the mob will start this goal, from 0 to 1",
"title": "Start chance"
},
"stop_chance": {
"type": "number",
"default": 0.3,
"description": "This is the chance that the mob will stop this goal, from 0 to 1",
"title": "Stop chance"
}
"cooldown": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" },
"min_sit_time": { "type": "number", "default": 10, "description": "The minimum amount of time in seconds before the mob can stand back up", "title": "Min Sit Time" },
"start_chance": { "type": "number", "default": 0.1, "description": "This is the chance that the mob will start this goal, from 0 to 1", "title": "Start Chance" },
"stop_chance": { "type": "number", "default": 0.3, "description": "This is the chance that the mob will stop this goal, from 0 to 1", "title": "Stop Chance" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.random_stroll",
"description": "Allows a mob to randomly stroll around.",
"type": "object",
"title": "Random stroll 1.8.0",
"title": "Random Stroll 1.8.0",
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
@@ -12,19 +12,19 @@
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "TODO title"
"title": "TODO Title"
},
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
}
},
"additionalProperties": false

View File

@@ -2,35 +2,30 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.random_swim",
"type": "object",
"title": "Random swim 1.8.0",
"title": "Random Swim 1.8.0",
"description": "Allows an entity to randomly move through water",
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"avoid_surface": {
"type": "boolean",
"default": true,
"description": "If true, the mob will avoid surface water blocks by swimming below them",
"title": "TODO title"
},
"avoid_surface": { "type": "boolean", "default": true, "description": "If true, the mob will avoid surface water blocks by swimming below them", "title": "TODO Title" },
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "TODO title"
"title": "TODO Title"
},
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO title"
"title": "TODO Title"
}
},
"additionalProperties": false

View File

@@ -3,75 +3,57 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.ranged_attack",
"description": "Allows the mob to use ranged attacks like shooting arrows.",
"type": "object",
"title": "Ranged attack 1.8.0",
"title": "Ranged Attack 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"attack_interval": {
"type": "number",
"default": 0,
"description": "UNDOCUMENTATED",
"title": "TODO title"
},
"attack_interval": { "type": "number", "default": 0, "description": "UNDOCUMENTATED", "title": "TODO Title" },
"attack_interval_max": {
"type": "number",
"default": 0,
"description": "Maximum amount of time in seconds the entity will wait after an attack before launching another",
"title": "TODO title"
"title": "TODO Title"
},
"attack_interval_min": {
"type": "number",
"default": 0,
"description": "Minimum amount of time in seconds the entity will wait after an attack before launching another",
"title": "TODO title"
"title": "TODO Title"
},
"attack_radius": {
"type": "number",
"default": 0,
"description": "Maximum distance the target can be for this mob to fire. If the target is further away, this mob will move first before firing",
"title": "TODO title"
"title": "TODO Title"
},
"burst_interval": {
"type": "number",
"default": 0,
"description": "Amount of time in seconds between each individual shot when firing multiple shots per attack",
"title": "TODO title"
},
"burst_shots": {
"type": "integer",
"default": 1,
"description": "Number of shots fired every time the mob uses a charged attack",
"title": "TODO title"
"title": "TODO Title"
},
"burst_shots": { "type": "integer", "default": 1, "description": "Number of shots fired every time the mob uses a charged attack", "title": "TODO Title" },
"charge_charged_trigger": {
"type": "number",
"default": 0,
"description": "The minimum amount of time in ticks the mob has to charge before firing a charged attack",
"title": "TODO title"
"title": "TODO Title"
},
"charge_shoot_trigger": {
"type": "number",
"default": 0,
"description": "The minimum amount of time in ticks for the mob to start charging a charged shot. Must be greater than 0 to enable burst shots",
"title": "TODO title"
"title": "TODO Title"
},
"ranged_fov": {
"type": "number",
"default": 90,
"description": "The allowable FOV the actor will use to determine if it can make a valid ranged attack",
"title": "TODO title"
"title": "TODO Title"
},
"target_in_sight_time": {
"type": "number",
"title": "Target in sight time",
"description": "UNDOCUMENTATED"
},
"attack_radius_min": {
"type": "number",
"title": "Attack radius min",
"description": "UNDOCUMENTATED"
}
"target_in_sight_time": { "type": "number", "title": "Target In Sight Time", "description": "UNDOCUMENTATED" },
"attack_radius_min": { "type": "number", "title": "Attack Radius Min", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -3,12 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.receive_love",
"description": "Allows the villager to stop so another villager can breed with it. Can only be used by a Villager.",
"type": "object",
"title": "Receive love 1.8.0",
"title": "Receive Love 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" } }
}

View File

@@ -3,12 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.restrict_open_door",
"description": "Allows the mob to stay indoors during night time.",
"type": "object",
"title": "Restrict open door 1.8.0",
"title": "Restrict Open Door 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" } }
}

View File

@@ -3,12 +3,8 @@
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.restrict_sun",
"description": "Allows the mob to automatically start avoiding the sun when its a clear day out.",
"type": "object",
"title": "Restrict sun 1.8.0",
"title": "Restrict Sun 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" } }
}

Some files were not shown because too many files have changed in this diff Show More