This commit is contained in:
DaanV2
2021-07-01 16:10:45 +02:00
parent 8842f70840
commit 0b1527e81a
44 changed files with 213 additions and 233 deletions

View File

@@ -10,13 +10,7 @@
},
"additionalProperties": {
"anyOf": [
{
"type": "object",
"properties": {
"properties": { "additionalProperties": { "$ref": "#/definitions/object_check" } },
"additionalProperties": { "additionalProperties": { "$ref": "#/definitions/object_check" } }
}
},
{ "type": "object", "$ref": "#/definitions/object_check" },
{ "type": "array", "$ref": "#/definitions/array_check" },
{ "type": "string" },
{ "type": "boolean" },

View File

@@ -43,28 +43,24 @@
"title": "Avoid Mob Sound",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"remove_target": {
"title": "Remove Target",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "boolean"
},
"on_escape_event": {
"$ref": "../types/event.json",
"title": "On Escape Event",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"sound_interval": {
"default": 0,
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Sound Interval",
"oneOf": [
{

View File

@@ -53,28 +53,24 @@
"type": "number",
"title": "Radius Change",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"radius_adjustment_chance": {
"type": "number",
"title": "Radius Adjustment Chance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"height_adjustment_chance": {
"type": "number",
"title": "Height Adjustment Chance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"angle_change": {
"type": "number",
"title": "Angle Change",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -16,7 +16,6 @@
"title": "Attack Chance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
}
}

View File

@@ -4,7 +4,6 @@
"title": "Eat Block 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": [],
"properties": {
@@ -13,21 +12,18 @@
"$ref": "../types/trigger.json",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "On Eat"
},
"success_chance": {
"title": "Succes Chance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../../../../molang/number.json"
},
"time_until_eat": {
"title": "Time Until Eat",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
},
"eat_and_replace_block_pairs": {
@@ -35,20 +31,17 @@
"title": "Eat And Replace Block Pairs",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"title": "Eat And Replace Block Pair",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"properties": {
"eat_block": {
"type": "string",
"title": "Block",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../../../../general/block/identifier.json"
},
"replace_block": {
@@ -56,7 +49,6 @@
"title": "Replace Block",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../../../../general/block/identifier.json"
}
}

View File

@@ -11,14 +11,12 @@
"type": "number",
"title": "Search Range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"search_height": {
"type": "number",
"title": "Search Height",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
@@ -26,14 +24,12 @@
"type": "number",
"title": "Minimum Path Length",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"minimum_distance": {
"type": "number",
"title": "Minimum Distance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
@@ -41,7 +37,6 @@
"type": "number",
"title": "Scale Factor",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
@@ -49,7 +44,6 @@
"title": "Cooldown range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": [
{ "title": "Min", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 },

View File

@@ -43,7 +43,6 @@
"type": "number",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Target Distance"
}
}

View File

@@ -12,7 +12,6 @@
"type": "number",
"title": "Cooldown Time",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"melee_fov": {
@@ -51,14 +50,12 @@
"$ref": "../types/event.json",
"title": "On Attack",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"on_kill": {
"$ref": "../types/event.json",
"title": "On Attack",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -5,7 +5,6 @@
"additionalProperties": false,
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"required": [],
"properties": {
"priority": { "$ref": "./types/priority.json" },
@@ -13,49 +12,42 @@
"type": "number",
"title": "Tick Interval",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"start_chance": {
"type": "number",
"title": "Start Chance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"search_range": {
"type": "number",
"title": "Search Range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"search_height": {
"type": "number",
"title": "Search Height",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"goal_radius": {
"type": "number",
"title": "Goal Radius",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"stay_duration": {
"type": "number",
"title": "Stay Duration",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"target_selection_method": {
"type": "string",
"title": "Target Selection Method",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"target_offset": {
@@ -63,7 +55,6 @@
"title": "Target Offset",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
},
"target_blocks": {
@@ -71,7 +62,6 @@
"title": "Target Blocks",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": { "type": "string" }
},
"on_stay_completed": {
@@ -79,7 +69,6 @@
"title": "On Stay Completed",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": { "$ref": "../types/event.json" }
},
"on_reach": {
@@ -87,7 +76,6 @@
"title": "On Reach",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": { "$ref": "../types/event.json" }
}
}

View File

@@ -3,7 +3,6 @@
"additionalProperties": false,
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"title": "Ocelot Sit On Block 1.8.0",
"required": [],

View File

@@ -29,49 +29,42 @@
"type": "number",
"title": "Cooldown Time",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"x_max_rotation": {
"type": "number",
"title": "X Max Rotation",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"y_max_head_rotation": {
"type": "number",
"title": "Y Max Head Rotation",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"max_distance": {
"type": "number",
"title": "Max Distance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"max_sneak_range": {
"type": "number",
"title": "Max Sneak Range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"max_sprint_range": {
"type": "number",
"title": "Max Sprint Range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"reach_multiplier": {
"type": "number",
"title": "Reach Multiplier",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -32,28 +32,24 @@
"type": "string",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Panic Sound"
},
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Sound Interval",
"properties": {
"range_min": {
"type": "number",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Range Minimum"
},
"range_max": {
"type": "number",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Range Maximum"
}
},

View File

@@ -2,7 +2,6 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.play_dead",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"title": "Play dead 1.8.0",
"additionalProperties": false,
@@ -13,7 +12,6 @@
"title": "Duration",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 0
},
@@ -21,7 +19,6 @@
"title": "Force Below Health",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 0
},
@@ -29,7 +26,6 @@
"title": "Random Start Chance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number",
"minimum": 0
},
@@ -37,7 +33,6 @@
"title": "Random Damage Range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": [
{ "title": "Min", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 },
@@ -48,13 +43,11 @@
"title": "Damage sources",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": {
"title": "Damage Source",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../../../../general/entity_damage.json"
}
},
@@ -62,7 +55,6 @@
"title": "Apply regeneration",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "boolean"
},
"filters": { "$ref": "../../filters/filters.json" }

View File

@@ -45,7 +45,6 @@
"default": 0,
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Search Height"
}
}

View File

@@ -2,7 +2,6 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.ram_attack",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"title": "Ram Attack 1.8.0",
"additionalProperties": false,
@@ -13,63 +12,54 @@
"title": "Run speed",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
},
"ram_speed": {
"title": "Ram speed",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
},
"min_ram_distance": {
"title": "Minimum Ram speed",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
},
"ram_distance": {
"title": "Ram Distance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
},
"knockback_force": {
"title": "Knockback force",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
},
"knockback_height": {
"title": "Knockback height",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "number"
},
"pre_ram_sound": {
"title": "Pre ram sound",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"ram_impact_sound": {
"title": "Ram impact sound",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "string"
},
"cooldown_range": {
"title": "Cooldown range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "array",
"items": [
{ "title": "Min", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer", "minimum": 0 },
@@ -80,7 +70,6 @@
"title": "On start",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$ref": "../types/event.json"
}
}

View File

@@ -12,7 +12,6 @@
"type": "array",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Hover Height",
"items": [{ "type": "number" }, { "type": "number" }]
},

View File

@@ -11,25 +11,25 @@
"type": "boolean",
"default": true,
"description": "If true, the mob will avoid surface water blocks by swimming below them",
"title": "TODO Title"
"title": "Avoid Surface"
},
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "TODO Title"
"title": "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": "TODO Title"
"title": "XZ Distance"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO Title"
"title": "Y Distance"
}
},
"additionalProperties": false

View File

@@ -13,69 +13,66 @@
"default": 0,
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO Title"
"title": "Attack Interval"
},
"attack_interval_max": {
"type": "number",
"default": 0,
"description": "Maximum amount of time in seconds the entity will wait after an attack before launching another",
"title": "TODO Title"
"title": "Attack Interval Maximum"
},
"attack_interval_min": {
"type": "number",
"default": 0,
"description": "Minimum amount of time in seconds the entity will wait after an attack before launching another",
"title": "TODO Title"
"title": "Attack Interval Minimum"
},
"attack_radius": {
"type": "number",
"default": 0,
"description": "Maximum distance the target can be for this mob to fire. If the target is further away, this mob will move first before firing",
"title": "TODO Title"
"title": "Attack Radius"
},
"burst_interval": {
"type": "number",
"default": 0,
"description": "Amount of time in seconds between each individual shot when firing multiple shots per attack",
"title": "TODO Title"
"title": "Burst Interval"
},
"burst_shots": {
"type": "integer",
"default": 1,
"description": "Number of shots fired every time the mob uses a charged attack",
"title": "TODO Title"
"title": "Burst Shots"
},
"charge_charged_trigger": {
"type": "number",
"default": 0,
"description": "The minimum amount of time in ticks the mob has to charge before firing a charged attack",
"title": "TODO Title"
"title": "Charge Charged Trigger"
},
"charge_shoot_trigger": {
"type": "number",
"default": 0,
"description": "The minimum amount of time in ticks for the mob to start charging a charged shot. Must be greater than 0 to enable burst shots",
"title": "TODO Title"
"title": "Charge Shoot Trigger"
},
"ranged_fov": {
"type": "number",
"default": 90,
"description": "The allowable FOV the actor will use to determine if it can make a valid ranged attack",
"title": "TODO Title"
"title": "Ranged FOV"
},
"target_in_sight_time": {
"type": "number",
"title": "Target In Sight Time",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"attack_radius_min": {
"type": "number",
"title": "Attack Radius Min",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -11,7 +11,6 @@
"type": "number",
"title": "Liquid Y Offset",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"rise_delta": { "type": "number", "title": "Rise Delta", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },

View File

@@ -7,6 +7,6 @@
"required": [],
"properties": {
"priority": { "$ref": "types/priority.json" },
"probability": { "type": "number", "minimum": 0, "description": "The probability that the mob will use the goal.", "title": "TODO Title" }
"probability": { "type": "number", "minimum": 0, "description": "The probability that the mob will use the goal.", "title": "Probability" }
}
}

View File

@@ -11,7 +11,7 @@
"type": "integer",
"default": 0,
"description": "The interval in which a sound will play when active in a 1/delay chance to kick off",
"title": "TODO Title"
"title": "Sound Interval"
}
}
}

View File

@@ -7,20 +7,21 @@
"required": [],
"properties": {
"priority": { "$ref": "./types/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": "Send Event" },
"sequence": {
"type": "array",
"description": "List of events to send",
"title": "Sequence",
"items": {
"type": "object",
"additionalProperties": false,
"title": "Sequence",
"properties": {
"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" }
"delay": { "type": "number", "default": 0, "description": "Amount of time in seconds before starting this step", "title": "Delay" },
"event": { "type": "string", "default": "", "description": "The event to send to the entity", "title": "Event" },
"sound_event": { "type": "string", "default": "", "description": "The sound event to play when this step happens", "title": "Sound Event" }
}
}
},
"title": "TODO Title"
}
}
}

