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,54 +2,28 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.admire_item",
"type": "object",
"title": "Admire item 1.16.0",
"title": "Admire Item 1.16.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": {
"priority": {
"$ref": "types/base_priority.json"
},
"admire_item_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when admiring the item",
"title": "Admire item sound"
},
"on_admire_item_start": { "$ref": "../types/event.json", "title": "On admire item start", "description": "UNDOCUMENTATED" },
"on_admire_item_stop": { "$ref": "../types/event.json", "title": "On admire item stop", "description": "UNDOCUMENTATED" },
"priority": { "$ref": "types/base_priority.json" },
"admire_item_sound": { "type": "string", "default": "", "description": "The sound event to play when admiring the item", "title": "Admire Item Sound" },
"on_admire_item_start": { "$ref": "../types/event.json", "title": "On Admire Item Start", "description": "UNDOCUMENTATED" },
"on_admire_item_stop": { "$ref": "../types/event.json", "title": "On Admire Item Stop", "description": "UNDOCUMENTATED" },
"sound_interval": {
"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",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
}
}

View File

@@ -2,99 +2,39 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.avoid_block",
"type": "object",
"title": "Avoid block 1.16.0",
"title": "Avoid Block 1.16.0",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"tick_interval": {
"type": "integer",
"title": "Tick interval",
"description": "UNDOCUMENTATED"
},
"search_range": {
"type": "integer",
"title": "Search range",
"description": "UNDOCUMENTATED"
},
"search_height": {
"type": "integer",
"title": "Search height",
"description": "UNDOCUMENTATED"
},
"sprint_speed_modifier": {
"type": "number",
"title": "Sprint speed modifier",
"description": "UNDOCUMENTATED"
},
"target_selection_method": {
"type": "string",
"title": "Target selection method",
"description": "UNDOCUMENTATED"
},
"priority": { "$ref": "types/base_priority.json" },
"tick_interval": { "type": "integer", "title": "Tick Interval", "description": "UNDOCUMENTATED" },
"search_range": { "type": "integer", "title": "Search Range", "description": "UNDOCUMENTATED" },
"search_height": { "type": "integer", "title": "Search Height", "description": "UNDOCUMENTATED" },
"sprint_speed_modifier": { "type": "number", "title": "Sprint Speed Modifier", "description": "UNDOCUMENTATED" },
"target_selection_method": { "type": "string", "title": "Target Selection Method", "description": "UNDOCUMENTATED" },
"target_blocks": {
"type": "array",
"title": "Target blocks",
"title": "Target Blocks",
"description": "UNDOCUMENTATED",
"items": {
"type": "string",
"title": "Block ID",
"description": "UNDOCUMENTATED"
}
},
"avoid_block_sound": {
"type": "string",
"title": "Avoid block sound",
"description": "UNDOCUMENTATED"
},
"walk_speed_modifier": {
"type": "number",
"title": "Walk speed modifier",
"description": "UNDOCUMENTATED"
},
"on_escape": {
"type": "array",
"title": "Walk speed modifier",
"description": "UNDOCUMENTATED",
"items": {
"$ref": "../types/event.json"
}
"items": { "type": "string", "title": "Block ID", "description": "UNDOCUMENTATED" }
},
"avoid_block_sound": { "type": "string", "title": "Avoid Block Sound", "description": "UNDOCUMENTATED" },
"walk_speed_modifier": { "type": "number", "title": "Walk Speed Modifier", "description": "UNDOCUMENTATED" },
"on_escape": { "type": "array", "title": "Walk Speed Modifier", "description": "UNDOCUMENTATED", "items": { "$ref": "../types/event.json" } },
"sound_interval": {
"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",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
}
}

View File

@@ -5,9 +5,5 @@
"title": "Barter 1.16.0",
"description": "Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" } }
}

View File

@@ -6,94 +6,40 @@
"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": {
"default": 0,
"description": "The range of time in seconds to randomly wait before jumping again.",
"title": "Jump interval",
"title": "Jump Interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "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": {
"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",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
{ "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }
]
}
}

View File

