Moved to source folder

This commit is contained in:
DaanV2
2021-02-01 18:39:12 +01:00
parent c434801daf
commit ac0f3d12d6
1000 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,56 @@
{
"$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",
"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" },
"sound_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
]
}
}
}

View File

@@ -0,0 +1,101 @@
{
"$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",
"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"
},
"target_blocks": {
"type": "array",
"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"
}
},
"sound_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
]
}
}
}

View File

@@ -0,0 +1,13 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.barter",
"type": "object",
"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"
}
}
}

View File

@@ -0,0 +1,100 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.celebrate",
"type": "object",
"title": "Celebrate 1.16.0",
"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"
},
"jump_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before jumping again.",
"title": "Jump interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
]
},
{
"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"
},
"sound_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again.",
"title": "Sound interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
]
},
{
"type": "number"
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
}
]
}
}
}

View File

@@ -0,0 +1,55 @@
{
"$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",
"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"
},
"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"
},
"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

@@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.drink_potion",
"type": "object",
"title": "Beg 1.16.0",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"additionalProperties": false,
"required": [],
"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"
},
"potions": {
"type": "array",
"description": "A list of potions that this entity can drink.",
"items": {
"required": ["id", "chance", "filters"],
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"default": -1,
"description": "The registry ID of the potion to use",
"title": "Id"
},
"chance": {
"type": "number",
"default": 1.0,
"minimum": 0,
"maximum": 1,
"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"
}
},
"description": "TODO description: potions",
"title": "Potions"
},
"title": "Potions"
}
}
}

View File

@@ -0,0 +1,120 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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"
},
"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"
},
"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" }]
},
"teleport_offset": {
"title": "Teleport offset",
"description": "UNDOCUMENTATED",
"type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
},
"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",
"type": "array",
"items": [
{
"type": "number",
"minimum": 0,
"maximum": 1
},
{
"type": "number",
"minimum": 0,
"maximum": 1
}
]
}
}
}

View File

@@ -0,0 +1,18 @@
{
"$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",
"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"
}
}
}

View File

@@ -0,0 +1,13 @@
{
"$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",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"priority": {
"$ref": "types/base_priority.json"
}
}
}

View File

@@ -0,0 +1,18 @@
{
"$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",
"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"
}
}
}

View File

@@ -0,0 +1,49 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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"
},
"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"
},
"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

@@ -0,0 +1,70 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"type": "object",
"definitions": {
"on_home_spec": {
"additionalProperties": false,
"type": "object",
"title": "On home event",
"description": "UNDOCUMENTATED",
"properties": {
"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"
}
}
}
},
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.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"
},
"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": "Interval"
},
"on_home": {
"description": "Event to run when this mob gets 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"
}
}
]
},
"on_failed": { "$ref": "../types/event.json", "title": "On failed", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -0,0 +1,36 @@
{
"$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",
"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"
},
"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"
}
}
}

View File

@@ -0,0 +1,52 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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" },
"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

@@ -0,0 +1,36 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"must_be_on_ground": {
"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"
},
"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

@@ -0,0 +1,56 @@
{
"$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",
"description": "Allows the mob to look at the player when the player is nearby.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"angle_of_view_vertical": {
"type": "integer",
"default": 360,
"description": "The angle in degrees that the mob can see in the X-axis (left-right)",
"title": "Angle Of View Vertical"
},
"angle_of_view_horizontal": {
"type": "integer",
"default": 360,
"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_time": {
"type": "array",
"default": [2, 4],
"description": "Time range to look at the entity",
"title": "Look Time",
"items": [
{
"type": "number"
},
{
"type": "number"
}
]
},
"target_distance": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
}
}

View File

@@ -0,0 +1,36 @@
{
"$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",
"description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.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"
},
"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"
},
"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

@@ -0,0 +1,12 @@
{
"$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",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" }
}
}

View File

@@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.nap",
"type": "object",
"title": "Nap 1.16.0",
"description": "Allows the mob to move back into lava when on land.",
"additionalProperties": false,
"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"
},
"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"
},
"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"
},
"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

@@ -0,0 +1,142 @@
{
"$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",
"description": "Allows the mob to check for and pursue the nearest valid target.",
"additionalProperties": false,
"required": [],
"definitions": {
"entity_type": {
"type": "object",
"description": "A entity type",
"properties": {
"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"
},
"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"
},
"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"
}
}
}
},
"properties": {
"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"
}
}
]
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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"
}
}
}

View File

@@ -0,0 +1,77 @@
{
"$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",
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"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

@@ -0,0 +1,37 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.pet_sleep_with_owner",
"description": "Allows the mob to be tempted by food they like.",
"type": "object",
"title": "Tempt 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.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"
},
"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

@@ -0,0 +1,54 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.pickup_items",
"description": "Allows the mob to pick up items on the ground.",
"additionalProperties": false,
"type": "object",
"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_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"
},
"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"
},
"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"
},
"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

@@ -0,0 +1,41 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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"
},
"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"
},
"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"
},
"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"
},
"y_offset": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
}
}

View File

@@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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"
}
]
},
"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": "Interval"
},
"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"
},
"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"
},
"y_offset": {
"type": "number",
"default": 0,
"description": "Height in blocks to add to the selected target position",
"title": "Y offset"
}
}
}

View File

@@ -0,0 +1,44 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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"
},
"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"
},
"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"
},
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of randomly looking around/sitting.",
"title": "Probability"
}
}
}

View File

@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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"
}
}
}

View File

@@ -0,0 +1,100 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"additionalProperties": false,
"required": [],
"definitions": {
"sequence": {
"type": "array",
"description": "List of events to send",
"items": {
"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"
}
}
}
}
},
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"cast_duration": {
"type": "number",
"description": "Time in seconds for the entire event sending process",
"title": "TODO title"
},
"event_choices": {
"type": "array",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED",
"items": {
"type": "object",
"additionalProperties": false,
"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"
}
}
}
},
"sequence": { "$ref": "#/definitions/sequence", "description": "TODO description", "title": "TODO title" }
}
}

View File

@@ -0,0 +1,74 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"additionalProperties": false,
"required": [],
"properties": {
"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"
},
"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"
},
"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"
},
"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"
},
"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"
},
"leap_dist": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "Leap dist"
},
"stuck_blocks": { "$ref": "../filters.json", "description": "UNDOCUMENTATED", "title": "Stuck block" }
}
}

View File

@@ -0,0 +1,44 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$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",
"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"
},
"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"
},
"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"
},
"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

@@ -0,0 +1,24 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.swim_idle",
"description": "UNDOCUMENTATED",
"type": "object",
"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"
}
}
}

View File

@@ -0,0 +1,43 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.behavior.tempt",
"description": "Allows the mob to be tempted by food they like.",
"type": "object",
"title": "Tempt 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/base_priority.json" },
"speed_multiplier": { "$ref": "types/base_speed_multiplier.json" },
"can_get_scared": {
"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"
},
"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

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.base_priority",
"additionalProperties": false,
"type": "integer",
"title": "Priority",
"minimum": 0,
"description": "Allows the mob to drink potions based on specified environment conditions."
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.speed_multiplier",
"additionalProperties": false,
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal.",
"type": "number",
"title": "Speed multiplier"
}