This commit is contained in:
DaanV2
2021-03-21 15:18:38 +01:00
parent d3298267bc
commit 698ee42623
960 changed files with 5960 additions and 22946 deletions

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.admire_item",
"type": "object",
"title": "Admire item 1.16.0",
"title": "Admire Item 1.16.0",
"description": "Causes the mob to ignore attackable targets for a given duration.",
"additionalProperties": false,
"properties": {
@@ -10,13 +10,8 @@
"type": "integer",
"default": 0,
"description": "Duration, in seconds, for which mob won't admire items if it was hurt",
"title": "Cooldown after being attacked"
"title": "Cooldown After Being Attacked"
},
"duration": {
"type": "integer",
"default": 10,
"description": "Duration, in seconds, that the mob is pacified.",
"title": "Duration"
}
"duration": { "type": "integer", "default": 10, "description": "Duration, in seconds, that the mob is pacified.", "title": "Duration" }
}
}

View File

@@ -9,55 +9,21 @@
"drop_items": {
"description": "List of items that the entity drops when it grows up.",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "../../../../general/item/identifier.json"
}
},
{
"type": "string",
"$ref": "../../../../general/item/identifier.json"
}
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json" } },
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
],
"title": "TODO title"
},
"duration": {
"type": "number",
"default": 1200,
"description": "Amount of time before the entity grows up, -1 for always a baby.",
"title": "TODO title"
"title": "TODO Title"
},
"duration": { "type": "number", "default": 1200, "description": "Amount of time before the entity grows up, -1 for always a baby.", "title": "TODO Title" },
"feed_items": {
"description": "List of items that can be fed to the entity. Includes 'item' for the item name and 'growth' to define how much time it grows up by",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "../../../../general/item/identifier.json"
}
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"growth": {
"type": "number"
},
"item": {
"$ref": "../../../../general/item/identifier.json"
}
}
}
},
{
"type": "string",
"$ref": "../../../../general/item/identifier.json"
}
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json" } },
{ "type": "array", "items": { "type": "object", "properties": { "growth": { "type": "number" }, "item": { "$ref": "../../../../general/item/identifier.json" } } } },
{ "type": "string", "$ref": "../../../../general/item/identifier.json" }
],
"title": "TODO title"
"title": "TODO Title"
},
"grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "TODO title" }
"grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "TODO Title" }
}
}

View File

@@ -3,27 +3,12 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.ambient_sound_interval",
"additionalProperties": false,
"type": "object",
"title": "Ambient sound interval 1.16.0",
"title": "Ambient Sound Interval 1.16.0",
"description": "Sets the entity's delay between playing its ambient sound.",
"required": [],
"properties": {
"event_name": {
"type": "string",
"default": "ambient",
"description": "Level sound event to be played as the ambient sound.",
"title": "Event name"
},
"range": {
"type": "number",
"default": 16,
"description": "Maximum time in seconds to randomly add to the ambient sound delay time.",
"title": "Range"
},
"value": {
"type": "number",
"default": 8,
"description": "Minimum time in seconds before the entity plays its ambient sound again",
"title": "Value"
}
"event_name": { "type": "string", "default": "ambient", "description": "Level sound event to be played as the ambient sound.", "title": "Event Name" },
"range": { "type": "number", "default": 16, "description": "Maximum time in seconds to randomly add to the ambient sound delay time.", "title": "Range" },
"value": { "type": "number", "default": 8, "description": "Minimum time in seconds before the entity plays its ambient sound again", "title": "Value" }
}
}

View File

@@ -11,102 +11,60 @@
"type": "boolean",
"default": false,
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry",
"title": "Broadcast anger"
},
"broadcast_filters": {
"$ref": "../filters.json",
"description": "Conditions that make this entry in the list valid",
"title": "Broadcast Filters"
},
"filters": {
"$ref": "../filters.json",
"description": "Filter out mob types that it should not attack while angry (other Piglins)",
"title": "Filters"
"title": "Broadcast Anger"
},
"broadcast_filters": { "$ref": "../filters.json", "description": "Conditions that make this entry in the list valid", "title": "Broadcast Filters" },
"filters": { "$ref": "../filters.json", "description": "Filter out mob types that it should not attack while angry (other Piglins)", "title": "Filters" },
"broadcast_range": {
"type": "integer",
"default": 20,
"description": "Distance in blocks within which other entities of the same entity definition will become angry",
"title": "Broadcast range"
"title": "Broadcast Range"
},
"broadcast_targets": {
"type": "array",
"description": "A list of entity families to broadcast anger to",
"items": {
"type": "string",
"description": "An entity family",
"pattern": "^.+$",
"title": "Broadcast Targets"
},
"items": { "type": "string", "description": "An entity family", "pattern": "^.+$", "title": "Broadcast Targets" },
"title": "Broadcast Targets"
},
"calm_event": {
"$ref": "../types/event.json",
"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"
"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"
"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,
"description": "The amount of time in seconds that the entity will be angry",
"title": "Duration"
},
"duration_delta": {
"type": "integer",
"default": 0,
"description": "Variance in seconds added to the duration [-delta, delta]",
"title": "Duration delta"
"title": "Broadcast Anger On Being Attacked"
},
"duration": { "type": "integer", "default": 25, "description": "The amount of time in seconds that the entity will be angry", "title": "Duration" },
"duration_delta": { "type": "integer", "default": 0, "description": "Variance in seconds added to the duration [-delta, delta]", "title": "Duration Delta" },
"sound_interval": {
"description": "The range of time in seconds to randomly wait before playing the sound again",
"title": "Sound interval",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"default": [0, 0],
"items": [
{
"type": "integer",
"minimum": 0
},
{
"type": "integer",
"minimum": 0
}
{ "type": "integer", "minimum": 0 },
{ "type": "integer", "minimum": 0 }
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"range_max": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"range_min": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"range_max": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
}
]

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.area_attack",
"type": "object",
"title": "Area attack 1.16.0",
"title": "Area Attack 1.16.0",
"description": "A component that does damage to entities that get within range.",
"additionalProperties": false,
"properties": {
@@ -10,20 +10,10 @@
"type": "integer",
"default": 2,
"description": "How much damage per tick is applied to entities that enter the damage range.",
"title": "Damage per tick"
},
"damage_range": {
"type": "number",
"default": 0.2,
"description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage range"
"title": "Damage Per Tick"
},
"damage_range": { "type": "number", "default": 0.2, "description": "How close a hostile entity must be to have the damage applied.", "title": "Damage Range" },
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": {
"type": "string",
"description": "TODO",
"title": "Cause",
"$ref": "../../../../general/entity/damage_source.json"
}
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
}
}

View File

@@ -2,36 +2,28 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.attack_cooldown",
"type": "object",
"title": "Attack cooldown 1.16.0",
"title": "Attack Cooldown 1.16.0",
"description": "Adds a cooldown to a mob. The intention of this cooldown is to be used to prevent the mob from attempting to aquire new attack targets.",
"additionalProperties": false,
"properties": {
"attack_cooldown_complete_event": {
"$ref": "../types/trigger.json",
"description": "Event to be runned when the cooldown is complete.",
"title": "Attack cooldown complete event"
"title": "Attack Cooldown Complete Event"
},
"attack_cooldown_time": {
"default": [0.0, 1.0],
"description": "Amount of time in seconds for the cooldown. Can be specified as a number or a pair of numbers (min and max).",
"title": "Attack cooldown time",
"title": "Attack Cooldown Time",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
}
{ "type": "number" }
]
}
}

View File

@@ -6,16 +6,12 @@
"description": "Enables the component to drop an item as a barter exchange.",
"additionalProperties": false,
"properties": {
"barter_table": {
"type": "string",
"description": "Loot table that's used to drop a random item.",
"title": "Barter table"
},
"barter_table": { "type": "string", "description": "Loot table that's used to drop a random item.", "title": "Barter Table" },
"cooldown_after_being_attacked": {
"type": "integer",
"default": 0,
"description": "Duration, in seconds, for which mob won't barter items if it was hurt",
"title": "Cooldown after being attacked"
"title": "Cooldown After Being Attacked"
}
}
}

View File

