Initial Commit

This commit is contained in:
DaanV2
2020-11-01 17:22:42 +01:00
parent b4075f27df
commit 7a62f06f23
775 changed files with 39420 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.find_mount",
"type": "object",
"title": "Behavior.find_mount 1.8.0",
"description": "Allows the mob to look around for another mob to ride atop it.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": {
"ref": "types/base_priority.json"
},
"avoid_water": {
"type": "boolean",
"default": false,
"description": "If true, the mob will not go into water blocks when going towards a mount",
"title": "Avoid water"
},
"mount_distance": {
"type": "number",
"default": -1,
"description": "This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance",
"title": "Mount distance"
},
"start_delay": {
"type": "integer",
"default": 0,
"description": "Time the mob will wait before starting to move towards the mount",
"title": "Start delay"
},
"target_needed": {
"type": "boolean",
"default": false,
"description": "If true, the mob will only look for a mount if it has a target",
"title": "Target needed"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks within which the mob will look for a mount",
"title": "Within radius"
}
}
}

View File

@@ -0,0 +1,63 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.behavior.go_home",
"type": "object",
"title": "Behavior.go_home 1.13.0",
"description": "Allows the mob to move back to the position they were spawned.",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "ref": "types/base_priority.json" },
"speed_multiplier": { "ref": "types/base_speed_multiplier.json" },
"goal_radius": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal radius"
},
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "Interval"
},
"on_home": {
"title": "On home",
"description": "Event to run when this mob gets home.",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"$ref": "../types/trigger.json"
},
{
"type": "array",
"items": {
"$ref": "../types/trigger.json"
}
}
]
},
"on_failed": {
"description": "Event to run when this mob gets home.",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"$ref": "../types/trigger.json"
},
{
"type": "array",
"items": {
"$ref": "../types/trigger.json"
}
}
],
"title": "On failed"
}
}
}

View File

@@ -0,0 +1,43 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.behavior.stomp_turtle_egg",
"description": "Allows this mob to stomp turtle eggs",
"type": "object",
"title": "Behavior.stomp_turtle_egg 1.13.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "ref": "types/base_priority.json" },
"speed_multiplier": { "ref": "types/base_speed_multiplier.json" },
"goal_radius": {
"type": "number",
"default": 0.5,
"description": "Distance in blocks within the mob considers it has reached the goal. This is the \"wiggle room\" to stop the AI from bouncing back and forth trying to reach a specific spot",
"title": "Goal radius"
},
"interval": {
"type": "integer",
"default": 120,
"description": "A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal",
"title": "Interval"
},
"search_count": {
"type": "integer",
"default": 10,
"description": "The number of blocks each tick that the mob will check within it's search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick",
"title": "Search count"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "Height in blocks the mob will look for turtle eggs to move towards",
"title": "Search height"
},
"search_range": {
"type": "integer",
"default": 0,
"description": "The distance in blocks it will look for turtle eggs to move towards",
"title": "Search range"
}
}
}

View File

@@ -0,0 +1,63 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.behavior.tempt",
"description": "Allows the mob to be tempted by food they like.",
"type": "object",
"title": "Behavior.tempt 1.13.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "ref": "types/base_priority.json" },
"speed_multiplier": { "ref": "types/base_speed_multiplier.json" },
"can_get_scared": {
"type": "boolean",
"default": false,
"description": "If true, the mob can stop being tempted if the player moves too fast while close to this mob",
"title": "Can get scared"
},
"can_tempt_while_ridden": {
"type": "boolean",
"title": "Can tempt while ridden",
"description": "UNDOCUMENTATED"
},
"items": {
"type": "array",
"description": "List of items this mob is tempted by",
"items": {
"type": "string",
"title": "Item",
"description": "An item identifier"
},
"title": "Items"
},
"within_radius": {
"type": "number",
"default": 0,
"description": "Distance in blocks this mob can get tempted by a player holding an item they like",
"title": "Within radius"
},
"tempt_sound": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "Tempt sound"
},
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTATED",
"title": "Sound interval",
"properties": {
"range_min": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "Range min"
},
"range_max": {
"type": "number",
"description": "UNDOCUMENTATED",
"title": "Range max"
}
},
"additionalProperties": false
}
}
}

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"
}