Moved to source folder

This commit is contained in:
DaanV2
2021-02-01 18:39:12 +01:00
parent c434801daf
commit ac0f3d12d6
1000 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.ageable",
"type": "object",
"title": "Ageable 1.13.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": {
"type": "string"
}
},
{
"type": "string"
}
],
"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": {
"type": "string"
}
},
{
"type": "string"
}
],
"title": "TODO title"
},
"grow_up": {
"description": "Event to run when this entity grows up.",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.ambient_sound_interval",
"additionalProperties": false,
"type": "object",
"title": "Ambient sound interval 1.8.0",
"description": "Sets the entity's delay between playing its ambient sound.",
"required": ["event_name"],
"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"
}
}
}

View File

@@ -0,0 +1,212 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.breedable",
"type": "object",
"title": "Breedable 1.13.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"
}
}
}
},
"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"
}
},
{
"type": "string"
}
]
},
"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": {
"type": "array",
"description": "The list of nearby block requirements to get the entity into the 'love' state.",
"items": {
"type": "object",
"description": "A nearby block requirements to get the entity into the 'love' state.",
"properties": {
"blocks": {
"type": "array",
"description": "The block types required nearby for the entity to breed.",
"items": {
"description": "A block type required nearby for the entity to breed.",
"type": "string",
"$ref": "../../../../general/blocks_item.json",
"title": "Blocks"
},
"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"
},
"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"
}
}
}

View File

@@ -0,0 +1,108 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.damage_sensor",
"title": "Damage sensor 1.13.0",
"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",
"fall",
"falling_block",
"fata",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"lightning",
"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"
}
},
"on_damage_sound_event": {
"$ref": "../../1.8.0/types/event.json"
}
}
}
},
"properties": {
"triggers": {
"description": "The list of triggers with the events to call when taking specific kinds of damage.",
"title": "Triggers",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/trigger"
}
},
{
"type": "object",
"$ref": "#/definitions/trigger"
}
]
}
}
}

View File

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

View File

@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.experience_reward",
"type": "object",
"title": "Experience reward 1.13.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"
}
}
}

View File

@@ -0,0 +1,126 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.interact",
"type": "object",
"title": "Interact 1.13.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"
}
}
}

View File

@@ -0,0 +1,58 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.climb",
"title": "Navigation.climb",
"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_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_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_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can pass doors"
},
"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"
}
}
}

View File

@@ -0,0 +1,58 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.float",
"title": "Navigation.float",
"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_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_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_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can pass doors"
},
"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"
}
}
}

View File

@@ -0,0 +1,58 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.fly",
"title": "Navigation.fly",
"description": "Allows this entity to generate paths in the air like the vanilla Parrots 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_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_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_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can pass doors"
},
"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"
}
}
}

View File

@@ -0,0 +1,123 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.generic",
"title": "Navigation.generic 1.13.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"
}
}
}

View File

@@ -0,0 +1,58 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.swim",
"title": "Navigation.swim",
"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_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_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_pass_doors": {
"type": "boolean",
"default": true,
"description": "Whether a path can be created through a door",
"title": "Can pass doors"
},
"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"
}
}
}

View File

@@ -0,0 +1,87 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.navigation.walk",
"title": "Navigation.walk 1.13.0",
"description": "Allows this entity to generate paths by walking around and jumping up and down a block like regular mobs.",
"type": "object",
"additionalProperties": false,
"properties": {
"avoid_damage_blocks": {
"type": "boolean",
"title": "UNDOCUMENTATED",
"description": "UNDOCUMENTATED"
},
"avoid_portals": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid portals (like nether portals) when finding a path",
"title": "Avoid portals"
},
"avoid_sun": {
"type": "boolean",
"default": false,
"description": "Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths",
"title": "Avoid sun"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "Tells the pathfinder to avoid water when creating a path",
"title": "Avoid water"
},
"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_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"
}
}
}

View File