@@ -2,38 +2,21 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.block_sensor",
"type": "object",
"title": "Block sensor 1.16.0",
"title": "Block Sensor 1.16.0",
"description": "Fires off a specified event when a block in the block list is broken within the sensor range.",
"additionalProperties": false,
"properties": {
"sensor_radius": {
"type": "integer",
"description": "TODO",
"title": "Sensor radius",
"minimum": 0
},
"sensor_radius": { "type": "integer", "description": "TODO", "title": "Sensor Radius", "minimum": 0 },
"on_break": {
"type": "array",
"title": "On break",
"title": "On Break",
"items": {
"type": "object",
"title": "On block broken",
"title": "On Block Broken",
"additionalProperties": false,
"properties": {
"block_list": {
"type": "array",
"title": "Block list",
"description": "TODO",
"items": {
"type": "string",
"title": "Block ID"
}
},
"on_block_broken": {
"type": "string",
"title": "On block broken",
"description": "On block broken"
}
"block_list": { "type": "array", "title": "Block List", "description": "TODO", "items": { "type": "string", "title": "Block ID" } },
"on_block_broken": { "type": "string", "title": "On Block Broken", "description": "On block broken" }
}
},
"description": "TODO description"

View File

@@ -7,45 +7,25 @@
"description": "Defines the conditions and behavior of a rideable entity's boost",
"required": [],
"properties": {
"duration": {
"type": "number",
"default": 3,
"description": "Time in seconds for the boost.",
"title": "Duration"
},
"duration": { "type": "number", "default": 3, "description": "Time in seconds for the boost.", "title": "Duration" },
"speed_multiplier": {
"type": "number",
"default": 1,
"description": "Factor by which the entity's normal speed increases. E.g. 2.0 means go twice as fast.",
"title": "Speed multiplier"
"title": "Speed Multiplier"
},
"boost_items": {
"type": "array",
"description": "List of items that can be used to boost while riding this entity",
"title": "Boost items",
"title": "Boost Items",
"items": {
"type": "object",
"additionalProperties": false,
"description": "List of items that can be used to boost while riding this entity.",
"properties": {
"damage": {
"type": "integer",
"default": 1,
"description": "This is the damage that the item will take each time it is used.",
"title": "Damage"
},
"item": {
"type": "string",
"default": "",
"description": "Name of the item that can be used to boost.",
"title": "Item"
},
"replace_item": {
"type": "string",
"default": "",
"description": "The item used to boost will become this item once it is used up.",
"title": "Replace item"
}
"damage": { "type": "integer", "default": 1, "description": "This is the damage that the item will take each time it is used.", "title": "Damage" },
"item": { "type": "string", "default": "", "description": "Name of the item that can be used to boost.", "title": "Item" },
"replace_item": { "type": "string", "default": "", "description": "The item used to boost will become this item once it is used up.", "title": "Replace Item" }
}
}
}

View File

@@ -12,21 +12,9 @@
"additionalItems": false,
"required": [],
"properties": {
"baby_type": {
"type": "string",
"description": "The entity definition of this entity's babies.",
"title": "Baby Type"
},
"breed_event": {
"$ref": "../types/event.json",
"description": "Event to run when this entity breeds.",
"title": "Breed Event"
},
"mate_type": {
"type": "string",
"description": "The entity definition of this entity's mate.",
"title": "Mate Type"
}
"baby_type": { "type": "string", "description": "The entity definition of this entity's babies.", "title": "Baby Type" },
"breed_event": { "$ref": "../types/event.json", "description": "Event to run when this entity breeds.", "title": "Breed Event" },
"mate_type": { "type": "string", "description": "The entity definition of this entity's mate.", "title": "Mate Type" }
}
},
"enviroment_requirements": {
@@ -46,19 +34,10 @@
"title": "Blocks"
}
},
{
"description": "A block type required nearby for the entity to breed.",
"type": "string",
"$ref": "../../../../general/blocks_item.json",
"title": "Blocks"
}
{ "description": "A block type required nearby for the entity to breed.", "type": "string", "$ref": "../../../../general/blocks_item.json", "title": "Blocks" }
]
},
"count": {
"type": "number",
"description": "The number of the required block types nearby for the entity to breed.",
"title": "Count"
},
"count": { "type": "number", "description": "The number of the required block types nearby for the entity to breed.", "title": "Count" },
"radius": {
"type": "number",
"description": "How many blocks radius from the mob's center to search in for the required blocks. Bounded between 0 and 16.",
@@ -71,24 +50,14 @@
},
"required": [],
"properties": {
"allow_sitting": {
"description": "If true, entities can breed while sitting.",
"type": "boolean",
"default": false,
"title": "Allow Sitting"
},
"allow_sitting": { "description": "If true, entities can breed while sitting.", "type": "boolean", "default": false, "title": "Allow Sitting" },
"blend_attributes": {
"description": "If true, the entities will blend their attributes in the offspring after they breed. For example, horses blend their health, movement, and jump_strength in their offspring.",
"type": "boolean",
"default": true,
"title": "Blend Attributes"
},
"breed_cooldown": {
"description": "Time in seconds before the Entity can breed again.",
"type": "number",
"default": 60.0,
"title": "Breed Cooldown"
},
"breed_cooldown": { "description": "Time in seconds before the Entity can breed again.", "type": "number", "default": 60.0, "title": "Breed Cooldown" },
"breed_items": {
"description": "The list of items that can be used to get the entity into the 'love' state",
"title": "Breed Items",
@@ -99,73 +68,36 @@
"type": "string",
"description": "An item that can be used to get the entity into the 'love' state",
"$ref": "../../../../general/item/identifier.json",
"title": "TODO title"
"title": "TODO Title"
}
},
{
"type": "string",
"$ref": "../../../../general/item/identifier.json",
"title": "TODO title"
}
{ "type": "string", "$ref": "../../../../general/item/identifier.json", "title": "TODO Title" }
]
},
"breeds_with": {
"description": "The list of entity definitions that this entity can breed with.",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/breeds_with_spec"
},
{
"uniqueItems": true,
"type": "array",
"items": {
"type": "object",
"$ref": "#/definitions/breeds_with_spec"
}
}
{ "type": "object", "$ref": "#/definitions/breeds_with_spec" },
{ "uniqueItems": true, "type": "array", "items": { "type": "object", "$ref": "#/definitions/breeds_with_spec" } }
],
"title": "TODO title"
"title": "TODO Title"
},
"deny_parents_variant": {
"type": "object",
"description": "Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.",
"additionalProperties": false,
"properties": {
"chance": {
"type": "number",
"default": 0,
"description": "The percentage chance of denying the parents' variant.",
"title": "Chance"
},
"max_variant": {
"type": "integer",
"default": 0,
"description": "The inclusive maximum of the variant range.",
"title": "Max Variant"
},
"min_variant": {
"type": "integer",
"default": 0,
"description": "The inclusive minimum of the variant range.",
"title": "Min Variant"
}
"chance": { "type": "number", "default": 0, "description": "The percentage chance of denying the parents' variant.", "title": "Chance" },
"max_variant": { "type": "integer", "default": 0, "description": "The inclusive maximum of the variant range.", "title": "Max Variant" },
"min_variant": { "type": "integer", "default": 0, "description": "The inclusive minimum of the variant range.", "title": "Min Variant" }
},
"title": "Deny Parents Variant"
},
"environment_requirements": {
"description": "The list of nearby block requirements to get the entity into the 'love' state.",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/enviroment_requirements"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/enviroment_requirements"
}
}
{ "type": "object", "$ref": "#/definitions/enviroment_requirements" },
{ "type": "array", "items": { "$ref": "#/definitions/enviroment_requirements" } }
],
"title": "Environment Requirements"
},
@@ -183,14 +115,7 @@
"description": "Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.",
"additionalProperties": false,
"properties": {
"color": {
"type": "number",
"default": 0,
"minimum": 0.0,
"maximum": 1.0,
"description": "The percentage chance of a mutation on the entity's color.",
"title": "Color"
},
"color": { "type": "number", "default": 0, "minimum": 0.0, "maximum": 1.0, "description": "The percentage chance of a mutation on the entity's color.", "title": "Color" },
"extra_variant": {
"type": "number",
"default": 0,
@@ -210,29 +135,14 @@
},
"title": "Mutation Factor"
},
"causes_pregnancy": {
"type": "boolean",
"default": false,
"description": "If true, the entity will become pregnant instead of spawning a baby.",
"title": "Causes pregnancy"
},
"inherit_tamed": {
"type": "boolean",
"default": true,
"description": "If true, the babies will be automatically tamed if its parents are",
"title": "Inherit tamed"
},
"causes_pregnancy": { "type": "boolean", "default": false, "description": "If true, the entity will become pregnant instead of spawning a baby.", "title": "Causes Pregnancy" },
"inherit_tamed": { "type": "boolean", "default": true, "description": "If true, the babies will be automatically tamed if its parents are", "title": "Inherit Tamed" },
"require_full_health": {
"type": "boolean",
"default": false,
"description": "If true, the entity needs to be at full health before it can breed.",
"title": "Require full health"
"title": "Require Full Health"
},
"require_tame": {
"type": "boolean",
"default": true,
"description": "If true, the entities need to be tamed first before they can breed.",
"title": "Require tame"
}
"require_tame": { "type": "boolean", "default": true, "description": "If true, the entities need to be tamed first before they can breed.", "title": "Require Tame" }
}
}

View File

@@ -10,46 +10,33 @@
"type": "boolean",
"default": true,
"description": "Applies gravity each tick. Causes more of a wave simulation, but will cause more gravity to be applied outside liquids.",
"title": "Apply gravity"
},
"base_buoyancy": {
"type": "number",
"default": 1,
"description": "Base buoyancy used to calculate how much will a mob float.",
"title": "Base buoyancy"
"title": "Apply Gravity"
},
"base_buoyancy": { "type": "number", "default": 1, "description": "Base buoyancy used to calculate how much will a mob float.", "title": "Base Buoyancy" },
"big_wave_probability": {
"type": "number",
"default": 0.03,
"description": "Probability for a big wave hitting the entity. Only used if `simulate_waves` is true.",
"title": "Big wave probability"
"title": "Big Wave Probability"
},
"big_wave_speed": {
"type": "number",
"default": 10,
"description": "Multiplier for the speed to make a big wave. Triggered depending on 'big_wave_probability'.",
"title": "Big wave speed"
"title": "Big Wave Speed"
},
"drag_down_on_buoyancy_removed": {
"type": "number",
"default": 0,
"description": "How much an actor will be dragged down when the Buoyancy Component is removed.",
"title": "Drag down on buoyancy removed"
"title": "Drag Down On Buoyancy Removed"
},
"liquid_blocks": {
"type": "array",
"description": "List of blocks this entity can float on. Must be a liquid block.",
"title": "Liquid blocks",
"items": {
"type": "string",
"title": "Block ID"
}
"title": "Liquid Blocks",
"items": { "type": "string", "title": "Block ID" }
},
"simulate_waves": {
"type": "boolean",
"default": true,
"description": "Should the movement simulate waves going through.",
"title": "Simulate waves"
}
"simulate_waves": { "type": "boolean", "default": true, "description": "Should the movement simulate waves going through.", "title": "Simulate Waves" }
}
}

View File

@@ -2,33 +2,18 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.celebrate_hunt",
"type": "object",
"title": "Celebrate hunt 1.16.0",
"title": "Celebrate Hunt 1.16.0",
"description": "Specifies hunt celebration behaviour.",
"additionalProperties": false,
"properties": {
"broadcast": {
"type": "boolean",
"default": true,
"description": "If true, celebration will be broadcasted to other entities in the radius.",
"title": "Broadcast"
},
"broadcast": { "type": "boolean", "default": true, "description": "If true, celebration will be broadcasted to other entities in the radius.", "title": "Broadcast" },
"celebration_targets": {
"$ref": "../filters.json",
"description": "The list of conditions that target of hunt must satisfy to initiate celebration.",
"title": "Celeberation targets"
},
"celebrate_sound": {
"type": "string",
"default": "",
"description": "The sound event to play when the mob is celebrating",
"title": "Celebrate sound"
},
"duration": {
"type": "integer",
"default": 4,
"description": "Duration, in seconds, of celebration",
"title": "Duration"
"title": "Celeberation Targets"
},
"celebrate_sound": { "type": "string", "default": "", "description": "The sound event to play when the mob is celebrating", "title": "Celebrate Sound" },
"duration": { "type": "integer", "default": 4, "description": "Duration, in seconds, of celebration", "title": "Duration" },
"radius": {
"type": "number",
"default": 16,
@@ -38,38 +23,22 @@
"sound_interval": {
"default": 0,
"description": "The range of time in seconds to randomly wait before playing the sound again",
"title": "Sound interval",
"title": "Sound Interval",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number",
"title": "Maximum"
},
{
"type": "number",
"title": "Maximum"
}
{ "type": "number", "title": "Maximum" },
{ "type": "number", "title": "Maximum" }
]
},
{
"type": "number"
},
{ "type": "number" },
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number",
"title": "Update interval variant",
"description": "UNDOCUMENTATED"
},
"range_max": {
"type": "number",
"title": "Update interval variant",
"description": "UNDOCUMENTATED"
}
"range_min": { "type": "number", "title": "Update Interval Variant", "description": "UNDOCUMENTATED" },
"range_max": { "type": "number", "title": "Update Interval Variant", "description": "UNDOCUMENTATED" }
}
}
]

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.custom_hit_test",
"type": "object",
"title": "Custom hit test 1.16.0",
"title": "Custom Hit Test 1.16.0",
"description": "List of hitboxes for melee and ranged hits against the entity.",
"additionalProperties": false,
"properties": {
@@ -16,32 +16,9 @@
"description": "TODO",
"additionalProperties": false,
"properties": {
"width": {
"type": "number",
"title": "Width",
"description": "TODO"
},
"height": {
"type": "number",
"title": "Height",
"description": "TODO"
},
"pivot": {
"type": "array",
"title": "Pivot",
"description": "TODO",
"items": [
{
"type": "number"
},
{
"type": "number"
},
{
"type": "number"
}
]
}
"width": { "type": "number", "title": "Width", "description": "TODO" },
"height": { "type": "number", "title": "Height", "description": "TODO" },
"pivot": { "type": "array", "title": "Pivot", "description": "TODO", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
}
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.damage_sensor",
"title": "Damage sensor",
"title": "Damage Sensor",
"description": "Defines what events to call when this entity is damaged by specific entities or items.",
"type": "object",
"additionalProperties": false,
@@ -19,40 +19,25 @@
"type": "number",
"default": 1,
"description": "A multiplier that modifies the base damage from the damage cause. If deals_damage is true the multiplier can only reduce the damage the entity will take to a minimum of 1.",
"title": "Damage multiplier"
"title": "Damage Multiplier"
},
"deals_damage": {
"type": "boolean",
"default": true,
"description": "If true, the damage dealt to the entity will take away health from it, set to false to make the entity ignore that damage.",
"title": "Deals damage"
"title": "Deals Damage"
},
"on_damage": {
"additionalProperties": false,
"type": "object",
"description": "Specifies filters for entity definitions and events.",
"title": "On damage",
"title": "On Damage",
"properties": {
"filters": {
"$ref": "../filters.json"
},
"event": {
"type": "string",
"pattern": "^.*$",
"description": "TODO description: event",
"title": "Event"
},
"target": {
"$ref": "../filters/types/base_subject.json",
"description": "TODO description: target",
"title": "Target"
}
"filters": { "$ref": "../filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "TODO description: event", "title": "Event" },
"target": { "$ref": "../filters/types/base_subject.json", "description": "TODO description: target", "title": "Target" }
},
"on_damage_sound_event": {
"type": "string",
"description": "Defines what sound to play, if any, when the on_damage filters are met.",
"title": "On damage sound event"
}
"on_damage_sound_event": { "type": "string", "description": "Defines what sound to play, if any, when the on_damage filters are met.", "title": "On Damage Sound Event" }
}
}
}
@@ -62,16 +47,8 @@
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
"title": "Triggers",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/trigger"
}
},
{
"type": "object",
"$ref": "#/definitions/trigger"
}
{ "type": "array", "items": { "$ref": "#/definitions/trigger" } },
{ "type": "object", "$ref": "#/definitions/trigger" }
]
}
}

