This commit is contained in:
DaanV2
2021-07-02 20:58:26 +02:00
parent 5dcaca6ca3
commit 05752e73c1
17 changed files with 23 additions and 418 deletions

View File

@@ -6,7 +6,7 @@
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/priority.json" },
"priority": { "$ref": "./types/priority.json" },
"avoid_water": {
"type": "boolean",
"default": false,

View File

@@ -30,13 +30,13 @@
]
},
"on_failed": {
"title": "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

@@ -1,48 +0,0 @@
{
"$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.behavior.tempt",
"description": "Allows the mob to be tempted by food they like.",
"type": "object",
"title": "Tempt 1.13.0",
"additionalProperties": false,
"required": [],
"properties": {
"priority": { "$ref": "types/priority.json" },
"speed_multiplier": { "$ref": "types/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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
},
"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": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Tempt Sound" },
"sound_interval": {
"type": "object",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Sound Interval",
"properties": {
"range_min": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Min" },
"range_max": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Max" }
},
"additionalProperties": false
}
}
}

View File

@@ -4,5 +4,6 @@
"type": "integer",
"title": "Priority",
"minimum": 0,
"default": 8,
"description": "Allows the mob to drink potions based on specified environment conditions."
}

View File

@@ -322,7 +322,7 @@
"minecraft:behavior.swoop_attack": { "$ref": "../1.8.0/behaviors/minecraft.behavior.swoop_attack.json" },
"minecraft:behavior.take_flower": { "$ref": "../1.8.0/behaviors/minecraft.behavior.take_flower.json" },
"minecraft:behavior.target_when_pushed": { "$ref": "../1.8.0/behaviors/minecraft.behavior.target_when_pushed.json" },
"minecraft:behavior.tempt": { "$ref": "./behaviors/minecraft.behavior.tempt.json" },
"minecraft:behavior.tempt": { "$ref": "../1.8.0/behaviors/minecraft.behavior.tempt.json" },
"minecraft:behavior.trade_interest": { "$ref": "../1.8.0/behaviors/minecraft.behavior.trade_interest.json" },
"minecraft:behavior.trade_with_player": { "$ref": "../1.8.0/behaviors/minecraft.behavior.trade_with_player.json" },
"minecraft:behavior.vex_copy_owner_target": { "$ref": "../1.8.0/behaviors/minecraft.behavior.vex_copy_owner_target.json" },