This commit is contained in:
DaanV2
2021-06-19 15:09:55 +02:00
parent 93b0a7f030
commit 80d7c367c8
6 changed files with 46 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
{ {
"$id": "blockception.minecraft.behavior.entity1.10.0", "$id": "blockception.minecraft.behavior.entity.1.10.0",
"type": "object", "type": "object",
"title": "Entity Behavior 1.10.0", "title": "Entity Behavior 1.10.0",
"description": "UNDOCUMENTED", "description": "An entity behavior defintion",
"additionalProperties": false, "additionalProperties": false,
"required": ["format_version", "minecraft:entity"], "required": ["format_version", "minecraft:entity"],
"properties": { "properties": {
@@ -12,6 +12,6 @@
"const": "1.10.0", "const": "1.10.0",
"description": "A version that tells minecraft what type of data format can be expected when reading this file." "description": "A version that tells minecraft what type of data format can be expected when reading this file."
}, },
"minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "UNDOCUMENTATED: minecraft:entity", "title": "Entity" } "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "An entity behavior defintion", "title": "Entity" }
} }
} }

View File

@@ -18,14 +18,19 @@
"type": "integer", "type": "integer",
"default": 10, "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", "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": "TODO Title" "title": "Search Count"
},
"search_height": {
"type": "integer",
"default": 1,
"description": "The height that the mob will search for bookshelves",
"title": "Search Height"
}, },
"search_height": { "type": "integer", "default": 1, "description": "The height that the mob will search for bookshelves", "title": "TODO Title" },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "Distance in blocks the mob will look for books to inspect", "description": "Distance in blocks the mob will look for books to inspect",
"title": "TODO Title" "title": "Search Range"
} }
} }
} }

View File

@@ -11,18 +11,23 @@
"type": "number", "type": "number",
"default": 0.5, "default": 0.5,
"description": "The delay after which the knockback occurs (in seconds).", "description": "The delay after which the knockback occurs (in seconds).",
"title": "TODO Title" "title": "Attack Time"
}, },
"cooldown_time": { "cooldown_time": {
"type": "number", "type": "number",
"default": 0, "default": 0,
"description": "Time in seconds the mob has to wait before using the goal again", "description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title" "title": "Cooldown Time"
}, },
"duration": { "type": "number", "default": 1, "description": "The duration of the roar (in seconds).", "title": "TODO Title" }, "duration": { "type": "number", "default": 1, "description": "The duration of the roar (in seconds).", "title": "Duration" },
"knockback_damage": { "type": "integer", "default": 6, "description": "The damage dealt by the knockback roar.", "title": "TODO Title" }, "knockback_damage": { "type": "integer", "default": 6, "description": "The damage dealt by the knockback roar.", "title": "Knockback Damage" },
"knockback_range": { "type": "integer", "default": 4, "description": "The radius (in blocks) of the knockback effect.", "title": "TODO Title" }, "knockback_range": {
"knockback_strength": { "type": "integer", "default": 4, "description": "The strength of the knockback.", "title": "TODO Title" }, "type": "integer",
"trigger": { "$ref": "../types/trigger.json", "description": "UNDOCUMENTED", "title": "Trigger" } "default": 4,
"description": "The radius (in blocks) of the knockback effect.",
"title": "Knockback Range"
},
"knockback_strength": { "type": "integer", "default": 4, "description": "The strength of the knockback.", "title": "Knockback Strength" },
"trigger": { "$ref": "../types/trigger.json" }
} }
} }

View File

@@ -11,13 +11,13 @@
"type": "integer", "type": "integer",
"default": 120, "default": 120,
"description": "A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal", "description": "A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal",
"title": "TODO Title" "title": "Interval"
}, },
"random_stop_interval": { "random_stop_interval": {
"type": "integer", "type": "integer",
"default": 120, "default": 120,
"description": "A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound", "description": "A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to play the sound",
"title": "TODO Title" "title": "Random Stop Interval"
} }
} }
} }

View File

@@ -12,20 +12,20 @@
"type": "number", "type": "number",
"default": 0.5, "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", "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": "TODO Title" "title": "Goal Radius"
}, },
"on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "TODO Title" }, "on_lay": { "$ref": "../types/event.json", "description": "Event to run when this mob lays the egg.", "title": "On Lay" },
"search_height": { "search_height": {
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Height in blocks the mob will look for sand block to move towards", "description": "Height in blocks the mob will look for sand block to move towards",
"title": "TODO Title" "title": "Search Height"
}, },
"search_range": { "search_range": {
"type": "integer", "type": "integer",
"default": 0, "default": 0,
"description": "The distance in blocks it will look for a sand block to move towards", "description": "The distance in blocks it will look for a sand block to move towards",
"title": "TODO Title" "title": "Search Range"
} }
} }
} }

View File

@@ -3,13 +3,27 @@
"additionalProperties": false, "additionalProperties": false,
"description": "The function exploration_map", "description": "The function exploration_map",
"title": "Exploration Map", "title": "Exploration Map",
"type": "object",
"properties": { "properties": {
"function": { "type": "string", "const": "exploration_map", "description": "UNDOCUMENTED", "title": "TODO Title" }, "function": { "type": "string", "const": "exploration_map", "description": "UNDOCUMENTED", "title": "Function" },
"destination": { "destination": {
"type": "string", "type": "string",
"description": "The destination value defines what type of treasure map they receive.", "description": "The destination value defines what type of treasure map they receive.",
"enum": ["endcity", "fortress", "mineshaft", "monument", "ruins", "stronghold", "temple", "village", "mansion", "shipwreck", "buriedtreasure", "pillageroutpost"], "enum": [
"title": "TODO Title" "endcity",
"fortress",
"mineshaft",
"monument",
"ruins",
"stronghold",
"temple",
"village",
"mansion",
"shipwreck",
"buriedtreasure",
"pillageroutpost"
],
"title": "Destination"
} }
} }
} }