View File

@@ -10,39 +10,29 @@
"type": "boolean",
"default": true,
"description": "Determines if \"min_range_random_chance\" is used in the standard despawn rules",
"title": "Despawn from chance"
"title": "Despawn From Chance"
},
"despawn_from_distance": {
"type": "object",
"additionalProperties": false,
"properties": {
"max_distance": {
"type": "integer",
"default": 128,
"description": "Maximum distance for standard despawn rules to instantly despawn the mob.",
"title": "Max distance"
},
"min_distance": {
"type": "integer",
"default": 32,
"description": "Minimum distance for standard despawn rules to try to despawn the mob.",
"title": "Min distance"
}
"max_distance": { "type": "integer", "default": 128, "description": "Maximum distance for standard despawn rules to instantly despawn the mob.", "title": "Max Distance" },
"min_distance": { "type": "integer", "default": 32, "description": "Minimum distance for standard despawn rules to try to despawn the mob.", "title": "Min Distance" }
},
"description": "TODO description",
"title": "TODO title"
"title": "TODO Title"
},
"despawn_from_inactivity": {
"type": "boolean",
"default": true,
"description": "Determines if the \"min_range_inactivity_timer\" is used in the standard despawn rules.",
"title": "Despawn from inactivity"
"title": "Despawn From Inactivity"
},
"despawn_from_simulation_edge": {
"type": "boolean",
"default": true,
"description": "Determines if the mob is instantly despawned at the edge of simulation distance in the standard despawn rules.",
"title": "Despawn from simulation edge"
"title": "Despawn From Simulation Edge"
},
"filters": {
"$ref": "../filters.json",
@@ -53,19 +43,14 @@
"type": "integer",
"default": 30,
"description": "The amount of time in seconds that the mob must be inactive.",
"title": "Min 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": "Min 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" },
"remove_child_entities": {
"type": "boolean",
"default": false,
"description": "If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.",
"title": "Remove child entities"
"title": "Remove Child Entities"
}
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.entity_sensor",
"type": "object",
"title": "Entity sensor 1.16.0",
"title": "Entity Sensor 1.16.0",
"description": "A component that fires an event when a set of conditions are met by other entities within the defined range.",
"additionalProperties": false,
"properties": {
@@ -10,37 +10,28 @@
"type": "integer",
"default": -1,
"description": "The maximum number of entities that must pass the filter conditions for the event to send.",
"title": "Maximum count"
"title": "Maximum Count"
},
"minimum_count": {
"type": "integer",
"default": 1,
"description": "The minimum number of entities that must pass the filter conditions for the event to send.",
"title": "Minimum count"
},
"relative_range": {
"type": "boolean",
"default": true,
"description": "If true the sensor range is additive on top of the entity's size.",
"title": "Relative range"
"title": "Minimum Count"
},
"relative_range": { "type": "boolean", "default": true, "description": "If true the sensor range is additive on top of the entity's size.", "title": "Relative Range" },
"require_all": {
"type": "boolean",
"default": false,
"description": "If true requires all nearby entities to pass the filter conditions for the event to send.",
"title": "Require all"
"title": "Require All"
},
"sensor_range": {
"type": "number",
"default": 10,
"description": "The maximum distance another entity can be from this and have the filters checked against it.",
"title": "Sensor range"
"title": "Sensor Range"
},
"event_filters": { "$ref": "../filters.json" },
"event": {
"title": "Event",
"description": "event",
"type": "string"
}
"event": { "title": "Event", "description": "event", "type": "string" }
}
}

View File

@@ -1,28 +1,18 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.environment_sensor",
"title": "Environment sensor",
"title": "Environment Sensor",
"description": "Creates a trigger based on environment conditions.",
"type": "object",
"additionalProperties": false,
"definitions": {
"trigger": { "$ref": "../types/trigger.json" }
},
"definitions": { "trigger": { "$ref": "../types/trigger.json" } },
"properties": {
"triggers": {
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
"title": "Triggers",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/trigger"
}
},
{
"type": "object",
"$ref": "#/definitions/trigger"
}
{ "type": "array", "items": { "$ref": "#/definitions/trigger" } },
{ "type": "object", "$ref": "#/definitions/trigger" }
]
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.equip_item",
"type": "object",
"title": "Equip item 1.16.0",
"title": "Equip Item 1.16.0",
"description": "The entity puts on the desired equipment.",
"additionalProperties": false,
"properties": {}

View File

@@ -9,32 +9,19 @@
"slot_drop_chance": {
"type": "array",
"description": "A list of slots with the chance to drop an equipped item from that slot",
"title": "Slot drop chance",
"title": "Slot Drop Chance",
"items": {
"additionalProperties": false,
"title": "Slot drop chance",
"title": "Slot Drop Chance",
"description": "UNDOCUMENTATED",
"type": "object",
"properties": {
"drop_chance": {
"type": "number",
"title": "Drop chance",
"description": "UNDOCUMENTATED"
},
"slot": {
"type": "string",
"title": "Slot",
"description": "UNDOCUMENTATED"
}
"drop_chance": { "type": "number", "title": "Drop Chance", "description": "UNDOCUMENTATED" },
"slot": { "type": "string", "title": "Slot", "description": "UNDOCUMENTATED" }
}
}
},
"table": {
"type": "string",
"pattern": ".*\\.json$",
"description": "TODO description: table",
"title": "Table"
}
"table": { "type": "string", "pattern": ".*\\.json$", "description": "TODO description: table", "title": "Table" }
},
"description": "TODO description: "
}

View File

@@ -14,43 +14,21 @@
"description": "A slot and the item that can be equipped",
"type": "object",
"properties": {
"slot": {
"type": "integer",
"default": 0,
"description": "The slot number of this slot",
"title": "Slot"
},
"slot": { "type": "integer", "default": 0, "description": "The slot number of this slot", "title": "Slot" },
"accepted_items": {
"type": "array",
"description": "The list of items that can go in this slot",
"items": {
"type": "string",
"description": "A item name",
"$ref": "../../../../general/item/identifier.json",
"title": "Accepted Items"
},
"items": { "type": "string", "description": "A item name", "$ref": "../../../../general/item/identifier.json", "title": "Accepted Items" },
"title": "Accepted Items"
},
"item": {
"$ref": "../../../../general/item/identifier.json",
"description": "Identifier of the item that can be equipped for this slot",
"title": "Item"
},
"item": { "$ref": "../../../../general/item/identifier.json", "description": "Identifier of the item that can be equipped for this slot", "title": "Item" },
"interact_text": {
"type": "string",
"description": "Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls",
"title": "Interact Text"
},
"on_equip": {
"$ref": "../types/event.json",
"description": "Event to trigger when this entity is equipped with this item",
"title": "On Equip"
},
"on_unequip": {
"$ref": "../types/event.json",
"description": "Event to trigger when this item is removed from this entity",
"title": "On Unequip"
}
"on_equip": { "$ref": "../types/event.json", "description": "Event to trigger when this entity is equipped with this item", "title": "On Equip" },
"on_unequip": { "$ref": "../types/event.json", "description": "Event to trigger when this item is removed from this entity", "title": "On Unequip" }
},
"title": "Slots"
},

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.experience_reward",
"type": "object",
"title": "Experience reward 1.16.0",
"title": "Experience Reward 1.16.0",
"description": "TODO",
"additionalProperties": false,
"properties": {
@@ -10,13 +10,13 @@
"type": "string",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.",
"title": "On bred"
"title": "On Bred"
},
"on_death": {
"type": "string",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.",
"title": "On death"
"title": "On Death"
}
}
}

View File

@@ -7,68 +7,33 @@
"description": "Defines how the entity explodes.",
"required": [],
"properties": {
"breaks_blocks": {
"type": "boolean",
"default": true,
"description": "If true, the explosion will destroy blocks in the explosion radius.",
"title": "Breaks blocks"
},
"causes_fire": {
"type": "boolean",
"default": false,
"description": "If true, blocks in the explosion radius will be set on fire.",
"title": "Causes fire"
},
"breaks_blocks": { "type": "boolean", "default": true, "description": "If true, the explosion will destroy blocks in the explosion radius.", "title": "Breaks Blocks" },
"causes_fire": { "type": "boolean", "default": false, "description": "If true, blocks in the explosion radius will be set on fire.", "title": "Causes Fire" },
"destroy_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the explosion breaks blocks is affected by the mob griefing game rule.",
"title": "Destroy affected by griefing"
"title": "Destroy Affected By Griefing"
},
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the explosion causes fire is affected by the mob griefing game rule.",
"title": "Fire affected by griefing"
"title": "Fire Affected By Griefing"
},
"fuse_length": {
"default": [0.0, 0.0],
"description": "The range for the random amount of time the fuse will be lit before exploding, a negative value means the explosion will be immediate.",
"title": "Fuse length",
"oneOf": [
{
"type": "array",
"items": [
{
"type": "number"
},
{
"type": "number"
}
]
},
{
"type": "number"
}
]
},
"fuse_lit": {
"type": "boolean",
"default": false,
"description": "If true, the fuse is already lit when this component is added to the entity.",
"title": "Fuse lit"
"title": "Fuse Length",
"oneOf": [{ "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }, { "type": "number" }]
},
"fuse_lit": { "type": "boolean", "default": false, "description": "If true, the fuse is already lit when this component is added to the entity.", "title": "Fuse Lit" },
"max_resistance": {
"type": "number",
"default": 3.40282e38,
"description": "A blocks explosion resistance will be capped at this value when an explosion occurs.",
"title": "Max resistance"
"title": "Max Resistance"
},
"power": {
"type": "number",
"default": 3,
"description": "The radius of the explosion in blocks and the amount of damage the explosion deals.",
"title": "Power"
}
"power": { "type": "number", "default": 3, "description": "The radius of the explosion in blocks and the amount of damage the explosion deals.", "title": "Power" }
}
}

View File