View File

@@ -8,18 +8,22 @@
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"entity_types": { "$ref": "../types/entity_types.json", "description": "List of entities this mob will share items with", "title": "TODO Title" },
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entities this mob will share items with",
"title": "Entity Types"
},
"goal_radius": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO Title"
"title": "Goal Radius"
},
"max_dist": {
"type": "number",
"default": 0,
"description": "Maximum distance in blocks this mob will look for entities to share items with",
"title": "TODO Title"
"title": "Maximum Distance"
}
}
}

View File

@@ -11,13 +11,13 @@
"type": "number",
"default": 1,
"description": "Amount of time in seconds the trap exists. After this amount of time is elapsed, the trap is removed from the world if it hasn't been activated",
"title": "TODO Title"
"title": "Duration"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks that the player has to be within to trigger the horse trap",
"title": "TODO Title"
"title": "Within Radius"
}
}
}

View File

@@ -4,14 +4,13 @@
"description": "Can only be used by Slimes and Magma Cubes. Allows the mob to use a melee attack like the slime's.",
"type": "object",
"title": "Slime Attack 1.8.0",
"required": [],
"properties": {
"priority": { "$ref": "./types/priority.json" },
"set_persistent": {
"type": "boolean",
"default": false,
"description": "Allows the actor to be set to persist upon targeting a player",
"title": "TODO Title"
"title": "Set Persistent"
}
}
}

