Merge pull request #67 from ChibiMango/main

Updated titles
This commit is contained in:
Daan Verstraten
2022-07-27 07:45:53 +02:00
committed by GitHub
43 changed files with 100 additions and 85 deletions

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.croak",
"type": "object",
"title": "Eat Block",
"title": "Croak",
"description": "[EXPERIMENTAL BEHAVIOR] Allows the entity to croak at a random time interval with configurable conditions.",
"additionalProperties": false,
"required": [],

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.drink_potion",
"type": "object",
"title": "Beg",
"title": "Drink Potion",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"additionalProperties": false,
"properties": {

View File

@@ -1,8 +1,8 @@
{
"$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.",
"title": "Emerge",
"description": "[EXPERIMENTAL BEHAVIOR] Activates the `EMERGING` actor flag during the specified duration and triggers `on_done` at the end",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.float",
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.follow_parent",
"type": "object",
"title": "Float",
"title": "Follow Parent",
"description": "Allows the mob to follow their parent around.",
"additionalProperties": false,
"required": [],

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.go_and_give_items_to_noteblock",
"type": "object",
"title": "Barter",
"title": "Go And Give Items To Noteblock",
"description": "[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to a nearby recently played noteblock.",
"additionalProperties": false,
"properties": {
@@ -9,13 +9,13 @@
"$ref": "types/priority.json"
},
"listen_time": {
"title": "listen time",
"title": "Listen Time",
"type": "integer",
"default": 0.0,
"description": "Sets the time an entity should continue delivering items to a noteblock after hearing it."
},
"on_item_throw": {
"title": "on item throw",
"title": "On Item Throw",
"description": "Event(s) to run when this mob throws items.",
"oneOf": [
{ "$ref": "../types/trigger.json" },
@@ -26,33 +26,33 @@
]
},
"reach_block_distance": {
"title": "reach block distance",
"title": "Reach Block Distance",
"type": "number",
"default": 3000000,
"default": 3.0,
"description": "Sets the desired distance to be reached before throwing the items towards the block."
},
"run_speed": {
"title": "run speed",
"title": "Run Speed",
"type": "number",
"default": 1000000,
"default": 1.0,
"description": "Sets the entity's speed when running toward the block."
},
"throw_force": {
"title": "throw force",
"title": "Throw Force",
"type": "number",
"default": 0.2,
"description": "Sets the throw force."
},
"throw_sound": {
"title": "throw sound",
"title": "Throw Sound",
"type": "string",
"default": "",
"description": "Sound to play when this mob throws an item."
},
"vertical_throw_mul": {
"title": "vertical throw mul",
"title": "Vertical Throw Mul",
"type": "number",
"default": 1500000,
"default": 1.5,
"description": "Sets the vertical throw multiplier that is applied on top of the throw force in the vertical direction."
}
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.go_and_give_items_to_owner",
"type": "object",
"title": "Barter",
"title": "Go And Give Items To Owner",
"description": "[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to its owner.",
"additionalProperties": false,
"properties": {
@@ -9,7 +9,7 @@
"$ref": "types/priority.json"
},
"on_item_throw": {
"title": "on item throw",
"title": "On Item Throw",
"$ref": "../types/trigger.json",
"description": "Event(s) to run when this mob throws items.",
"oneOf": [
@@ -21,33 +21,33 @@
]
},
"reach_mob_distance": {
"title": "reach mob distance",
"title": "Reach Mob Distance",
"type": "number",
"default": 3000000,
"default": 3.0,
"description": "Sets the desired distance to be reached before giving items to owner."
},
"run_speed": {
"title": "run speed",
"title": "Run Speed",
"type": "number",
"default": 1000000,
"default": 1.0,
"description": "Sets the entity's speed when running toward the owner."
},
"throw_force": {
"title": "throw force",
"title": "Throw Force",
"type": "number",
"default": 0.2,
"description": "Sets the throw force."
},
"throw_sound": {
"title": "throw sound",
"title": "Throw Sound",
"type": "string",
"default": "item_thrown",
"description": "Sound to play when this mob throws an item."
},
"vertical_throw_mul": {
"title": "vertical throw mul",
"title": "Vertical Throw Mul",
"type": "number",
"default": 1500000,
"default": 1.5,
"description": "Sets the vertical throw multiplier that is applied on top of the throw force in the vertical direction."
}
}

View File

@@ -22,12 +22,18 @@
"on_home": {
"description": "Event(s) to run when this mob gets home.",
"title": "On Home",
"oneOf": [{ "$ref": "../types/trigger.json" }, { "type": "array", "items": { "$ref": "../types/trigger.json" } }]
"type": "array",
"items": {
"$ref": "../types/trigger.json"
}
},
"on_failed": {
"title": "On Failed",
"description": "Event(s) to run when this goal fails.",
"oneOf": [{ "$ref": "../types/event.json" }, { "type": "array", "items": { "$ref": "../types/event.json" } }]
"type": "array",
"items": {
"$ref": "../types/event.json"
}
},
"calculate_new_path_radius": {
"title": "Calculate New Path Radius",

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.hurt_by_target",
"type": "object",
"title": "Guardian Attack",
"title": "Hurt By Target",
"additionalProperties": false,
"description": "Allows the mob to target another mob that hurts them.",
"required": [],

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.jump_to_block",
"type": "object",
"title": "Melee Attack",
"title": "Jump To Block",
"description": "Allows an entity to jump to another random block.",
"additionalProperties": false,
"required": [],

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.guardian_attack",
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.move_towards_target",
"type": "object",
"title": "Guardian Attack",
"title": "Move Towards Target",
"additionalProperties": false,
"description": "Allows mob to move towards its current target.",
"required": [],

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.guardian_attack",
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.open_door",
"type": "object",
"title": "Guardian Attack",
"title": "Open Door",
"additionalProperties": false,
"description": "Allows the mob to open doors. Requires the mob to be able to path through doors, otherwise the mob won't even want to try opening them.",
"required": [],

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.pet_sleep_with_owner",
"description": "Allows the mob to be tempted by food they like.",
"type": "object",
"title": "Tempt",
"title": "Pet Sleep With Owner",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/priority.json" },

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.player_ride_tamed",
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.random_breach",
"description": "Allows the mob to randomly break surface of the water.",
"type": "object",
"title": "Player Ride Tamed",
"title": "Random Breach",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -2,8 +2,8 @@
"$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.",
"title": "Roar",
"description": "[EXPERIMENTAL BEHAVIOR] Plays the provided sound and activates the `ROARING` actor flag during the specified duration",
"properties": {
"priority": {
"$ref": "./types/priority.json"

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.restrict_open_door",
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.run_around_like_crazy",
"description": "Allows the mob to run around aimlessly.",
"type": "object",
"title": "Restrict Open Door",
"title": "Run Around Like Crazy",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -2,8 +2,8 @@
"$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.",
"title": "Sonic Boom",
"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" },

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.stay_near_noteblock",
"type": "object",
"title": "Barter",
"title": "Stay Near Noteblock",
"description": "[EXPERIMENTAL BEHAVIOR] The entity will attempt to toss the items from its inventory to a nearby recently played noteblock.",
"additionalProperties": false,
"properties": {
@@ -9,27 +9,27 @@
"$ref": "types/priority.json"
},
"listen_time": {
"title": "listen time",
"title": "Listen Time",
"type": "integer",
"default": 0.0,
"description": "Sets the time an entity should stay near a noteblock after hearing it."
},
"speed": {
"title": "speed",
"title": "Speed",
"type": "number",
"default": 1000000,
"default": 1.0,
"description": "Sets the entity's speed when moving toward the block."
},
"start_distance": {
"title": "start distance",
"title": "Start Distance",
"type": "number",
"default": 10000000,
"default": 10.0,
"description": "Sets the distance the entity needs to be away from the block to attempt to start the goal."
},
"stop_distance": {
"title": "stop distance",
"title": "Stop Distance",
"type": "number",
"default": 2000000,
"default": 2.0,
"description": "Sets the distance from the block the entity will attempt to reach."
}
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.summon_entity",
"description": "Allows the mob to attack the player by summoning other entities.",
"title": "Stay While Sitting",
"title": "Summon Entity",
"type": "object",
"additionalProperties": false,
"required": [],

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.stay_while_sitting",
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.swell",
"description": "Allows the creeper to swell up when a player is nearby. It can only be used by Creepers.",
"title": "Stay While Sitting",
"title": "Swell",
"type": "object",
"additionalProperties": false,
"required": [],

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.swim_wander",
"description": "Has the fish swim around when they can't pathfind.",
"type": "object",
"title": "Swim Idle",
"title": "Swim Wander",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.anger_level",
"type": "object",
"title": "Angry",
"description": "Allows this entity to track anger towards a set of nuisances.",
"title": "Anger Level",
"description": "Allows this entity to track anger towards a set of nuisances",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -3,7 +3,7 @@
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"type": "object",
"title": "Health",
"title": "Heartbeat",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.horse.jump_strength",
"type": "object",
"title": "Horse.jump Strength",
"title": "Horse Jump Strength",
"additionalProperties": false,
"description": "Allows this mob to jump higher when being ridden by a player.",
"$comment": "UNDOCUMENTED",

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.jump.dynamic",
"description": "Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.",
"type": "object",
"title": "Jump.dynamic",
"title": "Jump Dynamic",
"additionalProperties": false,
"required": [],
"properties": {}

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.jump.static",
"description": "Gives the entity the ability to jump.",
"type": "object",
"title": "Jump.static",
"title": "Jump Static",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -3,19 +3,22 @@
"type": "object",
"title": "Knockback Resistance",
"additionalProperties": false,
"description": "Sets the knockback resistance item component. Determines the amount of knockback resistance that the item has.",
"description": "Determines the amount of knockback resistance that the item has.",
"$comment": "UNDOCUMENTED",
"required": [],
"properties": {
"protection": {
"title": "Protection",
"value": {
"title": "Value",
"type": "number",
"description": "Amount of knockback resistance provided with the total maximum protection being 1.0",
"default": 1.0,
"description": "Percentage of knockback to reduce with 1.0 being 100% reduction.",
"$comment": "UNDOCUMENTED",
"maximum": 1
}
},
"examples": [
{
"protection": 0.5
"value": 1.0
}
]
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.amphibious",
"type": "object",
"title": "Movement.amphibious",
"title": "Movement Amphibious",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.basic",
"type": "object",
"title": "Movement.basic",
"title": "Movement Basic",
"description": "defines the movement of an entity.",
"additionalProperties": false,
"required": [],

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.fly",
"type": "object",
"title": "Movement.fly",
"title": "Movement Fly",
"description": "This move control causes the mob to fly.",
"additionalProperties": false,
"required": [],

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.generic",
"description": "This move control allows a mob to fly, swim, climb, etc.",
"type": "object",
"title": "Movement.generic",
"title": "Movement Generic",
"additionalProperties": false,
"required": [],
"properties": {

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.glide",
"type": "object",
"title": "Movement.glide",
"title": "Movement Glide",
"description": "This is the move control for a flying mob that has a gliding movement.",
"additionalProperties": false,
"required": [],

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.hover",
"title": "Movement.hover",
"title": "Movement Hover",
"description": "This move control causes the mob to hover.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.jump",
"type": "object",
"title": "Movement.jump",
"title": "Movement Jump",
"description": "Move control that causes the mob to jump as it moves with a specified delay between jumps.",
"additionalProperties": false,
"properties": {

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.skip",
"type": "object",
"title": "Movement.skip",
"title": "Movement Skip",
"additionalProperties": false,
"required": [],
"description": "This move control causes the mob to hop as it moves.",

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.movement.sway",
"title": "Movement.sway",
"title": "Movement Sway",
"description": "This move control causes the mob to sway side to side giving the impression it is swimming.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.climb",
"title": "Navigation.climb",
"title": "Navigation Climb",
"description": "Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.float",
"title": "Navigation.float",
"title": "Navigation Float",
"description": "Allows this entity to generate paths by flying around the air like the regular Ghast.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.fly",
"title": "Navigation.fly",
"title": "Navigation Fly",
"description": "Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.generic",
"title": "Navigation.generic",
"title": "Navigation Generic",
"description": "Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.hover",
"title": "Navigation.hover",
"title": "Navigation Hover",
"description": "Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.swim",
"title": "Navigation.swim",
"title": "Navigation Swim",
"description": "Allows this entity to generate paths that include water.",
"type": "object",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.navigation.walk",
"title": "Navigation.walk",
"title": "Navigation Walk",
"description": "Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.",
"type": "object",
"additionalProperties": false,
@@ -57,6 +57,12 @@
"description": "Tells the pathfinder whether or not it can jump up blocks.",
"title": "Can Jump"
},
"can_float": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it float.",
"title": "Can Jump"
},
"can_open_doors": {
"type": "boolean",
"default": false,

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.interact",
"$id": "blockception.minecraft.behavior.entities.minecraft.projectile",
"type": "object",
"title": "Interact",
"title": "Projectile",
"description": "Allows the entity to be a thrown entity.",
"additionalProperties": false,
"properties": {