@@ -6,113 +6,63 @@
"description": "Allows entities to flock in groups in water or not.",
"additionalProperties": false,
"properties": {
"block_distance": {
"type": "number",
"default": 0,
"description": "The amount of blocks away the entity will look at to push away from.",
"title": "Block distance"
},
"block_weight": {
"type": "number",
"default": 0,
"description": "The weight of the push back away from blocks.",
"title": "Block weight"
},
"block_distance": { "type": "number", "default": 0, "description": "The amount of blocks away the entity will look at to push away from.", "title": "Block Distance" },
"block_weight": { "type": "number", "default": 0, "description": "The weight of the push back away from blocks.", "title": "Block Weight" },
"breach_influence": {
"type": "number",
"default": 0,
"description": "The amount of push back given to a flocker that breaches out of the water.",
"title": "Breach influence"
},
"cohesion_threshold": {
"type": "number",
"default": 1,
"description": "The threshold in which to start applying cohesion.",
"title": "Cohesion threshold"
},
"cohesion_weight": {
"type": "number",
"default": 1,
"description": "The weight applied for the cohesion steering of the flock.",
"title": "Cohesion weight"
},
"goal_weight": {
"type": "number",
"default": 0,
"description": "The weight on which to apply on the goal output.",
"title": "Goal weight"
"title": "Breach Influence"
},
"cohesion_threshold": { "type": "number", "default": 1, "description": "The threshold in which to start applying cohesion.", "title": "Cohesion Threshold" },
"cohesion_weight": { "type": "number", "default": 1, "description": "The weight applied for the cohesion steering of the flock.", "title": "Cohesion Weight" },
"goal_weight": { "type": "number", "default": 0, "description": "The weight on which to apply on the goal output.", "title": "Goal Weight" },
"high_flock_limit": {
"type": "integer",
"default": 0,
"description": "Determines the high bound amount of entities that can be allowed in the flock.",
"title": "High flock limit"
},
"in_water": {
"type": "boolean",
"default": false,
"description": "Tells the Flocking Component if the entity exists in water.",
"title": "In water"
},
"influence_radius": {
"type": "number",
"default": 0,
"description": "The area around the entity that allows others to be added to the flock.",
"title": "Influence radius"
"title": "High Flock Limit"
},
"in_water": { "type": "boolean", "default": false, "description": "Tells the Flocking Component if the entity exists in water.", "title": "In Water" },
"influence_radius": { "type": "number", "default": 0, "description": "The area around the entity that allows others to be added to the flock.", "title": "Influence Radius" },
"innner_cohesion_threshold": {
"type": "number",
"default": 0,
"description": "The distance in which the flocker will stop applying cohesion.",
"title": "Innner cohesion threshold"
"title": "Innner Cohesion Threshold"
},
"loner_chance": {
"type": "number",
"default": 0,
"description": "The percentage chance between 0-1 that a fish will spawn and not want to join flocks. Invalid values will be capped at the end points.",
"title": "Loner chance"
"title": "Loner Chance"
},
"low_flock_limit": {
"type": "integer",
"default": 0,
"description": "Determines the low bound amount of entities that can be allowed in the flock.",
"title": "Low flock limit"
"title": "Low Flock Limit"
},
"match_variants": {
"type": "boolean",
"default": false,
"description": "Tells the flockers that they can only match similar entities that also match the variant, mark variants, and color data of the other potential flockers.",
"title": "Match variants"
},
"max_height": {
"type": "number",
"default": 0,
"description": "The max height allowable in the air or water.",
"title": "Max height"
},
"min_height": {
"type": "number",
"default": 0,
"description": "The min height allowable in the air or water.",
"title": "Min height"
"title": "Match Variants"
},
"max_height": { "type": "number", "default": 0, "description": "The max height allowable in the air or water.", "title": "Max Height" },
"min_height": { "type": "number", "default": 0, "description": "The min height allowable in the air or water.", "title": "Min Height" },
"separation_threshold": {
"type": "number",
"default": 2,
"description": "The distance that is determined to be to close to another flocking and to start applying separation.",
"title": "Separation threshold"
},
"separation_weight": {
"type": "number",
"default": 1,
"description": "The weight applied to the separation of the flock.",
"title": "Separation weight"
"title": "Separation Threshold"
},
"separation_weight": { "type": "number", "default": 1, "description": "The weight applied to the separation of the flock.", "title": "Separation Weight" },
"use_center_of_mass": {
"type": "boolean",
"default": false,
"description": "Tells the flockers that they will follow flocks based on the center of mass.",
"title": "Use center of mass"
"title": "Use Center Of Mass"
}
}
}

View File

@@ -11,12 +11,7 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"cooldown": {
"type": "number",
"default": 0.0,
"description": "An optional cool down in seconds to prevent spamming interactions.",
"title": "Cooldown"
},
"cooldown": { "type": "number", "default": 0.0, "description": "An optional cool down in seconds to prevent spamming interactions.", "title": "Cooldown" },
"items": {
"type": "array",
"description": "The list of items that can be given to the entity to place in their inventory.",
@@ -27,11 +22,7 @@
},
"title": "Properties"
},
"on_give": {
"$ref": "../types/event.json",
"description": "Event to fire when the correct item is given.",
"title": "On Give"
}
"on_give": { "$ref": "../types/event.json", "description": "Event to fire when the correct item is given.", "title": "On Give" }
}
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.group_size",
"type": "object",
"title": "Group size 1.16.0",
"title": "Group Size 1.16.0",
"description": "Keeps track of entity group size in the given radius.",
"additionalProperties": false,
"properties": {
@@ -11,11 +11,6 @@
"description": "The list of conditions that must be satisfied for other entities to be counted towards group size.",
"title": "Filters"
},
"radius": {
"type": "number",
"default": 16,
"description": "Radius from center of entity.",
"title": "Radius"
}
"radius": { "type": "number", "default": 16, "description": "Radius from center of entity.", "title": "Radius" }
}
}

View File

@@ -2,23 +2,11 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.grows_crop",
"type": "object",
"title": "Grows crop 1.16.0",
"title": "Grows Crop 1.16.0",
"description": "Could increase crop growth when entity walks over crop.",
"additionalProperties": false,
"properties": {
"chance": {
"type": "number",
"default": 0,
"description": "Value between 0-1. Chance of success per tick.",
"minimum": 0,
"maximum": 1,
"title": "Chance"
},
"charges": {
"type": "integer",
"default": 10,
"description": "Number of charges",
"title": "Charges"
}
"chance": { "type": "number", "default": 0, "description": "Value between 0-1. Chance of success per tick.", "minimum": 0, "maximum": 1, "title": "Chance" },
"charges": { "type": "integer", "default": 10, "description": "Number of charges", "title": "Charges" }
}
}

View File

@@ -7,17 +7,17 @@
"additionalProperties": false,
"properties": {
"restriction_radius": {
"title": "Restriction radius",
"title": "Restriction Radius",
"description": "The radius that the entity will be restricted to in relation to its home",
"type": "integer",
"default": -1
},
"home_block_list": {
"title": "Home block list",
"title": "Home Block List",
"description": "Optional block list that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1",
"type": "array",
"items": {
"title": "Home block",
"title": "Home Block",
"description": "Optional block that the home position will be associated with. If any of the blocks no longer exist at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1",
"type": "string",
"$ref": "../../../../general/item/identifier.json"

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.horse.jump_strength",
"type": "object",
"title": "Horse.jump strength 1.16.0",
"title": "Horse.jump Strength 1.16.0",
"additionalProperties": false,
"description": "UNDOCUMENTATED",
"required": [],
@@ -10,23 +10,7 @@
"value": {
"description": "UNDOCUMENTATED",
"title": "Value",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"range_min": {
"type": "number"
},
"range_max": {
"type": "number"
}
}
},
{
"type": "number"
}
]
"oneOf": [{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }, { "type": "number" }]
}
}
}

View File

@@ -2,34 +2,23 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.hurt_on_condition",
"type": "object",
"title": "Hurt on condition 1.16.0",
"title": "Hurt On Condition 1.16.0",
"description": "Defines a set of conditions under which an entity should take damage.",
"additionalProperties": false,
"properties": {
"damage_conditions": {
"type": "array",
"title": "Damage conditions",
"title": "Damage Conditions",
"description": "TODO",
"items": {
"type": "object",
"title": "Damage condition",
"title": "Damage Condition",
"description": "TODO",
"additionalProperties": false,
"properties": {
"filters": {
"$ref": "../filters.json"
},
"cause": {
"type": "string",
"title": "Cause",
"description": "Damage cause",
"$ref": "../../../../general/entity/damage_source.json"
},
"damage_per_tick": {
"type": "integer",
"title": "Damage per tick",
"description": "TODO"
}
"filters": { "$ref": "../filters.json" },
"cause": { "type": "string", "title": "Cause", "description": "Damage cause", "$ref": "../../../../general/entity/damage_source.json" },
"damage_per_tick": { "type": "integer", "title": "Damage Per Tick", "description": "TODO" }
}
}
}

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.instant_despawn",
"type": "object",
"title": "Instant despawn 1.16.0",
"title": "Instant Despawn 1.16.0",
"description": "Despawns the Actor immediately.",
"additionalProperties": false,
"properties": {
@@ -10,7 +10,7 @@
"type": "boolean",
"default": false,
"description": "If true, all entities linked to this entity in a child relationship (eg. leashed) will also be despawned.",
"title": "Remove child entities"
"title": "Remove Child Entities"
}
}
}

View File

@@ -9,118 +9,64 @@
"interaction_spec": {
"type": "object",
"properties": {
"add_items": {
"type": "object",
"description": "Loot table with items to add to the player's inventory upon successful interaction.",
"title": "Add items"
},
"cooldown": {
"type": "number",
"default": 0,
"description": "Time in seconds before this entity can be interacted with again.",
"title": "Cooldown"
},
"add_items": { "type": "object", "description": "Loot table with items to add to the player's inventory upon successful interaction.", "title": "Add Items" },
"cooldown": { "type": "number", "default": 0, "description": "Time in seconds before this entity can be interacted with again.", "title": "Cooldown" },
"hurt_item": {
"type": "integer",
"default": 0,
"description": "The amount of damage the item will take when used to interact with this entity. A value of 0 means the item won't lose durability.",
"title": "Hurt item"
"title": "Hurt Item"
},
"interact_text": {
"type": "string",
"default": "",
"description": "Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls.",
"title": "Interact text"
},
"on_interact": {
"$ref": "../types/trigger.json",
"description": "Event to fire when the interaction occurs.",
"title": "On interact"
"title": "Interact Text"
},
"on_interact": { "$ref": "../types/trigger.json", "description": "Event to fire when the interaction occurs.", "title": "On Interact" },
"particle_on_start": {
"type": "object",
"description": "Particle effect that will be triggered at the start of the interaction.",
"title": "Particle on start",
"title": "Particle On Start",
"properties": {
"particle_offset_towards_interactor": {
"type": "boolean",
"description": "Whether or not the particle will appear closer to who performed the interaction.",
"title": "Particle offset towards interactor"
"title": "Particle Offset Towards Interactor"
},
"particle_type": {
"type": "string",
"description": "The type of particle that will be spawned.",
"title": "Particle type"
},
"particle_y_offset": {
"type": "number",
"description": "Will offset the particle this amount in the y direction.",
"title": "Particle y offset"
}
"particle_type": { "type": "string", "description": "The type of particle that will be spawned.", "title": "Particle Type" },
"particle_y_offset": { "type": "number", "description": "Will offset the particle this amount in the y direction.", "title": "Particle Y Offset" }
}
},
"play_sounds": {
"type": "string",
"default": "",
"description": "List of sounds to play when the interaction occurs.",
"title": "Play sounds"
},
"spawn_entities": {
"type": "string",
"default": "",
"description": "List of entities to spawn when the interaction occurs.",
"title": "Spawn entities"
},
"play_sounds": { "type": "string", "default": "", "description": "List of sounds to play when the interaction occurs.", "title": "Play Sounds" },
"spawn_entities": { "type": "string", "default": "", "description": "List of entities to spawn when the interaction occurs.", "title": "Spawn Entities" },
"spawn_items": {
"type": "object",
"description": "Loot table with items to drop on the ground upon successful interaction.",
"title": "Spawn items",
"title": "Spawn Items",
"properties": {
"table": {
"type": "string",
"default": "",
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
"title": "Table"
}
"table": { "type": "string", "default": "", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" }
}
},
"swing": {
"type": "boolean",
"default": false,
"description": "If true, the player will do the 'swing' animation when interacting with this entity.",
"title": "Swing"
},
"swing": { "type": "boolean", "default": false, "description": "If true, the player will do the 'swing' animation when interacting with this entity.", "title": "Swing" },
"transform_to_item": {
"type": "string",
"default": "",
"description": "The item used will transform to this item upon successful interaction. Format: itemName:auxValue",
"title": "Transform to item"
"title": "Transform To Item"
},
"use_item": {
"type": "boolean",
"default": false,
"description": "If true, the interaction will use an item.",
"title": "Use item"
}
"use_item": { "type": "boolean", "default": false, "description": "If true, the interaction will use an item.", "title": "Use Item" }
}
}
},
"properties": {
"interactions": {
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/interaction_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/interaction_spec"
}
}
{ "type": "object", "$ref": "#/definitions/interaction_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/interaction_spec" } }
],
"description": "TODO description",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -11,38 +11,28 @@
"type": "integer",
"default": 0,
"description": "Number of slots that this entity can gain per extra strength",
"title": "Additional slots per strength"
"title": "Additional Slots Per Strength"
},
"can_be_siphoned_from": {
"type": "boolean",
"default": false,
"description": "If true, the contents of this inventory can be removed by a hopper",
"title": "Can be siphoned from"
"title": "Can Be Siphoned From"
},
"container_type": {
"type": "string",
"default": "none",
"description": "Type of container this entity has. Can be horse, minecart_chest, minecart_hopper, inventory, container or hopper",
"title": "Container type",
"title": "Container Type",
"enum": ["horse", "minecart_chest", "minecart_hopper", "inventory", "container", "hopper"]
},
"inventory_size": {
"type": "integer",
"default": 5,
"description": "Number of slots the container has",
"title": "Inventory size"
},
"private": {
"type": "boolean",
"default": false,
"description": "If true, only the entity can access the inventory",
"title": "Private"
},
"inventory_size": { "type": "integer", "default": 5, "description": "Number of slots the container has", "title": "Inventory Size" },
"private": { "type": "boolean", "default": false, "description": "If true, only the entity can access the inventory", "title": "Private" },
"restrict_to_owner": {
"type": "boolean",
"default": false,
"description": "If true, the entity's inventory can only be accessed by its owner or itself",
"title": "Restrict to owner"
"title": "Restrict To Owner"
}
}
}