View File

@@ -12,7 +12,6 @@
"type": "number",
"title": "Sink Delta",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -11,7 +11,6 @@
"type": "number",
"title": "Add Random Time Range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"turn_range": { "type": "number", "title": "Turn Range", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
@@ -19,7 +18,6 @@
"type": "number",
"title": "Min Change Direction Time",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -8,28 +8,30 @@
"properties": {
"priority": { "$ref": "./types/priority.json" },
"items": {
"type": "array",
"title": "Items",
"description": "Items that we are interested in snacking on",
"$ref": "../../../../general/item/identifier.json",
"title": "TODO Title"
"oneOf": [
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json", "title": "Item" } },
{ "$ref": "../../../../general/item/identifier.json" }
]
},
"snacking_cooldown": {
"type": "number",
"default": 7.5,
"description": "The cooldown time in seconds before the mob is able to snack again",
"title": "TODO Title"
"title": "Snacking Cooldown"
},
"snacking_cooldown_min": {
"type": "number",
"default": 0.5,
"description": "The minimum time in seconds before the mob is able to snack again",
"title": "TODO Title"
"title": "Snacking Cooldown Minimum"
},
"snacking_stop_chance": {
"type": "number",
"default": 0.0017,
"description": "This is the chance that the mob will stop snacking, from 0 to 1",
"title": "TODO Title"
"title": "Snacking Stop Chance"
}
}
}