@@ -2,54 +2,23 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.defend_trusted_target",
"type": "object",
"title": "Defend trusted target 1.16.0",
"title": "Defend Trusted Target 1.16.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
},
"sound_chance": {
"title": "Sound chance",
"description": "UNDOCUMENTATED",
"type": "number"
}
"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 },
"sound_chance": { "title": "Sound Chance", "description": "UNDOCUMENTATED", "type": "number" }
}
}

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,97 +3,38 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.drop_item_for",
"additionalProperties": false,
"description": "Allows the mob to move near a target and drop an item.",
"title": "Drop item for 1.16.0",
"title": "Drop Item For 1.16.0",
"type": "object",
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"cooldown": {
"title": "Cooldown",
"description": "UNDOCUMENTATED",
"type": "number"
},
"drop_item_chance": {
"type": "number",
"default": [1.0],
"description": "The probability that the mob will drop an item.",
"title": "Drop item chance"
},
"entity_types": {
"description": "List of entity types this mob will drop items for.",
"title": "Entity types",
"$ref": "../types/entity_types.json"
},
"cooldown": { "title": "Cooldown", "description": "UNDOCUMENTATED", "type": "number" },
"drop_item_chance": { "type": "number", "default": [1.0], "description": "The probability that the mob will drop an item.", "title": "Drop Item Chance" },
"entity_types": { "description": "List of entity types this mob will drop items for.", "title": "Entity Types", "$ref": "../types/entity_types.json" },
"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": "Goal radius"
},
"loot_table": {
"type": "string",
"pattern": "^loot_tables.*\\.json$",
"description": "Loot table to select items from.",
"title": "Loot table"
},
"max_dist": {
"type": "number",
"default": 0,
"description": "Maximum distance in blocks this mob will look for entities to drop an item for.",
"title": "Max dist"
},
"minimum_teleport_distance": {
"title": "Minimum teleport distance",
"description": "UNDOCUMENTATED",
"type": "number"
},
"max_head_look_at_height": {
"title": "Max head look at height",
"description": "UNDOCUMENTATED",
"type": "number"
"title": "Goal Radius"
},
"loot_table": { "type": "string", "pattern": "^loot_tables.*\\.json$", "description": "Loot table to select items from.", "title": "Loot Table" },
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance in blocks this mob will look for entities to drop an item for.", "title": "Max Dist" },
"minimum_teleport_distance": { "title": "Minimum Teleport Distance", "description": "UNDOCUMENTATED", "type": "number" },
"max_head_look_at_height": { "title": "Max Head Look At Height", "description": "UNDOCUMENTATED", "type": "number" },
"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": "Offering distance"
},
"on_drop_attempt": {
"$ref": "../types/event.json",
"description": "Event to run when this mob attempts to drop an item.",
"title": "On drop attempt"
},
"seconds_before_pickup": {
"title": "Seconds before pickup",
"description": "UNDOCUMENTATED",
"type": "number"
},
"search_count": {
"type": "integer",
"default": 1,
"description": "UNDOCUMENTATED",
"title": "Search height"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks from the target the mob can be.",
"title": "Search height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the target the mob can be.",
"title": "Search range"
},
"target_range": {
"title": "Target range",
"description": "UNDOCUMENTATED",
"type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
"title": "Offering Distance"
},
"on_drop_attempt": { "$ref": "../types/event.json", "description": "Event to run when this mob attempts to drop an item.", "title": "On Drop Attempt" },
"seconds_before_pickup": { "title": "Seconds Before Pickup", "description": "UNDOCUMENTATED", "type": "number" },
"search_count": { "type": "integer", "default": 1, "description": "UNDOCUMENTATED", "title": "Search Height" },
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the target the mob can be.", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the target the mob can be.", "title": "Search Range" },
"target_range": { "title": "Target Range", "description": "UNDOCUMENTATED", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
"teleport_offset": {
"title": "Teleport offset",
"title": "Teleport Offset",
"description": "UNDOCUMENTATED",
"type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
@@ -101,19 +42,11 @@
"time_of_day_range": {
"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": "Time of day range",
"title": "Time Of Day Range",
"type": "array",
"items": [
{
"type": "number",
"minimum": 0,
"maximum": 1
},
{
"type": "number",
"minimum": 0,
"maximum": 1
}
{ "type": "number", "minimum": 0, "maximum": 1 },
{ "type": "number", "minimum": 0, "maximum": 1 }
]
}
}

View File

@@ -2,17 +2,11 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.eat_carried_item",
"type": "object",
"title": "Eat carried item 1.16.0",
"title": "Eat Carried Item 1.16.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,12 +2,8 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.equip_item",
"type": "object",
"title": "Equip item 1.16.0",
"title": "Equip Item 1.16.0",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
"properties": { "priority": { "$ref": "types/base_priority.json" } }
}