View File

@@ -10,27 +10,17 @@
"type": "boolean",
"default": false,
"description": "If true, players can leash this entity even if it is already leashed to another mob.",
"title": "Can be stolen"
"title": "Can Be Stolen"
},
"hard_distance": {
"type": "number",
"default": 6,
"description": "Distance in blocks at which the leash stiffens, restricting movement.",
"title": "Hard distance"
},
"max_distance": {
"type": "number",
"default": 10,
"description": "Distance in blocks at which the leash breaks.",
"title": "Max distance"
},
"on_leash": { "$ref": "../types/event.json", "description": "Event to call when this entity is leashed.", "title": "On leash" },
"on_unleash": { "$ref": "../types/event.json", "description": "Event to call when this entity is unleashed.", "title": "On unleash" },
"hard_distance": { "type": "number", "default": 6, "description": "Distance in blocks at which the leash stiffens, restricting movement.", "title": "Hard Distance" },
"max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks.", "title": "Max Distance" },
"on_leash": { "$ref": "../types/event.json", "description": "Event to call when this entity is leashed.", "title": "On Leash" },
"on_unleash": { "$ref": "../types/event.json", "description": "Event to call when this entity is unleashed.", "title": "On Unleash" },
"soft_distance": {
"type": "number",
"default": 4,
"description": "Distance in blocks at which the 'spring' effect starts acting to keep this entity close to the entity that leashed it.",
"title": "Soft distance"
"title": "Soft Distance"
}
}
}

View File

@@ -11,49 +11,25 @@
"type": "boolean",
"default": false,
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.",
"title": "Allow invulnerable"
"title": "Allow Invulnerable"
},
"filters": { "$ref": "../filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO title" },
"filters": { "$ref": "../filters.json", "description": "Defines the entities that can trigger this component", "title": "TODO Title" },
"look_cooldown": {
"$ref": "../types/range_number_type.json",
"default": [0.0, 0.0],
"description": "The range for the random amount of time during which the entity is 'cooling down' and won't get angered or look for a target",
"title": "TODO title"
},
"look_event": {
"type": "string",
"description": "The event identifier to run when the entities specified in filters look at this entity",
"title": "TODO title"
"title": "TODO Title"
},
"look_event": { "type": "string", "description": "The event identifier to run when the entities specified in filters look at this entity", "title": "TODO Title" },
"mAllowInvulnerable": {
"type": "boolean",
"default": false,
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets",
"title": "TODO title"
"title": "TODO Title"
},
"searchRadius": {
"type": "number",
"default": 10,
"description": "Maximum distance this entity will look for another entity looking at it",
"title": "TODO title"
},
"setTarget": {
"type": "boolean",
"default": true,
"description": "If true, this entity will set the attack target as the entity that looked at it",
"title": "TODO title"
},
"search_radius": {
"type": "number",
"default": 10,
"description": "Maximum distance this entity will look for another entity looking at it.",
"title": "Search radius"
},
"set_target": {
"type": "boolean",
"default": true,
"description": "If true, this entity will set the attack target as the entity that looked at it.",
"title": "Set target"
}
"searchRadius": { "type": "number", "default": 10, "description": "Maximum distance this entity will look for another entity looking at it", "title": "TODO Title" },
"setTarget": { "type": "boolean", "default": true, "description": "If true, this entity will set the attack target as the entity that looked at it", "title": "TODO Title" },
"search_radius": { "type": "number", "default": 10, "description": "Maximum distance this entity will look for another entity looking at it.", "title": "Search Radius" },
"set_target": { "type": "boolean", "default": true, "description": "If true, this entity will set the attack target as the entity that looked at it.", "title": "Set Target" }
}
}

View File

@@ -2,28 +2,13 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.mob_effect",
"type": "object",
"title": "Mob effect 1.16.0",
"title": "Mob Effect 1.16.0",
"description": "A component that applies a mob effect to entities that get within range.",
"additionalProperties": false,
"properties": {
"effect_range": {
"type": "number",
"default": 0.2,
"description": "How close a hostile entity must be to have the mob effect applied.",
"title": "Effect range"
},
"effect_time": {
"type": "integer",
"default": 10,
"description": "How long the applied mob effect lasts in seconds.",
"title": "Effect time"
},
"mob_effect": {
"type": "string",
"default": "",
"description": "The mob effect that is applied to entities that enter this entities effect range.",
"title": "Mob effect"
},
"entity_filter": { "$ref": "../filters.json", "title": "Entity filter", "description": "TODO" }
"effect_range": { "type": "number", "default": 0.2, "description": "How close a hostile entity must be to have the mob effect applied.", "title": "Effect Range" },
"effect_time": { "type": "integer", "default": 10, "description": "How long the applied mob effect lasts in seconds.", "title": "Effect Time" },
"mob_effect": { "type": "string", "default": "", "description": "The mob effect that is applied to entities that enter this entities effect range.", "title": "Mob Effect" },
"entity_filter": { "$ref": "../filters.json", "title": "Entity Filter", "description": "TODO" }
}
}

View File

@@ -5,12 +5,5 @@
"description": "This move control causes the mob to hover.",
"type": "object",
"additionalProperties": false,
"properties": {
"max_turn": {
"type": "number",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Max turn"
}
}
"properties": { "max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "Max Turn" } }
}

View File

@@ -11,21 +11,9 @@
"type": "array",
"default": [0.0, 0.0],
"description": "Delay after landing when using the slime move control.",
"title": "Jump delay",
"items": [
{
"type": "number"
},
{
"type": "number"
}
]
"title": "Jump Delay",
"items": [{ "type": "number" }, { "type": "number" }]
},
"max_turn": {
"type": "number",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Max turn"
}
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "Max Turn" }
}
}

View File

@@ -6,16 +6,7 @@
"type": "object",
"additionalProperties": false,
"properties": {
"max_turn": {
"type": "number",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Max turn"
},
"sway_amplitude": {
"type": "number",
"description": "TODO description",
"title": "TODO title"
}
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "Max Turn" },
"sway_amplitude": { "type": "number", "description": "TODO description", "title": "TODO Title" }
}
}

View File

@@ -11,51 +11,24 @@
"type": "object",
"additionalProperties": false,
"description": "Describes the special names for this entity and the events to call when the entity acquires those names",
"title": "Name action",
"title": "Name Action",
"properties": {
"name_filter": {
"type": "string",
"default": "",
"description": "List of special names that will cause the events defined in 'on_named' to fire",
"title": "Name filter"
},
"on_named": {
"$ref": "../types/event.json",
"description": "Event to be called when this entity acquires the name specified in 'name_filter'",
"title": "On named"
}
"name_filter": { "type": "string", "default": "", "description": "List of special names that will cause the events defined in 'on_named' to fire", "title": "Name Filter" },
"on_named": { "$ref": "../types/event.json", "description": "Event to be called when this entity acquires the name specified in 'name_filter'", "title": "On Named" }
}
}
},
"properties": {
"allow_name_tag_renaming": {
"type": "boolean",
"default": true,
"description": "If true, this entity can be renamed with name tags",
"title": "Allow name tag renaming"
},
"always_show": {
"type": "boolean",
"default": false,
"description": "If true, the name will always be shown",
"title": "Always show"
},
"default_trigger": { "$ref": "../types/trigger.json", "description": "Trigger to run when the entity gets named", "title": "Default trigger" },
"allow_name_tag_renaming": { "type": "boolean", "default": true, "description": "If true, this entity can be renamed with name tags", "title": "Allow Name Tag Renaming" },
"always_show": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "Always Show" },
"default_trigger": { "$ref": "../types/trigger.json", "description": "Trigger to run when the entity gets named", "title": "Default Trigger" },
"name_actions": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/name_action"
}
},
{
"type": "object",
"$ref": "#/definitions/name_action"
}
{ "type": "array", "items": { "$ref": "#/definitions/name_action" } },
{ "type": "object", "$ref": "#/definitions/name_action" }
],
"description": "TODO description",
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "avoid water"
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "blocks to avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTATED",
"$ref": "../../../../general/block/identifier.json"
}
},
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "can breach"
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "can break doors"
},
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "can jump"
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "can open iron doors"
},
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "can pass doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "can path from air"
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "can path over water"
},
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "can sink"
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "can swim"
},
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "can walk"
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "can walk in lava"
"title": "Can Walk In Lava"
},
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "is amphibious"
}
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "avoid water"
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "blocks to avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTATED",
"$ref": "../../../../general/block/identifier.json"
}
},
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "can breach"
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "can break doors"
},
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "can jump"
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "can open iron doors"
},
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "can pass doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "can path from air"
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "can path over water"
},
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "can sink"
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "can swim"
},
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "can walk"
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "can walk in lava"
"title": "Can Walk In Lava"
},
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "is amphibious"
}
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "avoid water"
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "blocks to avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTATED",
"$ref": "../../../../general/block/identifier.json"
}
},
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "can breach"
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "can break doors"
},
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "can jump"
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "can open iron doors"
},
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "can pass doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "can path from air"
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "can path over water"
},
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "can sink"
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "can swim"
},
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "can walk"
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "can walk in lava"
"title": "Can Walk In Lava"
},
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "is amphibious"
}
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "avoid water"
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "blocks to avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTATED",
"$ref": "../../../../general/block/identifier.json"
}
},
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "can breach"
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "can break doors"
},
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "can jump"
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "can open iron doors"
},
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "can pass doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "can path from air"
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "can path over water"
},
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "can sink"
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "can swim"
},
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "can walk"
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "can walk in lava"
"title": "Can Walk In Lava"
},
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "is amphibious"
}
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "avoid water"
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "blocks to avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTATED",
"$ref": "../../../../general/block/identifier.json"
}
},
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "can breach"
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "can break doors"
},
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "can jump"
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "can open iron doors"
},
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "can pass doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "can path from air"
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "can path over water"
},
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "can sink"
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "can swim"
},
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "can walk"
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "can walk in lava"
"title": "Can Walk In Lava"
},
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "is amphibious"
}
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "avoid water"
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "blocks to avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTATED",
"$ref": "../../../../general/block/identifier.json"
}
},
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "can breach"
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "can break doors"
},
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "can jump"
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "can open iron doors"
},
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "can pass doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "can path from air"
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "can path over water"
},
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "can sink"
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "can swim"
},
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "can walk"
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "can walk in lava"
"title": "Can Walk In Lava"
},
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "is amphibious"
}
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
}
}