View File

@@ -11,20 +11,26 @@
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title"
"title": "Cooldown Time"
},
"drop_item_chance": {
"type": "number",
"default": 1,
"description": "The probability that the mob will drop an item when it sneezes.",
"title": "TODO Title"
"title": "Drop Item Chance"
},
"entity_types": {
"$ref": "../types/entity_types.json",
"description": "List of entity types this mob will startle (cause to jump) when it sneezes.",
"title": "TODO Title"
"title": "Entity Types"
},
"loot_table": {
"type": "string",
"default": "loot_tables/empty.json",
"description": "Loot table to select dropped items from.",
"title": "Loot Table",
"pattern": "^loot_tables/.*.json$"
},
"loot_table": { "type": "string", "default": "", "description": "Loot table to select dropped items from.", "title": "Loot Table" },
"prepare_sound": {
"type": "string",
"default": "",

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.squid_dive",
"description": "Allows the squid to dive down in water. Can only be used by the Squid.",
"description": "Allows an entity to dive underwater.",
"type": "object",
"title": "Squid Dive 1.8.0",
"additionalProperties": false,

View File

@@ -8,51 +8,49 @@
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "TODO Title" },
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "TODO Title" },
"attack_once": { "type": "boolean", "default": false, "description": "If true, this mob will attack only one time.", "title": "Attack Once" },
"attack_types": { "type": "string", "default": "", "description": "Defines the entity types this mob will attack", "title": "Attack Types" },
"probability": {
"type": "number",
"default": 0.02,
"description": "The probability of sneezing. A value of 1.00 is 100%",
"title": "TODO Title"
"title": "Probability"
},
"random_stop_interval": {
"type": "integer",
"default": 0,
"description": "Defines the probability the mob will stop fighting. A value of 0 disables randomly stopping, while a value of 1 defines a 50% chance",
"title": "TODO Title"
"title": "Random Stop Interval"
},
"reach_multiplier": {
"type": "number",
"default": 2,
"description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)",
"title": "TODO Title"
"title": "Reach Multiplier"
},
"require_complete_path": {
"type": "boolean",
"default": false,
"description": "If true, this goal will only trigger if the mob can reach its target.",
"title": "TODO Title"
"title": "Require Complete Path"
},
"sound": { "type": "string", "description": "Sound to play when the sneeze occurs.", "title": "TODO Title" },
"sound": { "type": "string", "description": "Sound to play when the sneeze occurs.", "title": "Sound" },
"track_target": {
"type": "boolean",
"default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "TODO Title"
"title": "Track Target"
},
"stomp_range_multiplier": {
"type": "number",
"title": "Stomp Range Multiplier",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"no_damage_range_multiplier": {
"type": "number",
"title": "No Damage Range Multiplier",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -12,25 +12,25 @@
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "TODO Title"
"title": "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": "TODO Title"
"title": "Interval"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for turtle eggs to move towards",
"title": "TODO Title"
"title": "Search Height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for turtle eggs to move towards",
"title": "TODO Title"
"title": "Search Range"
}
}
}

