Refactor
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.admire_item",
|
||||
"type": "object",
|
||||
"title": "Admire Item 1.16.0",
|
||||
"description": "Causes the mob to ignore attackable targets for a given duration.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"cooldown_after_being_attacked": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Duration, in seconds, for which mob won't admire items if it was hurt",
|
||||
"title": "Cooldown After Being Attacked"
|
||||
},
|
||||
"duration": { "type": "integer", "default": 10, "description": "Duration, in seconds, that the mob is pacified.", "title": "Duration" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.ageable",
|
||||
"type": "object",
|
||||
"title": "Ageable 1.16.0",
|
||||
"description": "Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"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" }
|
||||
],
|
||||
"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" }
|
||||
],
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"grow_up": { "$ref": "../types/event.json", "description": "Event to run when this entity grows up.", "title": "TODO Title" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.ambient_sound_interval",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.angry",
|
||||
"type": "object",
|
||||
"title": "Angry 1.16.0",
|
||||
"description": "Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"broadcast_anger": {
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"sound_interval": {
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||
"title": "Sound Interval",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"default": [0, 0],
|
||||
"items": [
|
||||
{ "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" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.area_attack",
|
||||
"type": "object",
|
||||
"title": "Area Attack 1.16.0",
|
||||
"description": "A component that does damage to entities that get within range.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"damage_per_tick": {
|
||||
"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" },
|
||||
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
|
||||
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.attack_cooldown",
|
||||
"type": "object",
|
||||
"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"
|
||||
},
|
||||
"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",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Maximum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
]
|
||||
},
|
||||
{ "type": "number" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.barter",
|
||||
"type": "object",
|
||||
"title": "Barter 1.16.0",
|
||||
"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" },
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.block_sensor",
|
||||
"type": "object",
|
||||
"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 },
|
||||
"on_break": {
|
||||
"type": "array",
|
||||
"title": "On Break",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"description": "TODO description"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.boostable",
|
||||
"type": "object",
|
||||
"title": "Boostable 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"boost_items": {
|
||||
"type": "array",
|
||||
"description": "List of items that can be used to boost while riding this entity",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.breedable",
|
||||
"type": "object",
|
||||
"title": "Breedable 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"description": "Specifies the blocks that this entity can break as it moves around.",
|
||||
"definitions": {
|
||||
"breeds_with_spec": {
|
||||
"type": "object",
|
||||
"description": "An entity definitions that this entity can breed with.",
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"enviroment_requirements": {
|
||||
"type": "object",
|
||||
"description": "A nearby block requirements to get the entity into the 'love' state.",
|
||||
"properties": {
|
||||
"blocks": {
|
||||
"description": "The block types required nearby for the entity to breed.",
|
||||
"title": "Blocks",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"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" },
|
||||
"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.",
|
||||
"minimum": 0,
|
||||
"title": "Radius"
|
||||
}
|
||||
},
|
||||
"title": "Environment Requirements"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"properties": {
|
||||
"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_items": {
|
||||
"description": "The list of items that can be used to get the entity into the 'love' state",
|
||||
"title": "Breed Items",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
{ "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" } }
|
||||
],
|
||||
"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" }
|
||||
},
|
||||
"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" } }
|
||||
],
|
||||
"title": "Environment Requirements"
|
||||
},
|
||||
"extra_baby_chance": {
|
||||
"type": "number",
|
||||
"default": 0.0,
|
||||
"description": "Chance that up to 16 babies will spawn between 0.0 and 1.0, where 1.0 is 100%.",
|
||||
"minimum": 0.0,
|
||||
"maximum": 1.0,
|
||||
"title": "Extra Baby Chance"
|
||||
},
|
||||
"love_filters": { "$ref": "../filters.json", "description": "The filters to run when attempting to fall in love.", "title": "Love Filters" },
|
||||
"mutation_factor": {
|
||||
"type": "object",
|
||||
"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" },
|
||||
"extra_variant": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"minimum": 0.0,
|
||||
"maximum": 1.0,
|
||||
"description": "The percentage chance of a mutation on the entity's extra variant type.",
|
||||
"title": "Extra Variant"
|
||||
},
|
||||
"variant": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"minimum": 0.0,
|
||||
"maximum": 1.0,
|
||||
"description": "The percentage chance of a mutation on the entity's variant type.",
|
||||
"title": "Variant"
|
||||
}
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"require_tame": { "type": "boolean", "default": true, "description": "If true, the entities need to be tamed first before they can breed.", "title": "Require Tame" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.buoyant",
|
||||
"type": "object",
|
||||
"title": "Buoyant 1.16.0",
|
||||
"description": "Enables an entity to float on the specified liquid blocks.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"apply_gravity": {
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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" }
|
||||
},
|
||||
"simulate_waves": { "type": "boolean", "default": true, "description": "Should the movement simulate waves going through.", "title": "Simulate Waves" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.celebrate_hunt",
|
||||
"type": "object",
|
||||
"title": "Celebrate Hunt 1.16.0",
|
||||
"description": "Specifies hunt celebration behavior.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"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" },
|
||||
"radius": {
|
||||
"type": "number",
|
||||
"default": 16,
|
||||
"description": "If broadcast is enabled, specifies the radius in which it will notify other entities for celebration.",
|
||||
"title": "Radius"
|
||||
},
|
||||
"sound_interval": {
|
||||
"default": 0,
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||
"title": "Sound Interval",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "Maximum" },
|
||||
{ "type": "number", "title": "Maximum" }
|
||||
]
|
||||
},
|
||||
{ "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" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.custom_hit_test",
|
||||
"type": "object",
|
||||
"title": "Custom Hit Test 1.16.0",
|
||||
"description": "List of hitboxes for melee and ranged hits against the entity.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"hitboxes": {
|
||||
"type": "array",
|
||||
"title": "Hitboxes",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Hitbox",
|
||||
"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" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.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,
|
||||
"definitions": {
|
||||
"trigger": {
|
||||
"properties": {
|
||||
"cause": {
|
||||
"type": "string",
|
||||
"default": "none",
|
||||
"description": "Type of damage that triggers the events.",
|
||||
"title": "Cause",
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
},
|
||||
"damage_multiplier": {
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"on_damage": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "Specifies filters for entity definitions and events.",
|
||||
"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" }
|
||||
},
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.despawn",
|
||||
"type": "object",
|
||||
"title": "Despawn 1.16.0",
|
||||
"description": "Despawns the Actor when the despawn rules or optional filters evaluate to true.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"despawn_from_chance": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Determines if \"min_range_random_chance\" is used in the standard despawn rules",
|
||||
"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" }
|
||||
},
|
||||
"description": "TODO description",
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"filters": {
|
||||
"$ref": "../filters.json",
|
||||
"description": "The list of conditions that must be satisfied before the Actor is despawned. If a filter is defined then standard despawn rules are ignored.",
|
||||
"title": "Filters"
|
||||
},
|
||||
"min_range_inactivity_timer": {
|
||||
"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" },
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.entity_sensor",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"maximum_count": {
|
||||
"type": "integer",
|
||||
"default": -1,
|
||||
"description": "The maximum number of entities that must pass the filter conditions for the event to send.",
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"event_filters": { "$ref": "../filters.json" },
|
||||
"event": { "title": "Event", "description": "event", "type": "string" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.environment_sensor",
|
||||
"title": "Environment Sensor",
|
||||
"description": "Creates a trigger based on environment conditions.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.equip_item",
|
||||
"type": "object",
|
||||
"title": "Equip Item 1.16.0",
|
||||
"description": "The entity puts on the desired equipment.",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.equipment",
|
||||
"type": "object",
|
||||
"title": "Equipment 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"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",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"table": { "type": "string", "pattern": ".*\\.json$", "description": "TODO description: table", "title": "Table" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.equippable",
|
||||
"type": "object",
|
||||
"title": "Equippable 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"description": "Defines an entity's behavior for having items equipped to it",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"slots": {
|
||||
"description": "List of slots and the item that can be equipped",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"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" },
|
||||
"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" },
|
||||
"title": "Accepted Items"
|
||||
},
|
||||
"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" }
|
||||
},
|
||||
"title": "Slots"
|
||||
},
|
||||
"title": "Slots"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.experience_reward",
|
||||
"type": "object",
|
||||
"title": "Experience Reward 1.16.0",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"on_bred": {
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.explode",
|
||||
"type": "object",
|
||||
"title": "Explode 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"power": { "type": "number", "default": 3, "description": "The radius of the explosion in blocks and the amount of damage the explosion deals.", "title": "Power" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.flocking",
|
||||
"type": "object",
|
||||
"title": "Flocking 1.16.0",
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"innner_cohesion_threshold": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The distance in which the flocker will stop applying cohesion.",
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.giveable",
|
||||
"additionalProperties": false,
|
||||
"description": "Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.",
|
||||
"type": "object",
|
||||
"title": "Giveable 1.16.0",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"triggers": {
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "UNDOCUMENTATED",
|
||||
"properties": {
|
||||
"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.",
|
||||
"items": {
|
||||
"description": "An items that can be given to the entity to place in their inventory.",
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"title": "Properties"
|
||||
},
|
||||
"title": "Properties"
|
||||
},
|
||||
"on_give": { "$ref": "../types/event.json", "description": "Event to fire when the correct item is given.", "title": "On Give" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.group_size",
|
||||
"type": "object",
|
||||
"title": "Group Size 1.16.0",
|
||||
"description": "Keeps track of entity group size in the given radius.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"filters": {
|
||||
"$ref": "../filters.json",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.grows_crop",
|
||||
"type": "object",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.hide",
|
||||
"type": "object",
|
||||
"title": "Hide 1.16.0",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.home",
|
||||
"type": "object",
|
||||
"title": "Home 1.16.0",
|
||||
"description": "Saves a home pos for when the the entity is spawned.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"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",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.horse.jump_strength",
|
||||
"type": "object",
|
||||
"title": "Horse.jump Strength 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Value",
|
||||
"oneOf": [{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } }, { "type": "number" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.hurt_on_condition",
|
||||
"type": "object",
|
||||
"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",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.instant_despawn",
|
||||
"type": "object",
|
||||
"title": "Instant Despawn 1.16.0",
|
||||
"description": "Despawns the Actor immediately.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.interact",
|
||||
"type": "object",
|
||||
"title": "Interact 1.16.0",
|
||||
"description": "Defines interactions with this entity.",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"particle_on_start": {
|
||||
"type": "object",
|
||||
"description": "Particle effect that will be triggered at the start of the interaction.",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"spawn_items": {
|
||||
"type": "object",
|
||||
"description": "Loot table with items to drop on the ground upon successful interaction.",
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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" } }
|
||||
],
|
||||
"description": "TODO description",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.inventory",
|
||||
"description": "Defines this entity's inventory properties.",
|
||||
"type": "object",
|
||||
"title": "Inventory 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"additional_slots_per_strength": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Number of slots that this entity can gain per extra 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"
|
||||
},
|
||||
"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",
|
||||
"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" },
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.leashable",
|
||||
"type": "object",
|
||||
"title": "Leashable 1.16.0",
|
||||
"description": "Defines interactions with this entity.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"can_be_stolen": {
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.lookat",
|
||||
"description": "Defines the behavior when another entity looks at this entity.",
|
||||
"type": "object",
|
||||
"title": "Lookat 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"allow_invulnerable": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets.",
|
||||
"title": "Allow Invulnerable"
|
||||
},
|
||||
"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" },
|
||||
"mAllowInvulnerable": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, invulnerable entities (e.g. Players in creative mode) are considered valid targets",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.mob_effect",
|
||||
"type": "object",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.movement.hover",
|
||||
"title": "Movement.hover 1.16.0",
|
||||
"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" } }
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.movement.jump",
|
||||
"type": "object",
|
||||
"title": "Movement.jump 1.16.0",
|
||||
"description": "Move control that causes the mob to jump as it moves with a specified delay between jumps.",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"jump_delay": {
|
||||
"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" }]
|
||||
},
|
||||
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "Max Turn" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.movement.sway",
|
||||
"title": "Movement.sway 1.16.0",
|
||||
"description": "This move control causes the mob to sway side to side giving the impression it is swimming.",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.nameable",
|
||||
"type": "object",
|
||||
"title": "Nameable 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"description": "Allows this entity to be named (e.g. using a name tag).",
|
||||
"required": [],
|
||||
"definitions": {
|
||||
"name_action": {
|
||||
"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",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"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" },
|
||||
"name_actions": {
|
||||
"oneOf": [
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/name_action" } },
|
||||
{ "type": "object", "$ref": "#/definitions/name_action" }
|
||||
],
|
||||
"description": "TODO description",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.navigation.climb",
|
||||
"title": "Navigation.climb 1.16.0",
|
||||
"description": "Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.navigation.float",
|
||||
"title": "Navigation.float 1.16.0",
|
||||
"description": "Allows this entity to generate paths by flying around the air like the regular Ghast.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.navigation.fly",
|
||||
"title": "Navigation.fly 1.16.0",
|
||||
"description": "Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.navigation.generic",
|
||||
"title": "Navigation.generic 1.16.0",
|
||||
"description": "Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.navigation.hover",
|
||||
"title": "Navigation.hover 1.16.0",
|
||||
"description": "Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.navigation.swim",
|
||||
"title": "Navigation.swim 1.16.0",
|
||||
"description": "Allows this entity to generate paths that include water.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.navigation.walk",
|
||||
"title": "Navigation.walk",
|
||||
"description": "Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid blocks that cause damage when finding a path",
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"is_amphibious": { "type": "boolean", "default": false, "description": "Tells the pathfinder whether or not it can walk on the ground underwater", "title": "Is Amphibious" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.npc",
|
||||
"type": "object",
|
||||
"title": "Npc 1.16.0",
|
||||
"description": "A component that applies a mob effect to entities that get within range.",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"rangeXYZ": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "type": "number", "title": "X" },
|
||||
{ "type": "number", "title": "Y" },
|
||||
{ "type": "number", "title": "Z" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"npc_data": {
|
||||
"type": "object",
|
||||
"title": "Npc Data",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"portrait_offsets": {
|
||||
"type": "object",
|
||||
"title": "Portrait Offsets",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"translate": { "$ref": "#/definitions/rangeXYZ", "title": "Translate", "description": "UNDOCUMENTATED" },
|
||||
"scale": { "$ref": "#/definitions/rangeXYZ", "title": "Scale", "description": "UNDOCUMENTATED" }
|
||||
}
|
||||
},
|
||||
"picker_offsets": {
|
||||
"type": "object",
|
||||
"title": "Picker Offsets",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"translate": { "$ref": "#/definitions/rangeXYZ", "title": "Translate", "description": "UNDOCUMENTATED" },
|
||||
"scale": { "$ref": "#/definitions/rangeXYZ", "title": "Scale", "description": "UNDOCUMENTATED" }
|
||||
}
|
||||
},
|
||||
"skin_list": {
|
||||
"type": "array",
|
||||
"title": "Skin List",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Skin",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"properties": { "variant": { "title": "Variant", "description": "UNDOCUMENTATED", "type": "integer", "minimum": 0 } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.interact",
|
||||
"type": "object",
|
||||
"title": "Interact 1.16.0",
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"gravity": {
|
||||
"type": "number",
|
||||
"default": 0.05,
|
||||
"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" },
|
||||
"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" },
|
||||
"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" }
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "UNDOCUMENTATED",
|
||||
"properties": {
|
||||
"catch_fire": {
|
||||
"additionalProperties": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"properties": { "fire_affected_by_griefing": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" } }
|
||||
},
|
||||
"definition_event": {
|
||||
"additionalProperties": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"affect_projectile": { "type": "boolean", "description": "UNDOCUMENTATED", "title": "UNDOCUMENTATED" },
|
||||
"event_trigger": { "$ref": "../types/event.json" }
|
||||
}
|
||||
},
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"particle_on_hit": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"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" },
|
||||
"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" }
|
||||
]
|
||||
},
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"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" },
|
||||
"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" },
|
||||
"uncertainty_base": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The base accuracy. Accuracy is determined by the formula uncertaintyBase - difficultyLevel * uncertaintyMultiplier",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.rideable",
|
||||
"description": "Determines whether this entity can be ridden. Allows specifying the different seat positions and quantity.",
|
||||
"type": "object",
|
||||
"title": "Rideable 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"seats_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"lock_rider_rotation": {
|
||||
"type": "number",
|
||||
"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" },
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"properties": {
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"seats": {
|
||||
"description": "The list of positions and number of riders for each position for entities riding this entity",
|
||||
"title": "TODO Title",
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/seats_spec" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/seats_spec" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.scheduler",
|
||||
"description": "Defines a list of items the mob wants to share or pick up. Each item must have the following parameters:",
|
||||
"type": "object",
|
||||
"title": "Scheduler 1.16.0",
|
||||
"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 },
|
||||
"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",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "UNDOCUMENTATED",
|
||||
"properties": { "filters": { "$ref": "../filters.json" }, "event": { "$ref": "../types/event.json" } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.shareables",
|
||||
"description": "Defines a list of items the mob wants to share or pick up. Each item must have the following parameters:",
|
||||
"type": "object",
|
||||
"title": "Shareables 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"all_items": {
|
||||
"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" },
|
||||
"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" },
|
||||
"items": {
|
||||
"type": "array",
|
||||
"description": "List of items that the entity wants to share",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"admire": {
|
||||
"type": "boolean",
|
||||
"description": "Mob will admire the item after picking up by looking at it. For this to happen the mob needs to have an Admire component and an Admire goal.",
|
||||
"title": "Admire"
|
||||
},
|
||||
"barter": {
|
||||
"type": "boolean",
|
||||
"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" },
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.shooter",
|
||||
"description": "Defines the entity's ranged attack behavior.",
|
||||
"type": "object",
|
||||
"title": "Shooter 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.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",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"definitions": {
|
||||
"entity_spawn": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Entity Spawn",
|
||||
"properties": {
|
||||
"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"
|
||||
},
|
||||
"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" },
|
||||
"spawn_entity": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Identifier of the entity to spawn, leave empty to spawn the item defined above instead.",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"entities": {
|
||||
"title": "Entities",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/entity_spawn" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/entity_spawn" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.strength",
|
||||
"description": "Defines the entity's strength to carry items.",
|
||||
"type": "object",
|
||||
"title": "Strength 1.16.0",
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.tamemount",
|
||||
"description": "Allows the Entity to be tamed by mounting it.",
|
||||
"type": "object",
|
||||
"title": "Tamemount 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"feed_items": {
|
||||
"type": "object",
|
||||
"description": "The list of items that can be used to increase the entity's temper and speed up the taming process",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "../../../../general/item/identifier.json",
|
||||
"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" }
|
||||
}
|
||||
},
|
||||
"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" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"properties": {
|
||||
"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" } }
|
||||
],
|
||||
"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",
|
||||
"oneOf": [
|
||||
{ "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" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.trade_resupply",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"title": "Trade Resupply 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.trail",
|
||||
"description": "Defines the entity's trail to carry items.",
|
||||
"type": "object",
|
||||
"title": "Trail 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"block_type": {
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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",
|
||||
"items": [
|
||||
{ "type": "number", "title": "X" },
|
||||
{ "type": "number", "title": "Y" },
|
||||
{ "type": "number", "title": "Z" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.transformation",
|
||||
"description": "Defines this entity's ability to trade with players.",
|
||||
"type": "object",
|
||||
"title": "Transformation 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"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",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"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": [
|
||||
{ "type": "number" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block_assist_chance": {
|
||||
"type": "number",
|
||||
"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_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_types": {
|
||||
"type": "array",
|
||||
"description": "List of blocks that can help the transformation of this entity",
|
||||
"items": { "$ref": "../../../../general/blocks_identifiers.json" }
|
||||
},
|
||||
"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" },
|
||||
"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"
|
||||
},
|
||||
"keep_owner": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If this entity is owned by another entity, it should remain owned after transformation.",
|
||||
"title": "Keep Owner"
|
||||
},
|
||||
"preserve_equipment": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Cause the entity to keep equipment after going through transformation",
|
||||
"title": "Preserve Equipment"
|
||||
},
|
||||
"transformation_sound": { "type": "string", "default": "", "description": "Sound to play when the entity is done transforming", "title": "Transformation Sound" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.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",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {}
|
||||
}
|
||||
Reference in New Issue
Block a user