View File

@@ -2,17 +2,12 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.find_cover",
"type": "object",
"title": "Find cover 1.16.0",
"title": "Find Cover 1.16.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

@@ -3,47 +3,20 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.find_mount",
"additionalProperties": false,
"description": "Allows the mob to look around for another mob to ride atop it.",
"title": "Find mount 1.16.0",
"title": "Find Mount 1.16.0",
"type": "object",
"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"
},
"max_failed_attempts": {
"type": "integer",
"$comment": "NOT DOCUMENTATED BY MINECRAFT",
"description": "TODO description",
"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" },
"max_failed_attempts": { "type": "integer", "$comment": "NOT DOCUMENTATED BY MINECRAFT", "description": "TODO description", "title": "TODO Title" }
}
}

View File

@@ -3,30 +3,23 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.go_home",
"additionalProperties": false,
"description": "Allows the mob to move back to the position they were spawned.",
"title": "Go home",
"title": "Go Home",
"type": "object",
"definitions": {
"on_home_spec": {
"additionalProperties": false,
"type": "object",
"title": "On home event",
"title": "On Home Event",
"description": "UNDOCUMENTATED",
"properties": {
"event": {
"type": "string",
"pattern": "^[a-zA-Z0-9_\\-:]+$",
"description": "The event to fire",
"title": "Event"
},
"event": { "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$", "description": "The event to fire", "title": "Event" },
"target": {
"type": "string",
"description": "The target of the event",
"title": "Target",
"enum": ["baby", "block", "damager", "other", "parent", "player", "self", "target"]
},
"filters": {
"$ref": "../filters.json"
}
"filters": { "$ref": "../filters.json" }
}
}
},
@@ -37,7 +30,7 @@
"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"
},
"interval": {
"type": "integer",
@@ -47,24 +40,13 @@
},
"on_home": {
"description": "Event to run when this mob gets home.",
"title": "On home",
"title": "On Home",
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9_\\-:]+$"
},
{
"type": "object",
"$ref": "#/definitions/on_home_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/on_home_spec"
}
}
{ "type": "string", "pattern": "^[a-zA-Z0-9_\\-:]+$" },
{ "type": "object", "$ref": "#/definitions/on_home_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/on_home_spec" } }
]
},
"on_failed": { "$ref": "../types/event.json", "title": "On failed", "description": "UNDOCUMENTATED" }
"on_failed": { "$ref": "../types/event.json", "title": "On Failed", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -2,35 +2,18 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.hold_ground",
"type": "object",
"title": "Hold ground 1.16.0",
"title": "Hold Ground 1.16.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

@@ -3,48 +3,18 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.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.16.0",
"title": "Knockback Roar 1.16.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"
},
"Trigger": { "$ref": "../types/trigger.json", "description": "On_roar_end", "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": "On_roar_end", "title": "TODO Title" },
"knockback_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"damage_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"on_roar_end": { "$ref": "../types/event.json", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.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.16.0",
"title": "Leap At Target 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
@@ -12,25 +12,10 @@
"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": "Must be on ground"
"title": "Must Be On Ground"
},
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set persistent"
},
"yd": {
"type": "number",
"default": 0,
"description": "The height in blocks the mob jumps when leaping at its target",
"title": "Yd"
},
"target_dist": {
"type": "number",
"default": 0,
"description": "UNDOCUMENTATED",
"title": "Target dist"
}
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"yd": { "type": "number", "default": 0, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Yd" },
"target_dist": { "type": "number", "default": 0, "description": "UNDOCUMENTATED", "title": "Target Dist" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.look_at_player",
"type": "object",
"title": "Look at player 1.16.0",
"title": "Look At Player 1.16.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": "number"
},
{
"type": "number"
}
]
"items": [{ "type": "number" }, { "type": "number" }]
},
"target_distance": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"target_distance": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.move_to_lava",
"type": "object",
"title": "Move to lava 1.16.0",
"title": "Move To Lava 1.16.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,11 +2,8 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.move_towards_home_restriction",
"type": "object",
"title": "Move towards home restriction 1.16.0",
"title": "Move Towards Home Restriction 1.16.0",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"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,31 +8,21 @@
"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"
},
"can_nap_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Can nap filters" },
"wake_mob_exceptions": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Wake mob exceptions" }
"can_nap_filters": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Can Nap Filters" },
"wake_mob_exceptions": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Wake Mob Exceptions" }
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.nearest_attackable_target",
"type": "object",
"title": "Nearest attackable target 1.16.0",
"title": "Nearest Attackable Target 1.16.0",
"description": "Allows the mob to check for and pursue the nearest valid target.",
"additionalProperties": false,
"required": [],
@@ -11,28 +11,24 @@
"type": "object",
"description": "A entity type",
"properties": {
"filters": {
"$ref": "../filters.json",
"description": "Conditions that make this target a valid type.",
"title": "Filters"
},
"filters": { "$ref": "../filters.json", "description": "Conditions that make this target a valid type.", "title": "Filters" },
"max_dist": {
"type": "number",
"default": 16,
"description": "To be a valid target choice, the target type cannot be farther away from this entity than \"max_dist\".",
"title": "Max dist"
"title": "Max Dist"
},
"must_see": {
"type": "boolean",
"default": false,
"description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.",
"title": "Must see"
"title": "Must See"
},
"must_see_forget_duration": {
"type": "boolean",
"default": 3,
"description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if \"must_see\" is true.",
"title": "Must see forget duration"
"title": "Must See Forget Duration"
}
}
}
@@ -41,102 +37,77 @@
"priority": { "$ref": "./types/base_priority.json" },
"entity_types": {
"description": "Filters which types of targets are valid for this entity.",
"title": "Entity types",
"oneOf": [
{
"$ref": "#/definitions/entity_type"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/entity_type"
}
}
]
"title": "Entity Types",
"oneOf": [{ "$ref": "#/definitions/entity_type" }, { "type": "array", "items": { "$ref": "#/definitions/entity_type" } }]
},
"attack_interval": {
"type": "integer",
"default": 0,
"description": "Time range (in seconds) between searching for an attack target, range is in (0, \"attack_interval\"]. Only used if \"attack_interval\" is greater than 0, otherwise \"scan_interval\" is used.",
"title": "Attack interval"
"title": "Attack Interval"
},
"attack_interval_min": {
"type": "number",
"default": 0,
"description": "Alias for \"attack_interval\"; provides the same functionality as \"attack_interval\".",
"title": "Attack interval min"
},
"attack_owner": {
"type": "boolean",
"default": false,
"description": "If true, this entity can attack its owner.",
"title": "Attack owner"
},
"must_reach": {
"type": "boolean",
"default": false,
"description": "If true, this entity requires a path to the target.",
"title": "Must reach"
"title": "Attack Interval Min"
},
"attack_owner": { "type": "boolean", "default": false, "description": "If true, this entity can attack its owner.", "title": "Attack Owner" },
"must_reach": { "type": "boolean", "default": false, "description": "If true, this entity requires a path to the target.", "title": "Must Reach" },
"must_see": {
"type": "boolean",
"default": false,
"description": "Determines if target-validity requires this entity to be in range only, or both in range and in sight.",
"title": "Must see"
"title": "Must See"
},
"must_see_forget_duration": {
"type": "number",
"default": 3,
"description": "Time (in seconds) the target must not be seen by this entity to become invalid. Used only if \"must_see\" is true.",
"title": "Must see forget duration"
"title": "Must See Forget Duration"
},
"persist_time": {
"type": "number",
"default": 0,
"description": "Time (in seconds) this entity can continue attacking the target after the target is no longer valid.",
"title": "Persist time"
"title": "Persist Time"
},
"reselect_targets": {
"type": "boolean",
"default": false,
"description": "Allows the attacking entity to update the nearest target, otherwise a target is only reselected after each \"scan_interval\" or \"attack_interval\".",
"title": "Reselect targets"
"title": "Reselect Targets"
},
"scan_interval": {
"type": "integer",
"default": 10,
"description": "If \"attack_interval\" is 0 or isn't declared, then between attacks: scanning for a new target occurs every amount of ticks equal to \"scan_interval\", minimum value is 1. Values under 10 can affect performance.",
"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": "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_invisible_multiplier": {
"type": "number",
"default": 0.7,
"description": "Multiplied with the target's armor coverage percentage to modify \"max_dist\" when detecting an invisible target.",
"title": "Target invisible multiplier"
"title": "Target Invisible Multiplier"
},
"target_search_height": {
"type": "number",
"default": -1,
"description": "Maximum vertical target-search distance, if it's greater than the target type's \"max_dist\". A negative value defaults to \"entity_types\" greatest \"max_dist\".",
"title": "Target search height"
"title": "Target Search Height"
},
"target_sneak_visibility_multiplier": {
"type": "number",
"default": 0.8,
"description": "Multiplied with the target type's \"max_dist\" when trying to detect a sneaking target.",
"title": "Target sneak visibility multiplier"
"title": "Target Sneak Visibility Multiplier"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Maximum distance this entity can be from the target when following it, otherwise the target becomes invalid. This value is only used if the entity doesn't declare \"minecraft:follow_range\".",
"title": "Within radius"
"title": "Within Radius"
}
}
}