View File

@@ -1,5 +1,5 @@
{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.stay_while_sitting",
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.summon_entity",
"description": "Allows the mob to attack the player by summoning other entities.",
"title": "Stay While Sitting 1.8.0",
"type": "object",
@@ -9,28 +9,41 @@
"priority": { "$ref": "./types/priority.json" },
"summon_choices": {
"type": "array",
"description": "List of spells for the mob to use to summon entities. Each spell has the following parameters:",
"description": "List of spells for the mob to use to summon entities",
"title": "Summon Choices",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"cast_duration": { "type": "number", "description": "Time in seconds the spell casting will take" },
"cooldown_time": { "type": "number", "default": 0, "description": "Time in seconds the mob has to wait before using the spell again" },
"cast_duration": {
"type": "number",
"description": "Time in seconds the spell casting will take",
"title": "Cast Duration"
},
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the spell again",
"title": "Cooldown Time"
},
"do_casting": {
"type": "boolean",
"default": true,
"description": "If true, the mob will do the casting animations and render spell particles"
"description": "If true, the mob will do the casting animations and render spell particles",
"title": "Do Casting"
},
"filters": { "$ref": "../../filters/filters.json" },
"max_activation_range": {
"type": "number",
"default": -1,
"description": "Upper bound of the activation distance in blocks for this spell"
"description": "Upper bound of the activation distance in blocks for this spell",
"title": "Maximum Activation Range"
},
"min_activation_range": {
"type": "number",
"default": 1,
"description": "Lower bound of the activation distance in blocks for this spell"
"description": "Lower bound of the activation distance in blocks for this spell",
"title": "Minimum Activation Range"
},
"particle_color": {
"description": "The color of the particles for this spell",
@@ -42,7 +55,8 @@
},
"sequence": {
"type": "array",
"description": "List of steps for the spell. Each step has the following parameters:",
"description": "List of steps for the spell",
"title": "Sequence",
"items": {
"type": "object",
"additionalProperties": false,
@@ -62,7 +76,6 @@
"type": "number",
"default": 0,
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"entity_type": { "type": "string", "description": "The entity type of the entities we will spawn in this step" },
@@ -75,7 +88,6 @@
"type": "number",
"default": 0,
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"target": {
@@ -86,15 +98,15 @@
}
}
},
"start_sound_event": { "type": "string", "description": "The sound event to play when using this spell" },
"start_sound_event": { "type": "string", "description": "The sound event to play when using this spell", "title": "Start Sound Event" },
"weight": {
"type": "number",
"title": "Weight",
"default": 0,
"description": "The weight of this spell. Controls how likely the mob is to choose this spell when casting one"
}
}
},
"title": "TODO Title"
}
}
}
}

View File

@@ -11,13 +11,13 @@
"type": "number",
"default": 10,
"description": "This mob starts swelling when a target is at least this many blocks away",
"title": "TODO Title"
"title": "Start Distance"
},
"stop_distance": {
"type": "number",
"default": 2,
"description": "This mob stops swelling when a target has moved away at least this many blocks",
"title": "TODO Title"
"title": "Stop Distance"
}
}
}

View File

