Initial Commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.admire_item",
|
||||
"type": "object",
|
||||
"title": "Admire item 1.16.0",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
63
behaviour/entities/1.16.0/components/minecraft.ageable.json
Normal file
63
behaviour/entities/1.16.0/components/minecraft.ageable.json
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,29 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
115
behaviour/entities/1.16.0/components/minecraft.angry.json
Normal file
115
behaviour/entities/1.16.0/components/minecraft.angry.json
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,54 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.area_attack",
|
||||
"type": "object",
|
||||
"title": "Area attack 1.16.0",
|
||||
"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": "Minecraft Filter" },
|
||||
"cause": {
|
||||
"type": "string",
|
||||
"description": "TODO",
|
||||
"title": "Cause",
|
||||
"enum": [
|
||||
"anvil",
|
||||
"attack",
|
||||
"block_explosion",
|
||||
"contact",
|
||||
"drowning",
|
||||
"entity_explosion",
|
||||
"fall",
|
||||
"falling_block",
|
||||
"fatal",
|
||||
"fire",
|
||||
"fire_tick",
|
||||
"fly_into_wall",
|
||||
"lava",
|
||||
"magic",
|
||||
"none",
|
||||
"override",
|
||||
"piston",
|
||||
"projectile",
|
||||
"starve",
|
||||
"suffocation",
|
||||
"suicide",
|
||||
"thorns",
|
||||
"void",
|
||||
"wither"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.attack_cooldown",
|
||||
"type": "object",
|
||||
"title": "Attack cooldown 1.16.0",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
21
behaviour/entities/1.16.0/components/minecraft.barter.json
Normal file
21
behaviour/entities/1.16.0/components/minecraft.barter.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,42 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.block_sensor",
|
||||
"type": "object",
|
||||
"title": "Block sensor 1.16.0",
|
||||
"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,53 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
238
behaviour/entities/1.16.0/components/minecraft.breedable.json
Normal file
238
behaviour/entities/1.16.0/components/minecraft.breedable.json
Normal file
@@ -0,0 +1,238 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
55
behaviour/entities/1.16.0/components/minecraft.buoyant.json
Normal file
55
behaviour/entities/1.16.0/components/minecraft.buoyant.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,78 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.celebrate_hunt",
|
||||
"type": "object",
|
||||
"title": "Celebrate hunt 1.16.0",
|
||||
"description": "Specifies hunt celebration behaviour.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"broadcast": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "If true, celebration will be broadcasted to other entities in the radius.",
|
||||
"title": "Broadcast"
|
||||
},
|
||||
"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,49 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.custom_hit_test",
|
||||
"type": "object",
|
||||
"title": "Custom hit test 1.16.0",
|
||||
"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,106 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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",
|
||||
"enum": [
|
||||
"all",
|
||||
"anvil",
|
||||
"attack",
|
||||
"block_explosion",
|
||||
"contact",
|
||||
"drowning",
|
||||
"entity_explosion",
|
||||
"entity_attack",
|
||||
"fall",
|
||||
"falling_block",
|
||||
"fata",
|
||||
"fire",
|
||||
"fire_tick",
|
||||
"fly_into_wall",
|
||||
"lightning",
|
||||
"lava",
|
||||
"magic",
|
||||
"none",
|
||||
"override",
|
||||
"piston",
|
||||
"projectile",
|
||||
"starve",
|
||||
"suffocation",
|
||||
"suicide",
|
||||
"thorns",
|
||||
"void",
|
||||
"wither"
|
||||
]
|
||||
},
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
71
behaviour/entities/1.16.0/components/minecraft.despawn.json
Normal file
71
behaviour/entities/1.16.0/components/minecraft.despawn.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,42 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.entity_sensor",
|
||||
"type": "object",
|
||||
"title": "Entity sensor 1.16.0",
|
||||
"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": { "$ref": "../types/event.json" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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.behaviour.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,40 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,60 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
74
behaviour/entities/1.16.0/components/minecraft.explode.json
Normal file
74
behaviour/entities/1.16.0/components/minecraft.explode.json
Normal file
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
118
behaviour/entities/1.16.0/components/minecraft.flocking.json
Normal file
118
behaviour/entities/1.16.0/components/minecraft.flocking.json
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
38
behaviour/entities/1.16.0/components/minecraft.giveable.json
Normal file
38
behaviour/entities/1.16.0/components/minecraft.giveable.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.group_size",
|
||||
"type": "object",
|
||||
"title": "Group size 1.16.0",
|
||||
"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,24 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.grows_crop",
|
||||
"type": "object",
|
||||
"title": "Grows crop 1.16.0",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
9
behaviour/entities/1.16.0/components/minecraft.hide.json
Normal file
9
behaviour/entities/1.16.0/components/minecraft.hide.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.hide",
|
||||
"type": "object",
|
||||
"title": "Hide 1.16.0",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
16
behaviour/entities/1.16.0/components/minecraft.home.json
Normal file
16
behaviour/entities/1.16.0/components/minecraft.home.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.horse.jump_strength",
|
||||
"type": "object",
|
||||
"title": "Horse.jump_strength 1.16.0",
|
||||
"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,63 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.hurt_on_condition",
|
||||
"type": "object",
|
||||
"title": "Hurt on condition 1.16.0",
|
||||
"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",
|
||||
"enum": [
|
||||
"anvil",
|
||||
"attack",
|
||||
"block_explosion",
|
||||
"contact",
|
||||
"drowning",
|
||||
"entity_explosion",
|
||||
"fall",
|
||||
"falling_block",
|
||||
"fatal",
|
||||
"fire",
|
||||
"fire_tick",
|
||||
"fly_into_wall",
|
||||
"lava",
|
||||
"magic",
|
||||
"none",
|
||||
"override",
|
||||
"piston",
|
||||
"projectile",
|
||||
"starve",
|
||||
"suffocation",
|
||||
"suicide",
|
||||
"temperature",
|
||||
"thorns",
|
||||
"void",
|
||||
"wither"
|
||||
]
|
||||
},
|
||||
"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.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
126
behaviour/entities/1.16.0/components/minecraft.interact.json
Normal file
126
behaviour/entities/1.16.0/components/minecraft.interact.json
Normal file
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,48 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,36 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
59
behaviour/entities/1.16.0/components/minecraft.lookat.json
Normal file
59
behaviour/entities/1.16.0/components/minecraft.lookat.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,29 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.mob_effect",
|
||||
"type": "object",
|
||||
"title": "Mob effect 1.16.0",
|
||||
"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,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,31 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
61
behaviour/entities/1.16.0/components/minecraft.nameable.json
Normal file
61
behaviour/entities/1.16.0/components/minecraft.nameable.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,99 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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_portals": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
|
||||
"title": "Avoid portals"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid damage blocks",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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_float": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can float"
|
||||
},
|
||||
"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_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": "UNDOCUMENTATED",
|
||||
"title": "Is amphibious"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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_portals": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
|
||||
"title": "Avoid portals"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid damage blocks",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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_float": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can float"
|
||||
},
|
||||
"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_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": "UNDOCUMENTATED",
|
||||
"title": "Is amphibious"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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_portals": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
|
||||
"title": "Avoid portals"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid damage blocks",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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_float": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can float"
|
||||
},
|
||||
"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_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": "UNDOCUMENTATED",
|
||||
"title": "Is amphibious"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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_portals": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
|
||||
"title": "Avoid portals"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid damage blocks",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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_float": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can float"
|
||||
},
|
||||
"can_swim": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can swim"
|
||||
},
|
||||
"can_walk": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can walk"
|
||||
},
|
||||
"can_breach": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can breach"
|
||||
},
|
||||
"can_jump": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can breach"
|
||||
},
|
||||
"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_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": "UNDOCUMENTATED",
|
||||
"title": "Is amphibious"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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_portals": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
|
||||
"title": "Avoid portals"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid damage blocks",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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_float": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can float"
|
||||
},
|
||||
"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_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": "UNDOCUMENTATED",
|
||||
"title": "Is amphibious"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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_portals": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
|
||||
"title": "Avoid portals"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid damage blocks",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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_float": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can float"
|
||||
},
|
||||
"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_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": "UNDOCUMENTATED",
|
||||
"title": "Is amphibious"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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_portals": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
|
||||
"title": "Avoid portals"
|
||||
},
|
||||
"avoid_damage_blocks": {
|
||||
"type": "boolean",
|
||||
"title": "Avoid damage blocks",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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_float": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Can float"
|
||||
},
|
||||
"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_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"
|
||||
},
|
||||
"can_walk": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"$comment": "NOT DOCUMENTATED BY MINECRAFT",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"is_amphibious": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "UNDOCUMENTATED",
|
||||
"title": "Is amphibious"
|
||||
}
|
||||
}
|
||||
}
|
||||
83
behaviour/entities/1.16.0/components/minecraft.npc.json
Normal file
83
behaviour/entities/1.16.0/components/minecraft.npc.json
Normal file
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
445
behaviour/entities/1.16.0/components/minecraft.projectile.json
Normal file
445
behaviour/entities/1.16.0/components/minecraft.projectile.json
Normal file
@@ -0,0 +1,445 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
103
behaviour/entities/1.16.0/components/minecraft.rideable.json
Normal file
103
behaviour/entities/1.16.0/components/minecraft.rideable.json
Normal file
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,42 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
105
behaviour/entities/1.16.0/components/minecraft.shareables.json
Normal file
105
behaviour/entities/1.16.0/components/minecraft.shareables.json
Normal file
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
27
behaviour/entities/1.16.0/components/minecraft.shooter.json
Normal file
27
behaviour/entities/1.16.0/components/minecraft.shooter.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
100
behaviour/entities/1.16.0/components/minecraft.spawn_entity.json
Normal file
100
behaviour/entities/1.16.0/components/minecraft.spawn_entity.json
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.spawn_entity",
|
||||
"type": "object",
|
||||
"description": "Adds a timer after which this entity will spawn another entity or item (similar to vanilla's chicken's egg-laying behavior).",
|
||||
"title": "Spawn entity 1.16.0",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
23
behaviour/entities/1.16.0/components/minecraft.strength.json
Normal file
23
behaviour/entities/1.16.0/components/minecraft.strength.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
101
behaviour/entities/1.16.0/components/minecraft.tamemount.json
Normal file
101
behaviour/entities/1.16.0/components/minecraft.tamemount.json
Normal file
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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.behaviour.entities.1.16.0.minecraft.trade_resupply",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"title": "Trade resupply 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {}
|
||||
}
|
||||
42
behaviour/entities/1.16.0/components/minecraft.trail.json
Normal file
42
behaviour/entities/1.16.0/components/minecraft.trail.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,117 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.underwater_movement",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"title": "Underwater movement 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"title": "Value",
|
||||
"description": "UNDOCUMENTATED"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.16.0.minecraft.wants_jockey",
|
||||
"description": "Sets that this entity wants to become a jockey.",
|
||||
"type": "object",
|
||||
"title": "Wants jockey 1.16.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {}
|
||||
}
|
||||
Reference in New Issue
Block a user