View File

@@ -2,76 +2,42 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.nearest_prioritized_attackable_target",
"type": "object",
"title": "Nearest prioritized attackable target 1.16.0",
"title": "Nearest Prioritized Attackable Target 1.16.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

@@ -13,25 +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": "Goal radius"
"title": "Goal Radius"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks from the owner the pet can be to sleep with owner.",
"title": "Search height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks from the owner the pet can be to sleep with owner.",
"title": "Search range"
},
"search_radius": {
"type": "integer",
"default": 0,
"description": "UNDOCUMENTATED",
"title": "Search radius"
}
"search_height": { "type": "integer", "default": 1, "description": "Height in blocks from the owner the pet can be to sleep with owner.", "title": "Search Height" },
"search_range": { "type": "integer", "default": 0, "description": "The distance in blocks from the owner the pet can be to sleep with owner.", "title": "Search Range" },
"search_radius": { "type": "integer", "default": 0, "description": "UNDOCUMENTATED", "title": "Search Radius" }
}
}

View File

@@ -4,51 +4,31 @@
"description": "Allows the mob to pick up items on the ground.",
"additionalProperties": false,
"type": "object",
"title": "pickup items 1.16.0",
"title": "Pickup Items 1.16.0",
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"can_pickup_any_item": {
"type": "boolean",
"default": false,
"description": "If true, the mob can pickup any item",
"title": "Can pickup any item"
},
"can_pickup_any_item": { "type": "boolean", "default": false, "description": "If true, the mob can pickup any item", "title": "Can Pickup Any Item" },
"can_pickup_to_hand_or_equipment": {
"type": "boolean",
"default": true,
"description": "If true, the mob can pickup items to its hand or armor slots",
"title": "Can pickup to hand or equipment"
},
"cooldown_after_being_attacked": {
"type": "number",
"default": true,
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
"title": "Can Pickup To Hand Or Equipment"
},
"cooldown_after_being_attacked": { "type": "number", "default": true, "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"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": "Goal radius"
},
"max_dist": {
"type": "number",
"default": 0,
"description": "Maximum distance this mob will look for items to pick up",
"title": "Max dist"
"title": "Goal Radius"
},
"max_dist": { "type": "number", "default": 0, "description": "Maximum distance this mob will look for items to pick up", "title": "Max Dist" },
"pickup_based_on_chance": {
"type": "boolean",
"default": false,
"description": "If true, depending on the difficulty, there is a random chance that the mob may not be able to pickup items",
"title": "Pickup based on chance"
"title": "Pickup Based On Chance"
},
"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"
}
"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,39 +3,31 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.random_fly",
"description": "Allows a mob to randomly fly around",
"type": "object",
"title": "Random fly 1.16.0",
"title": "Random Fly 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"avoid_damage_blocks": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"avoid_damage_blocks": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"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": "Can land on trees"
"title": "Can Land On Trees"
},
"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": "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": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"y_offset": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}