@@ -0,0 +1,289 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.projectile",
"description": "Allows the entity to be a thrown entity.",
"type": "object",
"title": "Projectile 1.13.0",
"additionalProperties": false,
"required": [],
"properties": {
"anchor": {
"type": "number",
"title": "Anchor",
"description": "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, 0.5, 0.0],
"description": "The offset from the entity's anchor where the projectile will spawn",
"title": "Offset",
"items": [
{
"type": "number",
"title": "X"
},
{
"type": "number",
"title": "Y"
},
{
"type": "number",
"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",
"title": "On hit",
"description": "UNDOCUMENTATED",
"properties": {
"arrow_effect": {
"description": "UNDOCUMENTATED",
"title": "Arrow effect",
"type": "object",
"additionalProperties": false
},
"impact_damage": {
"additionalProperties": false,
"type": "object",
"title": "Impact damage",
"description": "UNDOCUMENTATED",
"properties": {
"damage": {
"oneOf": [
{
"type": "number"
},
{
"type": "array",
"items": [
{
"type": "integer"
},
{
"type": "integer"
}
]
}
],
"title": "Damage",
"description": "UNDOCUMENTATED"
},
"destroy_on_hit": {
"type": "boolean",
"title": "Destroy on hit",
"description": "UNDOCUMENTATED"
},
"knockback": {
"type": "boolean",
"title": "Knockback",
"description": "UNDOCUMENTATED"
},
"max_critical_damage": {
"type": "integer",
"title": "Max critical damage",
"description": "UNDOCUMENTATED"
},
"min_critical_damage": {
"type": "integer",
"title": "Min critical damage",
"description": "UNDOCUMENTATED"
},
"power_multiplier": {
"type": "number",
"title": "Power multiplier",
"description": "UNDOCUMENTATED"
},
"semi_random_diff_damage": {
"type": "boolean",
"title": "Semi random diff damage",
"description": "UNDOCUMENTATED"
}
}
},
"stick_in_ground": {
"additionalProperties": false,
"title": "Stick in ground",
"description": "UNDOCUMENTATED",
"type": "object",
"properties": {
"shake_time": {
"title": "Shake time",
"description": "UNDOCUMENTATED",
"type": "number"
}
}
}
}
},
"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"
}
}
}

View File

@@ -0,0 +1,106 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.rideable",
"description": "Determines whether this entity can be ridden. Allows specifying the different seat positions and quantity.",
"type": "object",
"title": "Rideable 1.13.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": {
"priority": {
"$ref": "types/base_priority.json"
},
"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",
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/seats_spec"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/seats_spec"
}
}
],
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,99 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.transformation",
"description": "Defines this entity's ability to trade with players.",
"type": "object",
"title": "Transformation 1.13.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": {
"type": "object",
"description": "Defines the properties of the delay for the transformation",
"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",
"additionalProperties": false
},
"drop_equipment": {
"type": "boolean",
"default": false,
"description": "Cause the entity to drop all equipment upon transformation",
"title": "TODO title"
},
"into": {
"type": "string",
"description": "Entity Definition that this entity will transform into",
"title": "TODO title"
},
"keep_level": {
"type": "boolean",
"default": false,
"description": "If this entity has trades and has leveled up, it should maintain that level after transformation.",
"title": "TODO title"
},
"keep_owner": {
"type": "boolean",
"default": false,
"description": "If this entity is owned by another entity, it should remain owned after transformation.",
"title": "TODO title"
},
"transformation_sound": {
"type": "string",
"description": "Sound to play when the entity is done transforming",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.base_priority",
"additionalProperties": false,
"type": "integer",
"title": "Priority",
"minimum": 0,
"description": "Allows the mob to drink potions based on specified environment conditions."
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.speed_multiplier",
"additionalProperties": false,
"default": 1.0,
"description": "Movement speed multiplier of the mob when using this AI Goal.",
"type": "number",
"title": "Speed multiplier"
}