Merge pull request #68 from ChibiMango/main

Correct descriptions for entity components
This commit is contained in:
Daan Verstraten
2022-08-09 19:19:14 +02:00
committed by GitHub
17 changed files with 19 additions and 18 deletions

View File

@@ -3,7 +3,7 @@
"additionalProperties": false,
"type": "object",
"title": "Delayed Attack",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"description": "Allows an entity to attack, while also delaying the damage-dealt until a specific time in the attack animation.",
"properties": {
"priority": { "$ref": "./types/priority.json" },
"speed_multiplier": { "$ref": "./types/speed_multiplier.json" },

View File

@@ -3,7 +3,7 @@
"additionalProperties": false,
"type": "object",
"title": "Door Interact",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"description": "Allows the mob to open and close doors.",
"properties": {
"priority": {
"$ref": "./types/priority.json"

View File

@@ -9,7 +9,6 @@
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
//
"allow_laying_from_below": {
"title": "Allow Laying From Below",
"type": "boolean",

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.move_to_liquid",
"type": "object",
"title": "Move To Liquid",
"description": "Allows the mob to move back into lava when on land.",
"description": "Allows the mob to move into a liquid when on land.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/priority.json" },
@@ -33,7 +33,8 @@
},
"material_type": {
"title": "Material Type",
"description": "UNDOCUMENTAED, examples are : Lava.",
"description": "The material type of the liquid block to find. Valid values are 'Any', 'Water', and 'Lava'.",
"default": "Any",
"type": "string"
}
},

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.nap",
"type": "object",
"title": "Nap",
"description": "Allows the mob to move back into lava when on land.",
"description": "Allows mobs to occassionally stop and take a nap under certain conditions.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/priority.json" },

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.nearest_attackable_target",
"type": "object",
"title": "Nearest Attackable Target",
"description": "Allows the mob to check for and pursue the nearest valid target.",
"description": "Allows an entity to attack the closest target within a given subset of specific target types.",
"additionalProperties": false,
"definitions": {
"entity_type": {

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.share_items",
"description": "Allows the mob to send an event to another mob.",
"description": "Allows the mob to give items it has to others.",
"type": "object",
"title": "Share Items",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.stroll_towards_village",
"description": "Allows the mob to stay at a certain level when in liquid.",
"description": "Allows the mob to move into a random location within a village within the search range.",
"type": "object",
"title": "Stroll Towards Village",
"additionalProperties": false,

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.vex_random_move",
"description": "Allows the mob to target the same entity its owner is targeting.",
"description": "Allows the mob to move around randomly like the Vex.",
"additionalProperties": false,
"type": "object",
"title": "Vex Random Move",

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.wither_target_highest_damage",
"description": "Allows the wither to launch random attacks. Can only be used by the Wither Boss.",
"description": "Allows the wither to focus its attacks on whichever mob has dealt the most damage to it. Can only be used by the Wither Boss.",
"additionalProperties": false,
"type": "object",
"title": "Wither Target Highest Damage",

View File

@@ -3,7 +3,7 @@
"type": "object",
"title": "Bribeable",
"additionalProperties": false,
"description": "Specifies if/how a mob burns in daylight.",
"description": "Defines the way an entity can get into the 'bribed' state.",
"required": [],
"properties": {
"bribe_cooldown": {

View File

@@ -3,7 +3,7 @@
"type": "object",
"title": "Exhaustion Values",
"additionalProperties": false,
"description": "Defines an entity's behavior for having items equipped to it.",
"description": "Defines how much exhaustion each player action should take.",
"properties": {
"attack": {
"title": "Attack",

View File

@@ -2,7 +2,7 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.leashable",
"type": "object",
"title": "Leashable",
"description": "Defines interactions with this entity.",
"description": "Allows this entity to be leashed and defines the conditions and events for this entity when is leashed.",
"additionalProperties": false,
"properties": {
"can_be_stolen": {

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.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.",
"description": "Allows this entity to generate paths in the air like the vanilla Parrots do.",
"type": "object",
"additionalProperties": false,
"properties": {

View File

@@ -2,7 +2,8 @@
"$id": "blockception.minecraft.behavior.entities.minecraft.npc",
"type": "object",
"title": "Npc",
"description": "A component that applies a mob effect to entities that get within range.",
"description": "Sets this entity as an NPC",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"definitions": {
"rangeXYZ": {

View File

@@ -3,7 +3,7 @@
"additionalProperties": false,
"type": "object",
"title": "Physics",
"description": "Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.",
"description": "Defines physics properties of an actor, including if it is affected by gravity or if it collides with objects.",
"required": [],
"properties": {
"has_collision": {

View File

@@ -1,6 +1,6 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.transformation",
"description": "Defines this entity's ability to trade with players.",
"description": "Defines an entity's transformation from the current definition into another",
"type": "object",
"title": "Transformation",
"additionalProperties": false,