View File

@@ -10,119 +10,75 @@
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
"title": "avoid damage blocks"
"title": "Avoid Damage Blocks"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "avoid portals"
"title": "Avoid Portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "avoid water"
"title": "Avoid Sun"
},
"avoid_water": { "type": "boolean", "default": false, "description": "Tells the pathfinder to avoid water when creating a path", "title": "Avoid Water" },
"blocks_to_avoid": {
"type": "array",
"description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "blocks to avoid",
"items": {
"title": "Block",
"description": "UNDOCUMENTATED",
"$ref": "../../../../general/block/identifier.json"
}
},
"can_breach": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)",
"title": "can breach"
"title": "Blocks To Avoid",
"items": { "title": "Block", "description": "UNDOCUMENTATED", "$ref": "../../../../general/block/identifier.json" }
},
"can_breach": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can jump out of water (like a dolphin)", "title": "Can Breach" },
"can_break_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door and break it",
"title": "can break doors"
},
"can_jump": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can jump up blocks",
"title": "can jump"
"title": "Can Break Doors"
},
"can_jump": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can jump up blocks", "title": "Can Jump" },
"can_open_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed door assuming the AI will open the door",
"title": "can open doors"
"title": "Can Open Doors"
},
"can_open_iron_doors": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door",
"title": "can open iron doors"
},
"can_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "can pass doors"
},
"can_path_from_air": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder that it can start pathing when in the air",
"title": "can path from air"
"title": "Can Open Iron Doors"
},
"can_pass_doors": { "type": "boolean", "default": true, "description": "Whether a path can be created through a door", "title": "Can Pass Doors" },
"can_path_from_air": { "type": "boolean", "default": false, "description": "Tells the pathfinder that it can start pathing when in the air", "title": "Can Path From Air" },
"can_path_over_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the lava",
"title": "can path over lava"
"title": "Can Path Over Lava"
},
"can_path_over_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel on the surface of the water",
"title": "can path over water"
},
"can_sink": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water",
"title": "can sink"
"title": "Can Path Over Water"
},
"can_sink": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it will be pulled down by gravity while in water", "title": "Can Sink" },
"can_swim": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path",
"title": "can swim"
},
"can_walk": {
"type": "boolean",
"default": true,
"description": "Tells the pathfinder whether or not it can walk on the ground outside water",
"title": "can walk"
"title": "Can Swim"
},
"can_walk": { "type": "boolean", "default": true, "description": "Tells the pathfinder whether or not it can walk on the ground outside water", "title": "Can Walk" },
"can_walk_in_lava": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can travel in lava like walking on ground",
"title": "can walk in lava"
"title": "Can Walk In Lava"
},
"is_amphibious": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder whether or not it can walk on the ground underwater",
"title": "is amphibious"
}
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
}
}

View File

@@ -18,63 +18,40 @@
"properties": {
"npc_data": {
"type": "object",
"title": "Npc data",
"title": "Npc Data",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"portrait_offsets": {
"type": "object",
"title": "Portrait offsets",
"title": "Portrait Offsets",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"translate": {
"$ref": "#/definitions/rangeXYZ",
"title": "Translate",
"description": "UNDOCUMENTATED"
},
"scale": {
"$ref": "#/definitions/rangeXYZ",
"title": "Scale",
"description": "UNDOCUMENTATED"
}
"translate": { "$ref": "#/definitions/rangeXYZ", "title": "Translate", "description": "UNDOCUMENTATED" },
"scale": { "$ref": "#/definitions/rangeXYZ", "title": "Scale", "description": "UNDOCUMENTATED" }
}
},
"picker_offsets": {
"type": "object",
"title": "Picker offsets",
"title": "Picker Offsets",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"translate": {
"$ref": "#/definitions/rangeXYZ",
"title": "Translate",
"description": "UNDOCUMENTATED"
},
"scale": {
"$ref": "#/definitions/rangeXYZ",
"title": "Scale",
"description": "UNDOCUMENTATED"
}
"translate": { "$ref": "#/definitions/rangeXYZ", "title": "Translate", "description": "UNDOCUMENTATED" },
"scale": { "$ref": "#/definitions/rangeXYZ", "title": "Scale", "description": "UNDOCUMENTATED" }
}
},
"skin_list": {
"type": "array",
"title": "Skin list",
"title": "Skin List",
"description": "UNDOCUMENTATED",
"items": {
"type": "object",
"title": "Skin",
"description": "UNDOCUMENTATED",
"additionalProperties": false,
"properties": {
"variant": {
"title": "Variant",
"description": "UNDOCUMENTATED",
"type": "integer",
"minimum": 0
}
}
"properties": { "variant": { "title": "Variant", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } }
}
}
}

View File

@@ -6,46 +6,22 @@
"description": "Allows the entity to be a thrown entity.",
"additionalProperties": false,
"properties": {
"anchor": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"angle_offset": {
"type": "number",
"default": 0,
"description": "Determines the angle at which the projectile is thrown",
"title": "Angle offset"
},
"catch_fire": {
"type": "boolean",
"default": false,
"description": "If true, the entity hit will be set on fire",
"title": "Catch fire"
},
"anchor": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"angle_offset": { "type": "number", "default": 0, "description": "Determines the angle at which the projectile is thrown", "title": "Angle Offset" },
"catch_fire": { "type": "boolean", "default": false, "description": "If true, the entity hit will be set on fire", "title": "Catch Fire" },
"crit_particle_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will produce additional particles when a critical hit happens",
"title": "Crit particle on hurt"
},
"destroy_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be destroyed when hit",
"title": "Destroy on hurt"
},
"filter": {
"type": "string",
"default": "",
"description": "Entity Definitions defined here can't be hurt by the projectile",
"title": "Filter"
"title": "Crit Particle On Hurt"
},
"destroy_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be destroyed when hit", "title": "Destroy On Hurt" },
"filter": { "type": "string", "default": "", "description": "Entity Definitions defined here can't be hurt by the projectile", "title": "Filter" },
"fire_affected_by_griefing": {
"type": "boolean",
"default": false,
"description": "If true, whether the projectile causes fire is affected by the mob griefing game rule",
"title": "Fire affected by griefing"
"title": "Fire Affected By Griefing"
},
"gravity": {
"type": "number",
@@ -53,83 +29,31 @@
"description": "The gravity applied to this entity when thrown. The higher the value, the faster the entity falls",
"title": "Gravity"
},
"hit_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile hits something",
"title": "Hit sound"
},
"homing": {
"type": "boolean",
"default": false,
"description": "If true, the projectile homes in to the nearest entity",
"title": "Homing"
},
"inertia": {
"type": "number",
"default": 0.99,
"description": "The fraction of the projectile's speed maintained every frame while traveling in air",
"title": "Inertia"
},
"is_dangerous": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will be treated as dangerous to the players",
"title": "Is dangerous"
},
"knockback": {
"type": "boolean",
"default": true,
"description": "If true, the projectile will knock back the entity it hits",
"title": "Knockback"
},
"lightning": {
"type": "boolean",
"default": false,
"description": "If true, the entity hit will be struck by lightning",
"title": "Lightning"
},
"hit_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile hits something", "title": "Hit Sound" },
"homing": { "type": "boolean", "default": false, "description": "If true, the projectile homes in to the nearest entity", "title": "Homing" },
"inertia": { "type": "number", "default": 0.99, "description": "The fraction of the projectile's speed maintained every frame while traveling in air", "title": "Inertia" },
"is_dangerous": { "type": "boolean", "default": false, "description": "If true, the projectile will be treated as dangerous to the players", "title": "Is Dangerous" },
"knockback": { "type": "boolean", "default": true, "description": "If true, the projectile will knock back the entity it hits", "title": "Knockback" },
"lightning": { "type": "boolean", "default": false, "description": "If true, the entity hit will be struck by lightning", "title": "Lightning" },
"liquid_inertia": {
"type": "number",
"default": 0.6,
"description": "The fraction of the projectile's speed maintained every frame while traveling in water",
"title": "Liquid inertia"
},
"multiple_targets": {
"type": "boolean",
"default": true,
"description": "If true, the projectile can hit multiple entities per flight",
"title": "Multiple targets"
"title": "Liquid Inertia"
},
"multiple_targets": { "type": "boolean", "default": true, "description": "If true, the projectile can hit multiple entities per flight", "title": "Multiple Targets" },
"offset": {
"type": "array",
"default": [0, 0.5, 0],
"description": "The offset from the entity's anchor where the projectile will spawn",
"title": "Offset",
"items": [
{
"type": "number",
"description": "X",
"title": "X"
},
{
"type": "number",
"description": "Y",
"title": "Y"
},
{
"type": "number",
"description": "Z",
"title": "Z"
}
{ "type": "number", "description": "X", "title": "X" },
{ "type": "number", "description": "Y", "title": "Y" },
{ "type": "number", "description": "Z", "title": "Z" }
]
},
"on_fire_time": {
"type": "number",
"default": 5,
"description": "Time in seconds that the entity hit will be on fire for",
"title": "On fire time"
},
"on_fire_time": { "type": "number", "default": 5, "description": "Time in seconds that the entity hit will be on fire for", "title": "On Fire Time" },
"on_hit": {
"additionalProperties": false,
"type": "object",
@@ -141,13 +65,7 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"type": "object",
"properties": {
"fire_affected_by_griefing": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
}
"properties": { "fire_affected_by_griefing": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" } }
},
"definition_event": {
"additionalProperties": false,
@@ -155,57 +73,23 @@
"title": "UNDOCUMENTATED",
"type": "object",
"properties": {
"affect_projectile": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"event_trigger": {
"$ref": "../types/event.json"
}
"affect_projectile": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"event_trigger": { "$ref": "../types/event.json" }
}
},
"douse_fire": {
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"douse_fire": { "type": "object", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"impact_damage": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"filter": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"catch_fire": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"damage": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"destroy_on_hit": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"knockback": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"semi_random_diff_damage": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"filter": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"catch_fire": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"damage": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"destroy_on_hit": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"knockback": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"semi_random_diff_damage": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"particle_on_hit": {
@@ -214,232 +98,87 @@
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"particle_type": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"num_particles": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"on_entity_hit": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"on_other_hit": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"particle_type": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"num_particles": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"on_entity_hit": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"on_other_hit": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"remove_on_hit": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"remove_on_hit": { "additionalProperties": false, "type": "object", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"spawn_chance": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"first_spawn_percent_chance": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"first_spawn_chance": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"second_spawn_chance": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"first_spawn_count": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"second_spawn_count": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"spawn_definition": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"spawn_baby": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"first_spawn_percent_chance": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"first_spawn_chance": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"second_spawn_chance": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"first_spawn_count": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"second_spawn_count": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"spawn_definition": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"spawn_baby": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"spawn_aoe_cloud": {
"additionalProperties": false,
"type": "object",
"properties": {
"radius": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"radius_on_use": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"potion": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"particle": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"duration": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"radius": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"radius_on_use": { "type": "number", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"potion": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"particle": { "type": "string", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"duration": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"color": {
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"type": "array",
"format": "color-array",
"items": [
{
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "R",
"title": "R"
},
{
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "G",
"title": "G"
},
{
"type": "integer",
"minimum": 0,
"maximum": 255,
"description": "B",
"title": "B"
}
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "R", "title": "R" },
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "G", "title": "G" },
{ "type": "integer", "minimum": 0, "maximum": 255, "description": "B", "title": "B" }
]
},
"affect_owner": {
"type": "boolean",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"reapplication_delay": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"affect_owner": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"reapplication_delay": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"stick_in_ground": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
},
"teleport_owner": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
}
"stick_in_ground": { "additionalProperties": false, "type": "object", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
"teleport_owner": { "additionalProperties": false, "type": "object", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" }
}
},
"particle": {
"type": "string",
"default": "iconcrack",
"description": "Particle to use upon collision",
"title": "Particle"
},
"potion_effect": {
"type": "integer",
"default": -1,
"description": "Defines the effect the arrow will apply to the entity it hits",
"title": "Potion effect"
},
"power": {
"type": "number",
"default": 1.3,
"description": "Determines the velocity of the projectile",
"title": "Power"
},
"reflect_on_hurt": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be reflected back when hit",
"title": "Reflect on hurt"
},
"particle": { "type": "string", "default": "iconcrack", "description": "Particle to use upon collision", "title": "Particle" },
"potion_effect": { "type": "integer", "default": -1, "description": "Defines the effect the arrow will apply to the entity it hits", "title": "Potion Effect" },
"power": { "type": "number", "default": 1.3, "description": "Determines the velocity of the projectile", "title": "Power" },
"reflect_on_hurt": { "type": "boolean", "default": false, "description": "If true, this entity will be reflected back when hit", "title": "Reflect On Hurt" },
"semi_random_diff_damage": {
"type": "boolean",
"default": false,
"description": "If true, damage will be randomized based on damage and speed",
"title": "Semi random diff damage"
},
"shoot_sound": {
"type": "string",
"default": "",
"description": "The sound that plays when the projectile is shot",
"title": "Shoot sound"
"title": "Semi Random Diff Damage"
},
"shoot_sound": { "type": "string", "default": "", "description": "The sound that plays when the projectile is shot", "title": "Shoot Sound" },
"shoot_target": {
"type": "boolean",
"default": true,
"description": "If true, the projectile will be shot towards the target of the entity firing it",
"title": "Shoot target"
},
"should_bounce": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will bounce upon hit",
"title": "Should bounce"
},
"splash_potion": {
"type": "boolean",
"default": false,
"description": "If true, the projectile will be treated like a splash potion",
"title": "Splash potion"
},
"splash_range": {
"type": "number",
"default": 4,
"description": "Radius in blocks of the 'splash' effect",
"title": "Splash range"
"title": "Shoot Target"
},
"should_bounce": { "type": "boolean", "default": false, "description": "If true, the projectile will bounce upon hit", "title": "Should Bounce" },
"splash_potion": { "type": "boolean", "default": false, "description": "If true, the projectile will be treated like a splash potion", "title": "Splash Potion" },
"splash_range": { "type": "number", "default": 4, "description": "Radius in blocks of the 'splash' effect", "title": "Splash Range" },
"uncertainty_base": {
"type": "number",
"default": 0,
"description": "The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty base"
"title": "Uncertainty Base"
},
"uncertainty_multiplier": {
"type": "number",
"default": 0,
"description": "Determines how much difficulty affects accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
"title": "Uncertainty multiplier"
"title": "Uncertainty Multiplier"
}
}
}

View File

@@ -15,88 +15,47 @@
"default": 181,
"description": "Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit"
},
"max_rider_count": {
"type": "integer",
"default": 0,
"description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid"
},
"max_rider_count": { "type": "integer", "default": 0, "description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid" },
"min_rider_count": {
"type": "integer",
"default": 0,
"description": "Defines the minimum number of riders that need to be riding this entity before this seat can be used"
},
"position": {
"$ref": "../../../../general/array_3_number.json",
"default": [0.0, 0.0, 0.0],
"description": "Position of this seat relative to this entity's position"
},
"rotate_rider_by": {
"$ref": "../../../../molang/1.8.0/number.json",
"description": "Offset to rotate riders by"
}
"position": { "$ref": "../../../../general/array_3_number.json", "default": [0.0, 0.0, 0.0], "description": "Position of this seat relative to this entity's position" },
"rotate_rider_by": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Offset to rotate riders by" }
}
}
},
"required": [],
"properties": {
"controlling_seat": {
"type": "integer",
"default": 0,
"description": "The seat that designates the driver of the entity",
"title": "TODO title"
},
"controlling_seat": { "type": "integer", "default": 0, "description": "The seat that designates the driver of the entity", "title": "TODO Title" },
"crouching_skip_interact": {
"type": "boolean",
"default": true,
"description": "If true, this entity can't be interacted with if the entity interacting with it is crouching",
"title": "TODO title"
},
"family_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of entities that can ride this entity",
"title": "TODO title"
"title": "TODO Title"
},
"family_types": { "type": "array", "items": { "type": "string" }, "description": "List of entities that can ride this entity", "title": "TODO Title" },
"interact_text": {
"type": "string",
"default": "",
"description": "The text to display when the player can interact with the entity when playing with Touch-screen controls",
"title": "TODO title"
"title": "TODO Title"
},
"pull_in_entities": {
"type": "boolean",
"default": false,
"description": "If true, this entity will pull in entities that are in the correct family_types into any available seats",
"title": "TODO title"
},
"rider_can_interact": {
"type": "boolean",
"default": false,
"description": "If true, this entity will be picked when looked at by the rider",
"title": "TODO title"
},
"seat_count": {
"type": "integer",
"default": 1,
"description": "The number of entities that can ride this entity at the same time",
"title": "TODO title"
"title": "TODO Title"
},
"rider_can_interact": { "type": "boolean", "default": false, "description": "If true, this entity will be picked when looked at by the rider", "title": "TODO Title" },
"seat_count": { "type": "integer", "default": 1, "description": "The number of entities that can ride this entity at the same time", "title": "TODO Title" },
"seats": {
"description": "The list of positions and number of riders for each position for entities riding this entity",
"title": "TODO title",
"title": "TODO Title",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/seats_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/seats_spec"
}
}
{ "type": "object", "$ref": "#/definitions/seats_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/seats_spec" } }
]
}
}