View File

@@ -3,25 +3,13 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.random_hover",
"description": "Allows the mob to hover around randomly, close to the surface",
"type": "object",
"title": "Random hover 1.16.0",
"title": "Random Hover 1.16.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

@@ -3,42 +3,25 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.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.16.0",
"title": "Random Look Around And Sit 1.16.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

@@ -3,27 +3,13 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.rise_to_liquid_level",
"description": "Allows the mob to stay at a certain level when in liquid.",
"type": "object",
"title": "Rise to liquid level 1.16.0",
"title": "Rise To Liquid Level 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"liquid_y_offset": {
"type": "number",
"title": "Liquid y offset",
"description": "UNDOCUMENTATED"
},
"rise_delta": {
"type": "number",
"title": "Rise delta",
"description": "UNDOCUMENTATED"
},
"sink_delta": {
"type": "number",
"title": "Sink delta",
"description": "UNDOCUMENTATED"
}
"priority": { "$ref": "types/base_priority.json" },
"liquid_y_offset": { "type": "number", "title": "Liquid Y Offset", "description": "UNDOCUMENTATED" },
"rise_delta": { "type": "number", "title": "Rise Delta", "description": "UNDOCUMENTATED" },
"sink_delta": { "type": "number", "title": "Sink Delta", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.send_event",
"description": "Allows the mob to send an event to another mob.",
"type": "object",
"title": "Send event 1.16.0",
"title": "Send Event 1.16.0",
"additionalProperties": false,
"required": [],
"definitions": {
@@ -14,32 +14,16 @@
"type": "object",
"additionalProperties": false,
"properties": {
"base_delay": {
"type": "number",
"default": 0,
"description": "Amount of time in seconds before starting this step"
},
"event": {
"type": "string",
"default": "",
"description": "The event to send to the entity"
},
"sound_event": {
"type": "string",
"default": "",
"description": "The sound event to play when this step happens"
}
"base_delay": { "type": "number", "default": 0, "description": "Amount of time in seconds before starting this step" },
"event": { "type": "string", "default": "", "description": "The event to send to the entity" },
"sound_event": { "type": "string", "default": "", "description": "The sound event to play when this step happens" }
}
}
}
},
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"cast_duration": {
"type": "number",
"description": "Time in seconds for the entire event sending process",
"title": "TODO title"
},
"cast_duration": { "type": "number", "description": "Time in seconds for the entire event sending process", "title": "TODO Title" },
"event_choices": {
"type": "array",
"title": "UNDOCUMENTATED",
@@ -50,51 +34,18 @@
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED",
"properties": {
"min_activation_range": {
"type": "number",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"max_activation_range": {
"type": "number",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"cooldown_time": {
"type": "number",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"cast_duration": {
"type": "number",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"filters": {
"$ref": "../filters.json"
},
"particle_color": {
"type": "string",
"format": "color-hex",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"weight": {
"type": "integer",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"start_sound_event": {
"type": "string",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"sequence": {
"$ref": "#/definitions/sequence"
}
"min_activation_range": { "type": "number", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"max_activation_range": { "type": "number", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"cooldown_time": { "type": "number", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"cast_duration": { "type": "number", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"filters": { "$ref": "../filters.json" },
"particle_color": { "type": "string", "format": "color-hex", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"weight": { "type": "integer", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"start_sound_event": { "type": "string", "title": "UNDOCUMENTATED", "description": "UNDOCUMENTATED" },
"sequence": { "$ref": "#/definitions/sequence" }
}
}
},
"sequence": { "$ref": "#/definitions/sequence", "description": "TODO description", "title": "TODO title" }
"sequence": { "$ref": "#/definitions/sequence", "description": "TODO description", "title": "TODO Title" }
}
}

View File

@@ -3,72 +3,46 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.stalk_and_pounce_on_target",
"description": "Allows the mob to stay at a certain level when in liquid.",
"type": "object",
"title": "Stalk and pounce on target 1.16.0",
"title": "Stalk And Pounce On Target 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"priority": { "$ref": "types/base_priority.json" },
"interest_time": {
"type": "number",
"default": 2,
"description": "The amount of time the mob will be interested before pouncing. This happens when the mob is within range of pouncing",
"title": "Interest time"
},
"leap_distance": {
"type": "number",
"default": 0.8,
"description": "The distance in blocks the mob jumps in the direction of its target",
"title": "Leap distance"
},
"leap_height": {
"type": "number",
"default": 0.9,
"description": "The height in blocks the mob jumps when leaping at its target",
"title": "Leap height"
"title": "Interest Time"
},
"leap_distance": { "type": "number", "default": 0.8, "description": "The distance in blocks the mob jumps in the direction of its target", "title": "Leap Distance" },
"leap_height": { "type": "number", "default": 0.9, "description": "The height in blocks the mob jumps when leaping at its target", "title": "Leap Height" },
"max_stalk_dist": {
"type": "number",
"default": 10,
"description": "The maximum distance away a target can be before the mob gives up on stalking",
"title": "Max stalk dist"
"title": "Max Stalk Dist"
},
"pounce_max_dist": {
"type": "number",
"default": 5,
"description": "The maximum distance away from the target in blocks to begin pouncing at the target",
"title": "Pounce max dist"
},
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "Set persistent"
},
"stalk_speed": {
"type": "number",
"default": 1.2,
"description": "The movement speed in which you stalk your target",
"title": "Stalk speed"
"title": "Pounce Max Dist"
},
"set_persistent": { "type": "boolean", "default": false, "description": "Allows the actor to be set to persist upon targeting a player", "title": "Set Persistent" },
"stalk_speed": { "type": "number", "default": 1.2, "description": "The movement speed in which you stalk your target", "title": "Stalk Speed" },
"strike_dist": {
"type": "number",
"default": 2,
"description": "The max distance away from the target when landing from the pounce that will still result in damaging the target",
"title": "Strike dist"
"title": "Strike Dist"
},
"stuck_time": {
"type": "number",
"default": 2,
"description": "The amount of time the mob will be stuck if they fail and land on a block they can be stuck on",
"title": "Stuck time"
"title": "Stuck Time"
},
"leap_dist": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "Leap dist"
},
"stuck_blocks": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Stuck block" }
"leap_dist": { "type": "number", "description": "UNDOCUMENTATED", "title": "Leap Dist" },
"stuck_blocks": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Stuck Block" }
}
}

View File

@@ -3,42 +3,25 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.stroll_towards_village",
"description": "Allows the mob to stay at a certain level when in liquid.",
"type": "object",
"title": "Stroll towards village 1.16.0",
"title": "Stroll Towards Village 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown time"
},
"priority": { "$ref": "types/base_priority.json" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the goal again", "title": "Cooldown Time" },
"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": "Goal radius"
"title": "Goal Radius"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks to search for points inside villages. If <= 0, find the closest village regardless of distance.",
"title": "Search range"
"title": "Search Range"
},
"speed_multiplier": {
"type": "number",
"default": 1,
"description": "Movement speed multiplier of the mob when using this AI Goal",
"title": "Speed multiplier"
},
"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"
}
"speed_multiplier": { "type": "number", "default": 1, "description": "Movement speed multiplier of the mob when using this AI Goal", "title": "Speed Multiplier" },
"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" }
}
}

View File

@@ -3,22 +3,12 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.swim_idle",
"description": "UNDOCUMENTATED",
"type": "object",
"title": "Swim idle 1.16.0",
"title": "Swim Idle 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"$ref": "types/base_priority.json"
},
"idle_time": {
"type": "number",
"title": "Idle time",
"description": "UNDOCUMENTATED"
},
"success_rate": {
"type": "number",
"title": "Succes rate",
"description": "UNDOCUMENTATED"
}
"priority": { "$ref": "types/base_priority.json" },
"idle_time": { "type": "number", "title": "Idle Time", "description": "UNDOCUMENTATED" },
"success_rate": { "type": "number", "title": "Succes Rate", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -13,31 +13,11 @@
"type": "boolean",
"default": false,
"description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob",
"title": "TODO title"
"title": "TODO Title"
},
"can_tempt_while_ridden": {
"type": "boolean",
"title": "Can tempt while ridden",
"description": "UNDOCUMENTATED"
},
"can_tempt_vertically": {
"type": "boolean",
"title": "Can tempt vertically",
"description": "UNDOCUMENTATED"
},
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
"items": {
"$ref": "../../../../general/item/identifier.json"
},
"title": "TODO title"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
"title": "TODO title"
}
"can_tempt_while_ridden": { "type": "boolean", "title": "Can Tempt While Ridden", "description": "UNDOCUMENTATED" },
"can_tempt_vertically": { "type": "boolean", "title": "Can Tempt Vertically", "description": "UNDOCUMENTATED" },
"items": { "type": "array", "description": "List of items this mob is tempted by", "items": { "$ref": "../../../../general/item/identifier.json" }, "title": "TODO Title" },
"within_radius": { "type": "number", "default": 0, "description": "Distance in blocks this mob can get tempted by a player holding an item they like", "title": "TODO Title" }
}
}

View File

@@ -5,5 +5,5 @@
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal.",
"type": "number",
"title": "Speed multiplier"
"title": "Speed Multiplier"
}