Updating Undocumented (#180)
* Updating UnDocumented Updating Undocumented and Fix Component errors * Update source/behavior/entities/format/components/is_stackable.json * Update source/behavior/entities/format/components/is_stackable.json --------- Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"properties": {
|
||||
"attack_cooldown_complete_event": {
|
||||
"$ref": "../types/trigger.json",
|
||||
"description": "Event to be runned when the cooldown is complete.",
|
||||
"description": "Event to be run when the cooldown is complete.",
|
||||
"title": "Attack Cooldown Complete Event"
|
||||
},
|
||||
"attack_cooldown_time": {
|
||||
|
||||
@@ -6,15 +6,15 @@
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED: value.",
|
||||
"type": "integer",
|
||||
"description": "How much an attack should damage a target.",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED.",
|
||||
"description": "Specifies how much damage is dealt by the entity when it attacks.",
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
"value": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,18 +3,43 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Balloonable",
|
||||
"description": "allows the entity to have a balloon attached and defines the conditions and events for the entity when is ballooned.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"mass": {
|
||||
"soft_distance": {
|
||||
"title": "Soft Distance",
|
||||
"description": "Distance in blocks where the 'spring' effect lifts the entity.",
|
||||
"type": "number",
|
||||
"description": "UNDOCUMENTED: mass.",
|
||||
"title": "Mass"
|
||||
"default": 2.0
|
||||
},
|
||||
"max_distance": {
|
||||
"title": "Max Distance",
|
||||
"description": "Distance in blocks where the balloon breaks.",
|
||||
"type": "number",
|
||||
"default": 10.0
|
||||
},
|
||||
"on_balloon": {
|
||||
"title": "On Balloon",
|
||||
"description": "Event to call when the entity is ballooned.",
|
||||
"type": "string"
|
||||
},
|
||||
"on_unballoon": {
|
||||
"title": "On Unballoon",
|
||||
"description": "Event to call when the entity is unballooned.",
|
||||
"type": "string"
|
||||
},
|
||||
"mass": {
|
||||
"title": "Mass",
|
||||
"description": "Mass that the entity has when computing balloon pull forces.",
|
||||
"type": "number",
|
||||
"default": 1.0
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED.",
|
||||
"examples": [
|
||||
{
|
||||
"mass": 0.0
|
||||
"max_distance": 10.0,
|
||||
"soft_distance": 2.0,
|
||||
"mass": 0.5
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -31,13 +31,7 @@
|
||||
"default": 1,
|
||||
"description": "This is the damage that the item will take each time it is used.",
|
||||
"title": "Damage"
|
||||
},
|
||||
"item_damage": {
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"description": "UNDOCUMENTED.",
|
||||
"title": "Item Damage"
|
||||
},
|
||||
},
|
||||
"item": {
|
||||
"$ref": "../../../../general/item/descriptor.json",
|
||||
"default": "",
|
||||
|
||||
@@ -2,27 +2,25 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.follow_range",
|
||||
"type": "object",
|
||||
"title": "Follow Range",
|
||||
"description": "Defines the range of blocks that a mob will pursue a target.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Range of the amount of damage the melee follow_range deals. A negative value can heal the entity instead of hurting it.",
|
||||
"title": "Value"
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Duration, in seconds, of the status ailment applied to the damaged entity.",
|
||||
"title": "Max"
|
||||
}
|
||||
},
|
||||
"description": "UNDOCUMENTED.",
|
||||
"examples": [
|
||||
{
|
||||
"value": 0,
|
||||
"max": 0
|
||||
"value": 16,
|
||||
"max": 48
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -24,14 +24,12 @@
|
||||
"range_min": {
|
||||
"title": "Range Minimum",
|
||||
"description": "The minimum amount of health this mob could have.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "number"
|
||||
"type": "integer"
|
||||
},
|
||||
"range_max": {
|
||||
"title": "Range Maximum",
|
||||
"description": "The maximum amount of health this mob could have.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "number"
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.hide",
|
||||
"type": "object",
|
||||
"title": "Hide",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Compels an entity to move to and hide at their owned POI or the closest nearby.",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.lava_movement",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Allows a custom movement speed across lava blocks.",
|
||||
"type": "object",
|
||||
"title": "Lava Movement",
|
||||
"additionalProperties": false,
|
||||
@@ -10,13 +9,12 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"title": "Value",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The speed a strider moves over a lava block."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
"value": 0.32
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.player.exhaustion",
|
||||
"title": "Player.exhaustion",
|
||||
"description": "Defines the player's need for food.",
|
||||
"description": "Defines the player's exhaustion level.",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"type": "integer",
|
||||
"title": "Value",
|
||||
"description": "The maximum player saturation value."
|
||||
"description": "The initial value of the player exhaustion."
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"type": "integer",
|
||||
"title": "Maximum",
|
||||
"description": "The maximum player saturation value."
|
||||
"description": "The maximum player exhaustion of this entity."
|
||||
}
|
||||
},
|
||||
"examples": [{ "value": 10, "max": 20 }]
|
||||
"examples": [{ "value": 0, "max": 20 }]
|
||||
}
|
||||
|
||||
@@ -3,29 +3,26 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Player.experience",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Defines how much experience each player action should take.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": true,
|
||||
"type": "integer",
|
||||
"default": 1,
|
||||
"title": "Value",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The initial value of the player experience."
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"default": true,
|
||||
"type": "integer",
|
||||
"default": 5,
|
||||
"title": "Maximum",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The maximum player experience of this entity."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true,
|
||||
"max": true
|
||||
"value": 0,
|
||||
"max": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,29 +3,24 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Player.level",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Defines the player's level.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": true,
|
||||
"type": "integer",
|
||||
"title": "Value",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The initial value of the player level."
|
||||
},
|
||||
"max": {
|
||||
"type": "number",
|
||||
"default": true,
|
||||
"type": "integer",
|
||||
"title": "Maximum",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The maximum player level value of the entity."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true,
|
||||
"max": true
|
||||
"value": 0,
|
||||
"max": 24791
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,21 +3,24 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Player.saturation",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Defines the player's need for food.",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"default": true,
|
||||
"type": "integer",
|
||||
"title": "Value",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The initial value of player saturation."
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"title": "Maximum",
|
||||
"description": "The maximum player saturation value."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": true
|
||||
"value": 5,
|
||||
"max": 20
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.shooter",
|
||||
"description": "Defines the entity's ranged attack behavior.",
|
||||
"$comment": "As of 1.19.60 & out of exp 1.20.10",
|
||||
"type": "object",
|
||||
"title": "Shooter",
|
||||
"additionalProperties": false,
|
||||
@@ -17,12 +18,27 @@
|
||||
"examples": ["minecraft:arrow", "minecraft:small_fireball", "minecraft:thrown_trident"],
|
||||
"description": "Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"
|
||||
},
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"magic": {
|
||||
"title": "Magic",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Sets whether the projectiles being used are flagged as magic. If set, the ranged attack goal will not be used at the same time as other magic goals, such as minecraft:behavior.drink_potion." },
|
||||
"power": {
|
||||
"type": "number",
|
||||
"title": "Power",
|
||||
"default": 0.00,
|
||||
"description": "Velocity in which the projectiles will be shot. A power of 0 will be overwritten by the default projectile throw power."
|
||||
},
|
||||
"projectiles": {
|
||||
"title": "Projectiles",
|
||||
"description": "List of projectiles that can be used by the shooter. Projectiles are evaluated in the order of the list; after a projectile is chosen, the rest of the list is ignored.",
|
||||
"type": "array",
|
||||
"items": { "type": "string", "description": "Projectiles that can be used by the shooter", "title": "Projectile"}
|
||||
},
|
||||
"sound": {
|
||||
"title": "Sound",
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"examples": ["dragonfireball"]
|
||||
"description": "Sound that is played when the shooter shoots a projectile."
|
||||
}
|
||||
},
|
||||
"examples": [{ "def": "minecraft:small_fireball" }]
|
||||
|
||||
@@ -58,15 +58,17 @@
|
||||
},
|
||||
"target_distance": {
|
||||
"type": "number",
|
||||
"default": 16,
|
||||
"default": 16.0,
|
||||
"description": "Maximum distance the entity will teleport when chasing a target.",
|
||||
"title": "Target Distance"
|
||||
},
|
||||
"target_teleport_chance": {
|
||||
"type": "number",
|
||||
"default": 1,
|
||||
"default": 1.0,
|
||||
"description": "The chance that the entity will teleport between 0.0 and 1.0. 1.0 means 100%",
|
||||
"title": "Target Teleport Chance"
|
||||
"title": "Target Teleport Chance",
|
||||
"minimum": 0.0,
|
||||
"maximum": 1.0
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.underwater_movement",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Defines the speed with which an entity can move through water.",
|
||||
"type": "object",
|
||||
"title": "Underwater Movement",
|
||||
"additionalProperties": false,
|
||||
@@ -10,13 +9,12 @@
|
||||
"value": {
|
||||
"type": "number",
|
||||
"title": "Value",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "Movement speed of the entity under water."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"value": 0.0
|
||||
"value": 0.15
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user