View File

@@ -7,35 +7,18 @@
"additionalProperties": false,
"required": [],
"properties": {
"min_delay_secs": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"minimum": 0
},
"max_delay_secs": {
"type": "integer",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"minimum": 0
},
"min_delay_secs": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED", "minimum": 0 },
"max_delay_secs": { "type": "integer", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED", "minimum": 0 },
"scheduled_events": {
"type": "array",
"description": "The list of triggers that fire when the conditions match the given filter criteria. If any filter criteria overlap the first defined event will be picked.",
"title": "Scheduled events",
"title": "Scheduled Events",
"items": {
"additionalProperties": false,
"type": "object",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED",
"properties": {
"filters": {
"$ref": "../filters.json"
},
"event": {
"$ref": "../types/event.json"
}
}
"properties": { "filters": { "$ref": "../filters.json" }, "event": { "$ref": "../types/event.json" } }
}
}
}

View File

@@ -11,26 +11,16 @@
"type": "boolean",
"default": false,
"description": "A bucket for all other items in the game. Note this category is always least priority items.",
"title": "All items"
},
"all_items_max_amount": {
"type": "integer",
"default": -1,
"description": "Maximum number of this item the mob will hold.",
"title": "All items max amount"
"title": "All Items"
},
"all_items_max_amount": { "type": "integer", "default": -1, "description": "Maximum number of this item the mob will hold.", "title": "All Items Max Amount" },
"all_items_surplus_amount": {
"type": "integer",
"default": -1,
"description": "Number of this item considered extra that the entity wants to share.",
"title": "All items surplus amount"
},
"all_items_want_amount": {
"type": "integer",
"default": -1,
"description": "Number of this item this entity wants to share.",
"title": "All items want amount"
"title": "All Items Surplus Amount"
},
"all_items_want_amount": { "type": "integer", "default": -1, "description": "Number of this item this entity wants to share.", "title": "All Items Want Amount" },
"items": {
"type": "array",
"description": "List of items that the entity wants to share",
@@ -47,59 +37,27 @@
"description": "Mob will barter for the item after picking it up. For this to work the mob needs to have a Barter component and a Barter goal.",
"title": "Barter"
},
"consume_item": {
"type": "boolean",
"description": "Determines whether the mob will consume the item or not.",
"title": "Consume item"
},
"consume_item": { "type": "boolean", "description": "Determines whether the mob will consume the item or not.", "title": "Consume Item" },
"craft_into": {
"type": "string",
"description": "Defines the item this entity wants to craft with the item defined above. Should be an item name.",
"title": "Craft into"
},
"item": {
"type": "string",
"description": "The name of the item",
"$ref": "../../../../general/item/identifier.json"
},
"item_aux": {
"type": "integer",
"description": "Aux value for the item.",
"title": "Item aux"
},
"max_amount": {
"type": "integer",
"description": "Maximum number of this item the mob will hold.",
"title": "Max amount"
},
"pickup_limit": {
"type": "integer",
"description": "Maximum number of this item the mob will pick up during a single goal tick.",
"title": "Pickup limit"
},
"priority": {
"type": "integer",
"description": "Prioritizes which items the entity prefers. 0 is the highest priority.",
"title": "Priority"
"title": "Craft Into"
},
"item": { "type": "string", "description": "The name of the item", "$ref": "../../../../general/item/identifier.json" },
"item_aux": { "type": "integer", "description": "Aux value for the item.", "title": "Item Aux" },
"max_amount": { "type": "integer", "description": "Maximum number of this item the mob will hold.", "title": "Max Amount" },
"pickup_limit": { "type": "integer", "description": "Maximum number of this item the mob will pick up during a single goal tick.", "title": "Pickup Limit" },
"priority": { "type": "integer", "description": "Prioritizes which items the entity prefers. 0 is the highest priority.", "title": "Priority" },
"stored_in_inventory": {
"type": "boolean",
"description": "Determines whether the mob will try to put the item in its inventory if it has the inventory component and if it can't be equipped.",
"title": "Stored in inventory"
"title": "Stored In Inventory"
},
"surplus_amount": {
"type": "integer",
"description": "Number of this item considered extra that the entity wants to share.",
"title": "Surplus amount"
},
"want_amount": {
"type": "integer",
"description": "Number of this item this entity wants to have.",
"title": "Want amount"
}
"surplus_amount": { "type": "integer", "description": "Number of this item considered extra that the entity wants to share.", "title": "Surplus Amount" },
"want_amount": { "type": "integer", "description": "Number of this item this entity wants to have.", "title": "Want Amount" }
}
},
"title": "TODO title"
"title": "TODO Title"
}
}
}

View File

@@ -7,21 +7,12 @@
"additionalProperties": false,
"required": [],
"properties": {
"aux_val": {
"type": "integer",
"title": "Aux val",
"default": -1,
"description": "ID of the Potion effect to be applied on hit"
},
"aux_val": { "type": "integer", "title": "Aux Val", "default": -1, "description": "ID of the Potion effect to be applied on hit" },
"def": {
"title": "Def",
"type": "string",
"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",
"type": "string",
"description": "UNDOCUMENTATED"
}
"type": { "title": "Type", "type": "string", "description": "UNDOCUMENTATED" }
}
}

View File