@@ -2,14 +2,13 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.swim_idle",
"type": "object",
"title": "Swim Idle 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "./types/priority.json" },
"idle_time": { "title": "TODO", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"success_rate": { "title": "TODO", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
"idle_time": { "title": "Idle Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" },
"success_rate": { "title": "Succes Rate", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
}
}

View File

@@ -4,7 +4,6 @@
"title": "Swim With Entity 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": [],
"properties": {
@@ -14,63 +13,54 @@
"type": "number",
"title": "Success Rate",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"chance_to_stop": {
"type": "number",
"title": "Chance To Stop",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"state_check_interval": {
"type": "number",
"title": "State Check Interval",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"catch_up_threshold": {
"type": "number",
"title": "Catch Up Threshold",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"match_direction_threshold": {
"type": "number",
"title": "Match Direction Threshold",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"catch_up_multiplier": {
"type": "number",
"title": "Catch Up Multiplier",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"search_range": {
"type": "number",
"title": "Search Range",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"stop_distance": {
"type": "number",
"title": "Stop Distance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"entity_types": {
"$ref": "../types/entity_types.json",
"title": "Entity Types",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -12,14 +12,13 @@
"type": "number",
"title": "Damage Reach",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"delay_range": {
"$ref": "../types/range_number_type.json",
"default": [10.0, 20.0],
"default": [[10.0, 20.0]],
"description": "Range of time in seconds between uses of this goal.",
"title": "TODO Title"
"title": "Delay Range"
}
}
}

View File

@@ -2,7 +2,6 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.behavior.target_when_pushed",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"type": "object",
"title": "Target When Pushed 1.8.0",
"additionalProperties": false,
@@ -13,14 +12,12 @@
"$ref": "../types/entity_types.json",
"title": "Entity Types",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"percent_chance": {
"type": "number",
"title": "Percent Chance",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}

View File

@@ -18,7 +18,6 @@
"type": "boolean",
"title": "Can Tempt While Ridden",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"items": {

View File

@@ -40,6 +40,5 @@
}
},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}

View File

@@ -6,6 +6,8 @@
"additionalProperties": false,
"required": [],
"properties": {
"broadcastAnger": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Broadcast Anger" },
"broadcastRange": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Broadcast Range" },
"broadcast_anger": {
"type": "boolean",
"default": false,
@@ -17,6 +19,11 @@
"description": "Conditions that make this entry in the list valid",
"title": "Broadcast Filters"
},
"filters": {
"$ref": "../../filters/filters.json",
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
"title": "Filters"
},
"broadcast_range": {
"type": "integer",
"default": 20,
@@ -34,6 +41,19 @@
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being `angry')",
"title": "Calm Event"
},
"angry_sound": { "type": "string", "default": "", "description": "The sound event to play when the mob is angry", "title": "Angry Sound" },
"broadcast_anger_on_attack": {
"type": "boolean",
"default": false,
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks",
"title": "Broadcast Anger On Attack"
},
"broadcast_anger_on_being_attacked": {
"type": "boolean",
"default": false,
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked",
"title": "Broadcast Anger On Being Attacked"
},
"duration": {
"type": "integer",
"default": 25,
@@ -46,7 +66,27 @@
"description": "Variance in seconds added to the duration [-delta, delta]",
"title": "Duration Delta"
},
"broadcastAnger": { "type": "boolean", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO" },
"broadcastRange": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO" }
"sound_interval": {
"description": "The range of time in seconds to randomly wait before playing the sound again",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"default": [0, 0],
"items": [
{ "type": "integer", "minimum": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Minimum" },
{ "type": "integer", "minimum": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Maximum" }
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Minimum" },
"range_max": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Maximum" }
}
}
]
}
}
}

View File

@@ -8,7 +8,7 @@
"properties": {
"filters": {
"$ref": "../../filters/filters.json",
"description": "The list of conditions that must be satisfied before the Actor is despawned",
"description": "The list of conditions that must be satisfied before the Actor is despawned. If a filter is defined then standard despawn rules are ignored.",
"title": "Filters"
},
"despawn_from_chance": {
@@ -25,10 +25,22 @@
},
"despawn_from_distance": {
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO",
"additionalProperties": false
"description": "Defines the minimum and maximum distance for despawn to occur",
"title": "Despawn From Distance",
"properties": {
"max_distance": {
"title": "Maximum Distance",
"description": "Maximum distance for standard despawn rules to instantly despawn the mob.",
"type": "integer",
"default": 128
},
"min_distance": {
"title": "Minimum Distance",
"description": "Minimum distance for standard despawn rules to try to despawn the mob.",
"type": "integer",
"default": 32
}
}
},
"despawn_from_simulation_edge": {
"type": "boolean",
@@ -40,13 +52,13 @@
"type": "integer",
"default": 30,
"description": "The amount of time in seconds that the mob must be inactive.",
"title": "Min Range Inactivity Timer"
"title": "Minimum Range Inactivity Timer"
},
"min_range_random_chance": {
"type": "integer",
"default": 800,
"description": "A random chance between 1 and the given value.",
"title": "Min Range Random Chance"
"title": "Minimum Range Random Chance"
},
"remove_child_entities": {
"type": "boolean",

View File

@@ -5,56 +5,71 @@
"additionalProperties": false,
"description": "Defines the way a mob's genes and alleles are passed on to it's offspring, and how those traits manifest in the child. Compatible parent genes are crossed together, the alleles are handed down from the parents to the child, and any matching genetic variants fire off JSON events to modify the child and express the traits.",
"required": [],
"definitions": {
"integer_range": {
"title": "Range",
"examples": [-1, { "range_min": 4, "range_max": 7 }],
"oneOf": [
{ "type": "integer" },
{
"type": "object",
"properties": {
"range_min": {
"type": "integer",
"default": 0,
"description": "Lower bound",
"title": "Range Minimum"
},
"range_max": {
"type": "integer",
"default": 0,
"description": "Upper bound",
"title": "Range Maximum"
}
}
}
]
}
},
"properties": {
"mutation_rate": {
"type": "number",
"default": 0.03125,
"description": "Chance that an allele will be replaced with a random one instead of the parent's allele during birth.",
"title": "TODO Title"
"title": "Mutation Rate"
},
"genes": {
"type": "array",
"description": "Genes is a list defined by three parameters",
"title": "Genes",
"items": {
"type": "object",
"description": "The list of genes that this entity has and will cross with a partner during breeding.",
"title": "Gene",
"properties": {
"allele_range": {
"title": "Allele Range",
"description": "The range of positive integer allele values for this gene. Spawned mobs will have a random number in this range assigned to them.",
"oneOf": [
{ "type": "integer" },
{
"properties": {
"range_min": { "type": "integer", "default": 0, "description": "Lower bound of the allele values for this gene." },
"range_max": { "type": "integer", "default": 0, "description": "Upper bound of the allele values for this gene." }
}
}
]
"$ref": "#/definitions/integer_range"
},
"genetic_variants": {
"type": "array",
"description": "The list of genetic variants for this gene. These check for particular allele combinations and fire events when all of them are satisfied.",
"title": "Genetic Variants",
"items": {
"title": "Genetic Variants",
"description": "The genetic variant for this gene. These check for particular allele combinations and fire events when all of them are satisfied.",
"type": "object",
"properties": {
"birth_event": {
"$ref": "../types/event.json",
"description": "Event to run when this mob is created and matches the above allele conditions."
"description": "Event to run when this mob is created and matches the above allele conditions.",
"title": "Brith Event"
},
"both_allele": {
"description": "If this value is non-negative, compare both the mob's main and hidden alleles with this value for a match with both. Can also be a range of integers.",
"oneOf": [
{ "type": "integer" },
{
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO",
"additionalProperties": false,
"properties": {
"range_min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO" },
"range_max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO" }
}
}
]
"title": "Both Allele",
"$ref": "#/definitions/integer_range"
},
"either_allele": {
"type": "integer",
@@ -69,29 +84,13 @@
"main_allele": {
"default": -1,
"description": "If this value is non-negative, compare the mob's main allele with this value for a match. Can also be a range of integers.",
"oneOf": [
{ "type": "integer" },
{
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO",
"additionalProperties": false,
"properties": {
"range_min": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO" },
"range_max": { "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO" }
}
}
]
"$ref": "#/definitions/integer_range"
}
}
}
}
}
}
},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "TODO Title"
}
}
}

View File

@@ -2,8 +2,17 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.loot",
"type": "object",
"title": "Loot 1.8.0",
"description": "sets the loot table for what items this entity drops upon death.",
"additionalProperties": false,
"required": [],
"properties": { "table": { "type": "string", "pattern": ".*\\.json$", "description": "UNDOCUMENTATED: table", "title": "Table" } },
"description": "UNDOCUMENTATED: "
"required": ["table"],
"examples": [{ "table": "loot_tables/empty.json" }],
"properties": {
"table": {
"type": "string",
"pattern": "^loot_tables/.*.json$",
"description": "The path to the loot table, relative to the Behavior Pack's root.",
"title": "Table",
"default": "loot_tables/empty.json"
}
}
}