Updated
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.block_light_absorption",
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.block_light_filter",
|
||||
"additionalProperties": false,
|
||||
"type": "integer",
|
||||
"title": "Block Light Absorption",
|
||||
"title": "Block Light filter",
|
||||
"description": "The amount of light this block will filter out. Higher value means more light will be filtered out (0 - 15).",
|
||||
"default": 0
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"minecraft:block_light_absorption": { "$ref": "./components/block_light_absorption.json" },
|
||||
"minecraft:block_light_filter": { "$ref": "./components/block_light_filter.json" },
|
||||
"minecraft:block_light_emission": { "$ref": "./components/block_light_emission.json" },
|
||||
"minecraft:breakonpush": { "$ref": "./components/breakonpush.json" },
|
||||
"minecraft:breathability": { "$ref": "./components/breathability.json" },
|
||||
|
||||
36
source/behavior/entities/format/behaviors/croak.json
Normal file
36
source/behavior/entities/format/behaviors/croak.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.croak",
|
||||
"type": "object",
|
||||
"title": "Eat Block",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Allows the entity to croak at a random time interval with configurable conditions.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Mininum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
],
|
||||
"default": [4.5, 4.5],
|
||||
"description": "Random range in seconds after which the croaking stops. Can also be a constant."
|
||||
},
|
||||
"filters": {
|
||||
"title": "Filters",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Conditions for the behavior to start and keep running. The interval between runs only starts after passing the filters."
|
||||
},
|
||||
"interval": {
|
||||
"title": "Interval",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Mininum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
],
|
||||
"default": [10, 20],
|
||||
"description": "Random range in seconds between runs of this behavior. Can also be a constant."
|
||||
}
|
||||
}
|
||||
}
|
||||
47
source/behavior/entities/format/behaviors/dig.json
Normal file
47
source/behavior/entities/format/behaviors/dig.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.dig",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Dig",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Activates the `DIGGING` actor flag during the specified duration. Currently only Warden can use the Dig goal",
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"allow_dig_when_named": {
|
||||
"title": "Allow Dig When Named",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, this behavior can run when this entity is named. Otherwise not."
|
||||
},
|
||||
"digs_in_daylight": {
|
||||
"title": "Digs In Daylight",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Indicates that the actor should start digging when it sees daylight"
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Goal duration in seconds"
|
||||
},
|
||||
"idle_time": {
|
||||
"title": "Idle Time",
|
||||
"type": "number",
|
||||
"description": "The minimum idle time in seconds between the last detected disturbance to the start of digging."
|
||||
},
|
||||
"suspicion_is_disturbance": {
|
||||
"title": "Suspicion Is Disturbance",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, finding new suspicious locations count as disturbances that may delay the start of this goal."
|
||||
},
|
||||
"vibration_is_disturbance": {
|
||||
"title": "Vibration Is Disturbance",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, vibrations count as disturbances that may delay the start of this goal."
|
||||
}
|
||||
}
|
||||
}
|
||||
47
source/behavior/entities/format/behaviors/eat_mob.json
Normal file
47
source/behavior/entities/format/behaviors/eat_mob.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.eat_mob",
|
||||
"type": "object",
|
||||
"title": "Eat Mob",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Allows the entity to eat a specified Mob.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"eat_animation_time": {
|
||||
"title": "Eat Animation Time",
|
||||
"type": "number",
|
||||
"default": 1000000,
|
||||
"description": "Sets the time in seconds the eat animation should play for."
|
||||
},
|
||||
"eat_mob_sound": {
|
||||
"title": "Eat Mob Sound",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Sets the sound that should play when eating a mob."
|
||||
},
|
||||
"loot_table": {
|
||||
"title": "Loot Table",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The loot table for loot to be dropped when eating a mob."
|
||||
},
|
||||
"pull_in_force": {
|
||||
"title": "Pull In Force",
|
||||
"type": "number",
|
||||
"default": 1000000,
|
||||
"description": "Sets the force which the mob-to-be-eaten is pulled towards the eating mob."
|
||||
},
|
||||
"reach_mob_distance": {
|
||||
"title": "Reach Mob Distance",
|
||||
"type": "number",
|
||||
"default": 1000000,
|
||||
"description": "Sets the desired distance to be reached before eating the mob."
|
||||
},
|
||||
"run_speed": {
|
||||
"title": "Run Speed",
|
||||
"type": "number",
|
||||
"default": 1000000,
|
||||
"description": "Sets the entity's speed when running toward the target."
|
||||
}
|
||||
}
|
||||
}
|
||||
28
source/behavior/entities/format/behaviors/emerge.json
Normal file
28
source/behavior/entities/format/behaviors/emerge.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.emerge",
|
||||
"type": "object",
|
||||
"title": "Eat Mob",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"cooldown_time": {
|
||||
"title": "Cooldown Time",
|
||||
"type": "integer",
|
||||
"default": 0.5,
|
||||
"description": "Time in seconds the mob has to wait before using the goal again"
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 5.0,
|
||||
"description": "Goal duration in seconds"
|
||||
},
|
||||
"on_done": {
|
||||
"title": "On Done",
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Trigger to be executed when the goal execution is about to end"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.fertilize_farm_block",
|
||||
"type": "object",
|
||||
"title": "Fertilize Farm Block",
|
||||
"description": "Allows the mob to search within an area for a growable crop block. If found, the mob will use any available fertilizer in their inventory on the crop. This goal will not execute if the mob does not have a fertilizer item in its inventory.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"goal_radius": {
|
||||
"title": "Goal Radius",
|
||||
"type": "number",
|
||||
"default": 1.5,
|
||||
"description": "Distance in blocks within the mob considers it has reached it's target position."
|
||||
},
|
||||
"max_fertilizer_usage": {
|
||||
"title": "Maximum Fertilizer Usage",
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "The maximum number of times the mob will use fertilzer on the target block."
|
||||
},
|
||||
"search_cooldown_max_seconds": {
|
||||
"title": "Search Cooldown Maximum Seconds",
|
||||
"type": "number",
|
||||
"default": 8.0,
|
||||
"description": "The maximum amount of time in seconds that the goal can take before searching again. The time is chosen between 0 and this number."
|
||||
},
|
||||
"search_count": {
|
||||
"title": "Search Count",
|
||||
"type": "integer",
|
||||
"default": 9,
|
||||
"description": "The number of randomly selected blocks each tick that the mob will check within its 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."
|
||||
},
|
||||
"search_height": {
|
||||
"title": "Search Height",
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "The Height in blocks the mob will search within to find a valid target position."
|
||||
},
|
||||
"search_range": {
|
||||
"title": "Search Range",
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "The distance in blocks the mob will search within to find a valid target position."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"cooldown_time": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -8,28 +8,72 @@
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
|
||||
//
|
||||
"allow_laying_from_below": {
|
||||
"title": "Allow Laying From Below",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "[EXPERIMENTAL] Allows the mob to lay its eggs from below the target if it can't get there. This is useful if the target block is water with air above, since mobs may not be able to get to the air block above water."
|
||||
},
|
||||
"egg_type": {
|
||||
"title": "Egg Type",
|
||||
"type": "string",
|
||||
"default": "minecraft:turtle_egg",
|
||||
"description": "[EXPERIMENTAL] Block type for the egg to lay. If this is a turtle egg, the number of eggs in the block is randomly set."
|
||||
},
|
||||
"goal_radius": {
|
||||
"title": "Goal Radius",
|
||||
"type": "number",
|
||||
"default": 0.5,
|
||||
"description": "Distance in blocks within the mob considers it has reached the goal. This is the `wiggle room` to stop the AI from bouncing back and forth trying to reach a specific spot",
|
||||
"title": "Goal Radius"
|
||||
"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"
|
||||
},
|
||||
"lay_egg_sound": {
|
||||
"title": "Lay Egg Sound",
|
||||
"type": "string",
|
||||
"default": "lay_egg",
|
||||
"description": "[EXPERIMENTAL] Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."
|
||||
},
|
||||
"lay_seconds": {
|
||||
"title": "Lay Seconds",
|
||||
"type": "number",
|
||||
"default": 10.0,
|
||||
"description": "[EXPERIMENTAL] Duration of the laying egg process in seconds."
|
||||
},
|
||||
"on_lay": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to run when this mob lays the egg.",
|
||||
"title": "On Lay"
|
||||
"title": "On Lay",
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Event to run when this mob lays the egg."
|
||||
},
|
||||
"search_height": {
|
||||
"title": "Search Height",
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "Height in blocks the mob will look for sand block to move towards",
|
||||
"title": "Search Height"
|
||||
"description": "Height in blocks the mob will look for a target block to move towards"
|
||||
},
|
||||
"search_range": {
|
||||
"title": "Search Range",
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The distance in blocks it will look for a sand block to move towards",
|
||||
"title": "Search Range"
|
||||
"description": "The distance in blocks it will look for a target block to move towards"
|
||||
},
|
||||
"target_blocks": {
|
||||
"title": "Target Blocks",
|
||||
"type": "array",
|
||||
"default": ["minecraft:sand"],
|
||||
"description": "[EXPERIMENTAL] Blocks that the mob can lay its eggs on top of."
|
||||
},
|
||||
"target_materials_above_block": {
|
||||
"title": "Target Materials Above Block",
|
||||
"type": "array",
|
||||
"default": ["air"],
|
||||
"description": "[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."
|
||||
},
|
||||
"use_default_animation": {
|
||||
"title": "Use Default Animation",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "[EXPERIMENTAL] Specifies if the default lay-egg animation should be played when the egg is placed or not."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -75,6 +75,12 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"target_block_filters": {
|
||||
"title": "Target Block Filters",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "../../filters/filters.json"
|
||||
},
|
||||
"tick_interval": {
|
||||
"title": "Tick Interval",
|
||||
"type": "integer",
|
||||
|
||||
18
source/behavior/entities/format/behaviors/roar.json
Normal file
18
source/behavior/entities/format/behaviors/roar.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.roar",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Dig",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Plays the provided sound and activates the `ROARING` actor flag during the specified duration",
|
||||
"properties": {
|
||||
"priority": {
|
||||
"$ref": "./types/priority.json"
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Goal duration in seconds"
|
||||
}
|
||||
}
|
||||
}
|
||||
77
source/behavior/entities/format/behaviors/sonic_boom.json
Normal file
77
source/behavior/entities/format/behaviors/sonic_boom.json
Normal file
@@ -0,0 +1,77 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.sonic_boom",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Dig",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration",
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
"attack_cooldown": {
|
||||
"title": "Attack Cooldown",
|
||||
"type": "number",
|
||||
"default": 5.0,
|
||||
"description": "Cooldown in seconds required after using this attack until the entity can use sonic boom again."
|
||||
},
|
||||
"attack_damage": {
|
||||
"title": "Attack Damage",
|
||||
"type": "number",
|
||||
"default": 30.0,
|
||||
"description": "Attack damage of the sonic boom."
|
||||
},
|
||||
"attack_range_horizontal": {
|
||||
"title": "Attack Range Horizontal",
|
||||
"type": "number",
|
||||
"default": 15.0,
|
||||
"description": "Horizontal range (in blocks) at which the sonic boom can damage the target."
|
||||
},
|
||||
"attack_range_vertical": {
|
||||
"title": "Attack Range Vertical",
|
||||
"type": "number",
|
||||
"default": 20.0,
|
||||
"description": "Vertical range (in blocks) at which the sonic boom can damage the target."
|
||||
},
|
||||
"attack_sound": {
|
||||
"title": "Attack Sound",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Sound event for the attack."
|
||||
},
|
||||
"charge_sound": {
|
||||
"title": "Charge Sound",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Sound event for the charge up."
|
||||
},
|
||||
"duration": {
|
||||
"title": "Duration",
|
||||
"type": "number",
|
||||
"default": 3.0,
|
||||
"description": "Goal duration in seconds"
|
||||
},
|
||||
"duration_until_attack_sound": {
|
||||
"title": "Duration Until Attack Sound",
|
||||
"type": "number",
|
||||
"default": 1.7,
|
||||
"description": "Duration in seconds until the attack sound is played."
|
||||
},
|
||||
"knockback_height_cap": {
|
||||
"title": "Knockback Height Cap",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Height cap of the attack knockback's vertical delta."
|
||||
},
|
||||
"knockback_horizontal_strength": {
|
||||
"title": "Knockback Horizontal Strength",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Horizontal strength of the attack's knockback applied to the attack target."
|
||||
},
|
||||
"knockback_vertical_strength": {
|
||||
"title": "Knockback Vertical Strength",
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Vertical strength of the attack's knockback applied to the attack target."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@
|
||||
},
|
||||
"on_arrival": {
|
||||
"title": "On Arrival",
|
||||
"type": "trigger",
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Event to run when the mob reaches their jobsite."
|
||||
},
|
||||
"sound_delay_max": {
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"minecraft:admire_item": { "$ref": "./components/admire_item.json" },
|
||||
"minecraft:ageable": { "$ref": "./components/ageable.json" },
|
||||
"minecraft:ambient_sound_interval": { "$ref": "./components/ambient_sound_interval.json" },
|
||||
"minecraft:anger_level": { "$ref": "./components/anger_level.json" },
|
||||
"minecraft:angry": { "$ref": "./components/angry.json" },
|
||||
"minecraft:annotation.break_door": { "$ref": "./components/annotation.break_door.json" },
|
||||
"minecraft:annotation.open_door": { "$ref": "./components/annotation.open_door.json" },
|
||||
@@ -198,9 +199,11 @@
|
||||
"minecraft:behavior.charge_held_item": { "$ref": "./behaviors/charge_held_item.json" },
|
||||
"minecraft:behavior.circle_around_anchor": { "$ref": "./behaviors/circle_around_anchor.json" },
|
||||
"minecraft:behavior.controlled_by_player": { "$ref": "./behaviors/controlled_by_player.json" },
|
||||
"minecraft:behavior.croak": { "$ref": "./behaviors/croak.json" },
|
||||
"minecraft:behavior.defend_trusted_target": { "$ref": "./behaviors/defend_trusted_target.json" },
|
||||
"minecraft:behavior.defend_village_target": { "$ref": "./behaviors/defend_village_target.json" },
|
||||
"minecraft:behavior.delayed_attack": { "$ref": "./behaviors/delayed_attack.json" },
|
||||
"minecraft:behavior.dig": { "$ref": "./behaviors/dig.json" },
|
||||
"minecraft:behavior.door_interact": { "$ref": "./behaviors/door_interact.json" },
|
||||
"minecraft:behavior.dragonchargeplayer": { "$ref": "./behaviors/dragonchargeplayer.json" },
|
||||
"minecraft:behavior.dragondeath": { "$ref": "./behaviors/dragondeath.json" },
|
||||
@@ -214,10 +217,13 @@
|
||||
"minecraft:behavior.drop_item_for": { "$ref": "./behaviors/drop_item_for.json" },
|
||||
"minecraft:behavior.eat_block": { "$ref": "./behaviors/eat_block.json" },
|
||||
"minecraft:behavior.eat_carried_item": { "$ref": "./behaviors/eat_carried_item.json" },
|
||||
"minecraft:behavior.eat_mob": { "$ref": "./behaviors/eat_mob.json" },
|
||||
"minecraft:behavior.emerge": { "$ref": "./behaviors/eat_mob.json" },
|
||||
"minecraft:behavior.enderman_leave_block": { "$ref": "./behaviors/enderman_leave_block.json" },
|
||||
"minecraft:behavior.enderman_take_block": { "$ref": "./behaviors/enderman_take_block.json" },
|
||||
"minecraft:behavior.equip_item": { "$ref": "./behaviors/equip_item.json" },
|
||||
"minecraft:behavior.explore_outskirts": { "$ref": "./behaviors/explore_outskirts.json" },
|
||||
"minecraft:behavior.fertilize_farm_block": { "$ref": "./behaviors/fertilize_farm_block.json" },
|
||||
"minecraft:behavior.find_cover": { "$ref": "./behaviors/find_cover.json" },
|
||||
"minecraft:behavior.find_mount": { "$ref": "./behaviors/find_mount.json" },
|
||||
"minecraft:behavior.find_underwater_treasure": { "$ref": "./behaviors/find_underwater_treasure.json" },
|
||||
@@ -297,6 +303,7 @@
|
||||
"minecraft:behavior.restrict_open_door": { "$ref": "./behaviors/restrict_open_door.json" },
|
||||
"minecraft:behavior.restrict_sun": { "$ref": "./behaviors/restrict_sun.json" },
|
||||
"minecraft:behavior.rise_to_liquid_level": { "$ref": "./behaviors/rise_to_liquid_level.json" },
|
||||
"minecraft:behavior.roar": { "$ref": "./behaviors/roar.json" },
|
||||
"minecraft:behavior.roll": { "$ref": "./behaviors/roll.json" },
|
||||
"minecraft:behavior.run_around_like_crazy": { "$ref": "./behaviors/run_around_like_crazy.json" },
|
||||
"minecraft:behavior.scared": { "$ref": "./behaviors/scared.json" },
|
||||
@@ -312,6 +319,7 @@
|
||||
"minecraft:behavior.slime_random_direction": { "$ref": "./behaviors/slime_random_direction.json" },
|
||||
"minecraft:behavior.snacking": { "$ref": "./behaviors/snacking.json" },
|
||||
"minecraft:behavior.sneeze": { "$ref": "./behaviors/sneeze.json" },
|
||||
"minecraft:behavior.sonic_boom": { "$ref": "./behaviors/sonic_boom.json" },
|
||||
"minecraft:behavior.squid_dive": { "$ref": "./behaviors/squid_dive.json" },
|
||||
"minecraft:behavior.squid_flee": { "$ref": "./behaviors/squid_flee.json" },
|
||||
"minecraft:behavior.squid_idle": { "$ref": "./behaviors/squid_idle.json" },
|
||||
|
||||
59
source/behavior/entities/format/components/anger_level.json
Normal file
59
source/behavior/entities/format/components/anger_level.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.anger_level",
|
||||
"type": "object",
|
||||
"title": "Angry",
|
||||
"description": "Allows this entity to track anger towards a set of nuisances",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"anger_decrement_interval": {
|
||||
"title": "Anger Decrement Interval",
|
||||
"type": "number",
|
||||
"default": 1.0,
|
||||
"description": "Anger level will decay over time. Defines how often anger towards all nuisances will be decreased by one"
|
||||
},
|
||||
"angry_boost": {
|
||||
"title": "Angry Boost",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 20,
|
||||
"description": "Anger boost applied to angry threshold when mob gets angry"
|
||||
},
|
||||
"angry_threshold": {
|
||||
"title": "Angry Threshold",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"default": 80,
|
||||
"description": "Threshold that define when the mob is considered angry at a nuisance"
|
||||
},
|
||||
"default_annoyingness": {
|
||||
"title": "Default Annoyingness",
|
||||
"type": "string",
|
||||
"default": "0",
|
||||
"description": "The default amount of annoyingness for any given nuisance. Specifies how much to raise anger level on each provocation"
|
||||
},
|
||||
"max_anger": {
|
||||
"title": "Maximum Anger",
|
||||
"type": "integer",
|
||||
"default": 100,
|
||||
"minimum": 0,
|
||||
"description": "The maximum anger level that can be reached. Applies to any nuisance"
|
||||
},
|
||||
"nuisance_filter": {
|
||||
"title": "Nuisance Filter",
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filter that is applied to determine if a mob can be a nuisance"
|
||||
},
|
||||
"on_increase_sounds": {
|
||||
"title": "On Increase Sounds",
|
||||
"$ref": "../../filters/filters.json"
|
||||
},
|
||||
"remove_targets_below_angry_threshold": {
|
||||
"title": "Remove Targets Below Angry Threshold",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Defines if the mob should remove target if it falls below 'angry' threshold"
|
||||
}
|
||||
},
|
||||
"examples": []
|
||||
}
|
||||
@@ -6,6 +6,13 @@
|
||||
"title": "Health",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {},
|
||||
"properties": {
|
||||
"interval": {
|
||||
"title": "Interval",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "../../../../molang/number.json"
|
||||
}
|
||||
},
|
||||
"examples": [{}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user