@@ -3,79 +3,41 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.spawn_entity",
"type": "object",
"description": "Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior).",
"title": "Spawn entity 1.16.0",
"title": "Spawn Entity 1.16.0",
"additionalProperties": false,
"required": [],
"definitions": {
"entity_spawn": {
"additionalProperties": false,
"type": "object",
"title": "Entity spawn",
"title": "Entity Spawn",
"properties": {
"filters": {
"description": "If present, the specified entity will only spawn if the filter evaluates to true",
"$ref": "../filters.json"
},
"filters": { "description": "If present, the specified entity will only spawn if the filter evaluates to true", "$ref": "../filters.json" },
"max_wait_time": {
"type": "integer",
"default": 600,
"description": "Maximum amount of time to randomly wait in seconds before another entity is spawned.",
"title": "Max wait time"
"title": "Max Wait Time"
},
"min_wait_time": {
"type": "integer",
"default": 300,
"description": "Minimum amount of time to randomly wait in seconds before another entity is spawned.",
"title": "Min wait time"
},
"num_to_spawn": {
"type": "integer",
"default": 1,
"description": "The number of entities of this type to spawn each time that this triggers.",
"title": "Num to spawn"
},
"should_leash": {
"type": "boolean",
"default": false,
"description": "If true, this the spawned entity will be leashed to the parent.",
"title": "Should leash"
},
"single_use": {
"type": "boolean",
"default": false,
"description": "If true, this component will only ever spawn the specified entity once.",
"title": "Single use"
"title": "Min Wait Time"
},
"num_to_spawn": { "type": "integer", "default": 1, "description": "The number of entities of this type to spawn each time that this triggers.", "title": "Num To Spawn" },
"should_leash": { "type": "boolean", "default": false, "description": "If true, this the spawned entity will be leashed to the parent.", "title": "Should Leash" },
"single_use": { "type": "boolean", "default": false, "description": "If true, this component will only ever spawn the specified entity once.", "title": "Single Use" },
"spawn_entity": {
"type": "string",
"default": "",
"description": "Identifier of the entity to spawn, leave empty to spawn the item defined above instead.",
"title": "Spawn entity"
"title": "Spawn Entity"
},
"spawn_event": {
"type": "string",
"default": "minecraft:entity_born",
"description": "Event to call when the entity is spawned.",
"title": "Spawn event"
},
"spawn_item": {
"type": "string",
"default": "egg",
"description": "Item identifier of the item to spawn.",
"title": "Spawn item"
},
"spawn_method": {
"type": "string",
"default": "born",
"description": "Method to use to spawn the entity.",
"title": "Spawn method"
},
"spawn_sound": {
"type": "string",
"default": "plop",
"description": "Identifier of the sound effect to play when the entity is spawned.",
"title": "Spawn sound"
}
"spawn_event": { "type": "string", "default": "minecraft:entity_born", "description": "Event to call when the entity is spawned.", "title": "Spawn Event" },
"spawn_item": { "type": "string", "default": "egg", "description": "Item identifier of the item to spawn.", "title": "Spawn Item" },
"spawn_method": { "type": "string", "default": "born", "description": "Method to use to spawn the entity.", "title": "Spawn Method" },
"spawn_sound": { "type": "string", "default": "plop", "description": "Identifier of the sound effect to play when the entity is spawned.", "title": "Spawn Sound" }
}
}
},
@@ -84,16 +46,8 @@
"title": "Entities",
"description": "UNDOCUMENTATED",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/entity_spawn"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/entity_spawn"
}
}
{ "type": "object", "$ref": "#/definitions/entity_spawn" },
{ "type": "array", "items": { "$ref": "#/definitions/entity_spawn" } }
]
}
}

View File

@@ -7,17 +7,7 @@
"additionalProperties": false,
"required": [],
"properties": {
"max": {
"type": "integer",
"default": 5,
"description": "The maximum strength of this entity",
"title": "Maximum"
},
"value": {
"type": "integer",
"default": 1,
"description": "The initial value of the strength",
"title": "Value"
}
"max": { "type": "integer", "default": 5, "description": "The maximum strength of this entity", "title": "Maximum" },
"value": { "type": "integer", "default": 1, "description": "The initial value of the strength", "title": "Value" }
}
}

View File

@@ -15,87 +15,40 @@
"description": "Name of the item this entity likes and can be used to increase this entity's temper",
"title": "Item"
},
"temper_mod": {
"type": "number",
"default": 0,
"description": "The amount of temper this entity gains when fed this item",
"title": "Temper mod"
}
"temper_mod": { "type": "number", "default": 0, "description": "The amount of temper this entity gains when fed this item", "title": "Temper Mod" }
}
},
"auto_reject_items": {
"type": "object",
"description": "The list of items that this entity dislikes and will cause it to get angry if used while untamed.",
"properties": {
"item": {
"$ref": "../../../../general/item/identifier.json",
"description": "Name of the item this entity dislikes and will cause it to get angry if used while untamed"
}
"item": { "$ref": "../../../../general/item/identifier.json", "description": "Name of the item this entity dislikes and will cause it to get angry if used while untamed" }
}
}
},
"required": [],
"properties": {
"attempt_temper_mod": {
"type": "integer",
"default": 5,
"description": "The amount the entity's temper will increase when mounted.",
"title": "Attempt temper mod"
},
"attempt_temper_mod": { "type": "integer", "default": 5, "description": "The amount the entity's temper will increase when mounted.", "title": "Attempt Temper Mod" },
"auto_reject_items": {
"description": "The list of items that, if carried while interacting with the entity, will anger it.",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/auto_reject_items"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/auto_reject_items"
}
}
{ "type": "object", "$ref": "#/definitions/auto_reject_items" },
{ "type": "array", "items": { "$ref": "#/definitions/auto_reject_items" } }
],
"title": "TODO title"
},
"feed_text": {
"type": "string",
"description": "The text that shows in the feeding interact button",
"title": "Feed text"
"title": "TODO Title"
},
"feed_text": { "type": "string", "description": "The text that shows in the feeding interact button", "title": "Feed Text" },
"feed_items": {
"description": "The list of items that can be used to increase the entity's temper and speed up the taming process",
"title": "Feed items",
"title": "Feed Items",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/feed_items"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/feed_items"
}
}
{ "type": "object", "$ref": "#/definitions/feed_items" },
{ "type": "array", "items": { "$ref": "#/definitions/feed_items" } }
]
},
"max_temper": {
"type": "integer",
"default": 100,
"description": "The maximum value for the entity's random starting temper",
"title": "Max temper"
},
"min_temper": {
"type": "integer",
"default": 0,
"description": "The minimum value for the entity's random starting temper",
"title": "Min temper"
},
"ride_text": {
"type": "string",
"description": "The text that shows in the riding interact button",
"title": "Ride text"
},
"tame_event": { "$ref": "../types/event.json", "description": "Event that triggers when the entity becomes tamed", "title": "TODO title" }
"max_temper": { "type": "integer", "default": 100, "description": "The maximum value for the entity's random starting temper", "title": "Max Temper" },
"min_temper": { "type": "integer", "default": 0, "description": "The minimum value for the entity's random starting temper", "title": "Min Temper" },
"ride_text": { "type": "string", "description": "The text that shows in the riding interact button", "title": "Ride Text" },
"tame_event": { "$ref": "../types/event.json", "description": "Event that triggers when the entity becomes tamed", "title": "TODO Title" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.trade_resupply",
"description": "UNDOCUMENTATED",
"type": "object",
"title": "Trade resupply 1.16.0",
"title": "Trade Resupply 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {}

View File

@@ -11,31 +11,22 @@
"type": "string",
"default": "air",
"description": "The type of block you wish to be spawned by the entity as it move about the world. Solid blocks may not be spawned at an offset of (0,0,0).",
"title": "Block type"
"title": "Block Type"
},
"spawn_filter": {
"$ref": "../filters.json",
"description": "One or more conditions that must be met in order to cause the chosen block type to spawn.",
"title": "Spawn filter"
"title": "Spawn Filter"
},
"spawn_offset": {
"type": "array",
"default": [0, 0, 0],
"description": "The distance from the entities current position to spawn the block. Capped at up to 16 blocks away. The X value is left/right(-/+), the Z value is backward/forward(-/+), the Y value is below/above(-/+).",
"title": "Spawn offset",
"title": "Spawn Offset",
"items": [
{
"type": "number",
"title": "X"
},
{
"type": "number",
"title": "Y"
},
{
"type": "number",
"title": "Z"
}
{ "type": "number", "title": "X" },
{ "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" }
]
}
}

View File

@@ -10,23 +10,11 @@
"add": {
"type": "object",
"description": "List of components to add to the entity after the transformation",
"properties": {
"component_groups": {
"type": "array",
"description": "Names of component groups to add",
"items": {
"type": "string"
}
}
},
"title": "TODO title",
"properties": { "component_groups": { "type": "array", "description": "Names of component groups to add", "items": { "type": "string" } } },
"title": "TODO Title",
"additionalProperties": false
},
"begin_transform_sound": {
"type": "string",
"description": "Sound to play when the transformation starts",
"title": "TODO title"
},
"begin_transform_sound": { "type": "string", "description": "Sound to play when the transformation starts", "title": "TODO Title" },
"delay": {
"description": "Defines the properties of the delay for the transformation",
"oneOf": [
@@ -39,79 +27,45 @@
"default": 0,
"description": "Chance that the entity will look for nearby blocks that can speed up the transformation. Value must be between 0.0 and 1.0"
},
"block_chance": {
"type": "number",
"default": 0,
"description": "Chance that, once a block is found, will help speed up the transformation"
},
"block_chance": { "type": "number", "default": 0, "description": "Chance that, once a block is found, will help speed up the transformation" },
"block_max": {
"type": "integer",
"default": 0,
"description": "Maximum number of blocks the entity will look for to aid in the transformation. If not defined or set to 0, it will be set to the block radius"
},
"block_radius": {
"type": "integer",
"default": 0,
"description": "Distance in Blocks that the entity will search for blocks that can help the transformation"
},
"block_radius": { "type": "integer", "default": 0, "description": "Distance in Blocks that the entity will search for blocks that can help the transformation" },
"block_types": {
"type": "array",
"description": "List of blocks that can help the transformation of this entity",
"items": {
"$ref": "../../../../general/blocks_identifiers.json"
}
"items": { "$ref": "../../../../general/blocks_identifiers.json" }
},
"value": {
"type": "number",
"default": 0,
"description": "Time in seconds before the entity transforms"
}
"value": { "type": "number", "default": 0, "description": "Time in seconds before the entity transforms" }
}
}
],
"title": "TODO title"
},
"drop_equipment": {
"type": "boolean",
"default": false,
"description": "Cause the entity to drop all equipment upon transformation",
"title": "Drop equipment"
},
"drop_inventory": {
"type": "boolean",
"default": false,
"description": "Cause the entity to drop all items in inventory upon transformation",
"title": "Drop inventory"
},
"into": {
"type": "string",
"default": "",
"description": "Entity Definition that this entity will transform into",
"title": "Into"
"title": "TODO Title"
},
"drop_equipment": { "type": "boolean", "default": false, "description": "Cause the entity to drop all equipment upon transformation", "title": "Drop Equipment" },
"drop_inventory": { "type": "boolean", "default": false, "description": "Cause the entity to drop all items in inventory upon transformation", "title": "Drop Inventory" },
"into": { "type": "string", "default": "", "description": "Entity Definition that this entity will transform into", "title": "Into" },
"keep_level": {
"type": "boolean",
"default": false,
"description": "If this entity has trades and has leveled up, it should maintain that level after transformation.",
"title": "Keep level"
"title": "Keep Level"
},
"keep_owner": {
"type": "boolean",
"default": false,
"description": "If this entity is owned by another entity, it should remain owned after transformation.",
"title": "Keep owner"
"title": "Keep Owner"
},
"preserve_equipment": {
"type": "boolean",
"default": false,
"description": "Cause the entity to keep equipment after going through transformation",
"title": "Preserve equipment"
"title": "Preserve Equipment"
},
"transformation_sound": {
"type": "string",
"default": "",
"description": "Sound to play when the entity is done transforming",
"title": "Transformation sound"
}
"transformation_sound": { "type": "string", "default": "", "description": "Sound to play when the entity is done transforming", "title": "Transformation Sound" }
}
}

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.wants_jockey",
"description": "Sets that this entity wants to become a jockey.",
"type": "object",
"title": "Wants jockey 1.16.0",
"title": "Wants Jockey 1.16.0",
"additionalProperties": false,
"required": [],
"properties": {}