Updated behaviours

This commit is contained in:
DaanV2
2021-07-01 12:27:25 +02:00
parent f01a22fdbd
commit 012b6eee4b
13 changed files with 107 additions and 57 deletions

View File

@@ -0,0 +1,8 @@
{
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.barter",
"type": "object",
"title": "Barter 1.16.0",
"description": "Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component",
"additionalProperties": false,
"properties": { "priority": { "$ref": "types/priority.json" } }
}

View File

@@ -20,13 +20,7 @@
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",
"title": "Must See Forget Duration"
},
"on_defend_start": {
"$ref": "../types/event.json",
"title": "On Defend Start",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"on_defend_start": { "$ref": "../types/event.json", "title": "On Defend Start", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"within_radius": {
"type": "number",
"default": 0,
@@ -38,6 +32,7 @@
"description": "List of entity types that this mob considers valid targets",
"title": "Entity Types",
"additionalProperties": false
}
},
"sound_chance": { "title": "Sound Chance", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "number" }
}
}

View File

@@ -0,0 +1,17 @@
{
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.behavior.find_cover",
"type": "object",
"title": "Find Cover 1.16.0",
"description": "Allows the mob to seek shade.",
"additionalProperties": false,
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
"cooldown_time": {
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "Cooldown Time"
}
}
}

View File

@@ -12,25 +12,25 @@
"type": "number",
"default": 0,
"description": "Time in seconds the mob has to wait before using the goal again",
"title": "TODO Title"
"title": "Cooldown Time"
},
"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": "TODO Title"
"title": "Interval"
},
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "TODO Title"
"title": "XZ Distance"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO Title"
"title": "Y Distance"
}
}
}

View File

@@ -11,19 +11,19 @@
"type": "boolean",
"default": true,
"description": "If true, the mob can stop flying and land on a tree instead of the ground",
"title": "TODO Title"
"title": "Can Land On Trees"
},
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "TODO Title"
"title": "XZ Distance"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO Title"
"title": "Y Distance"
}
}
}

View File

@@ -11,8 +11,8 @@
"$ref": "../types/range_number_type.json",
"default": [2, 4],
"description": "The range of time in seconds the mob will stay looking in a random direction before looking elsewhere",
"title": "TODO Title"
"title": "Look Time"
},
"look_distance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO" }
"look_distance": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Look Distance" }
}
}

View File

@@ -11,19 +11,19 @@
"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": "TODO Title"
"title": "Interval"
},
"xz_dist": {
"type": "integer",
"default": 10,
"description": "Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1",
"title": "TODO Title"
"title": "XZ Distance"
},
"y_dist": {
"type": "integer",
"default": 7,
"description": "Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1",
"title": "TODO Title"
"title": "Y Distance"
}
},
"additionalProperties": false