Updated components documentation
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
"minecraft:admire_item": { "$ref": "./components/minecraft.admire_item.json" },
|
||||
"minecraft:ageable": { "$ref": "./components/minecraft.ageable.json" },
|
||||
"minecraft:ambient_sound_interval": { "$ref": "./components/minecraft.ambient_sound_interval.json" },
|
||||
"minecraft:angry": { "$ref": "./components/minecraft.angry.json" },
|
||||
"minecraft:angry": { "$ref": "../1.8.0/components/minecraft.angry.json" },
|
||||
"minecraft:annotation.break_door": { "$ref": "../1.8.0/components/minecraft.annotation.break_door.json" },
|
||||
"minecraft:annotation.open_door": { "$ref": "../1.8.0/components/minecraft.annotation.open_door.json" },
|
||||
"minecraft:area_attack": { "$ref": "./components/minecraft.area_attack.json" },
|
||||
"minecraft:area_attack": { "$ref": "../1.8.0/components/minecraft.area_attack.json" },
|
||||
"minecraft:attack": { "$ref": "../1.8.0/components/minecraft.attack.json" },
|
||||
"minecraft:attack_cooldown": { "$ref": "./components/minecraft.attack_cooldown.json" },
|
||||
"minecraft:attack_damage": { "$ref": "../1.8.0/components/minecraft.attack_damage.json" },
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.angry",
|
||||
"type": "object",
|
||||
"title": "Angry 1.16.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,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"broadcast_anger": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry",
|
||||
"title": "Broadcast Anger"
|
||||
},
|
||||
"broadcast_filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Conditions that make this entry in the list valid",
|
||||
"title": "Broadcast Filters"
|
||||
},
|
||||
"filters": {
|
||||
"$ref": "../../filters/filters.json",
|
||||
"description": "Filter out mob types that it should not attack while angry (other Piglins)"
|
||||
},
|
||||
"broadcast_range": {
|
||||
"type": "integer",
|
||||
"default": 20,
|
||||
"description": "Distance in blocks within which other entities of the same entity definition will become angry",
|
||||
"title": "Broadcast Range"
|
||||
},
|
||||
"broadcast_targets": {
|
||||
"type": "array",
|
||||
"description": "A list of entity families to broadcast anger to",
|
||||
"items": { "type": "string", "description": "An entity family", "pattern": "^.+$", "title": "Broadcast Targets" },
|
||||
"title": "Broadcast Targets"
|
||||
},
|
||||
"calm_event": {
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to run after the number of seconds specified in duration expires (when the entity stops being `angry')",
|
||||
"title": "Calm Event"
|
||||
},
|
||||
"angry_sound": { "type": "string", "default": "", "description": "The sound event to play when the mob is angry", "title": "Angry Sound" },
|
||||
"broadcast_anger_on_attack": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob attacks",
|
||||
"title": "Broadcast Anger On Attack"
|
||||
},
|
||||
"broadcast_anger_on_being_attacked": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, other entities of the same entity definition within the broadcastRange will also become angry whenever this mob is attacked",
|
||||
"title": "Broadcast Anger On Being Attacked"
|
||||
},
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"default": 25,
|
||||
"description": "The amount of time in seconds that the entity will be angry",
|
||||
"title": "Duration"
|
||||
},
|
||||
"duration_delta": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Variance in seconds added to the duration [-delta, delta]",
|
||||
"title": "Duration Delta"
|
||||
},
|
||||
"sound_interval": {
|
||||
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||
"title": "Sound Interval",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"default": [0, 0],
|
||||
"items": [
|
||||
{ "type": "integer", "minimum": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Minimum" },
|
||||
{ "type": "integer", "minimum": 0, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Maximum" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"range_min": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Minimum" },
|
||||
"range_max": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Range Maximum" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.area_attack",
|
||||
"type": "object",
|
||||
"title": "Area Attack 1.16.0",
|
||||
"description": "A component that does damage to entities that get within range.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"damage_per_tick": {
|
||||
"type": "integer",
|
||||
"default": 2,
|
||||
"description": "How much damage per tick is applied to entities that enter the damage range.",
|
||||
"title": "Damage Per Tick"
|
||||
},
|
||||
"damage_range": {
|
||||
"type": "number",
|
||||
"default": 0.2,
|
||||
"description": "How close a hostile entity must be to have the damage applied.",
|
||||
"title": "Damage Range"
|
||||
},
|
||||
"entity_filter": { "$ref": "../../filters/filters.json", "description": "Entity_filter", "title": "Filter" },
|
||||
"cause": {
|
||||
"type": "string",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"title": "Cause",
|
||||
"$ref": "../../../../general/entity/damage_source.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -35,12 +35,8 @@
|
||||
"title": "Blocks To Avoid",
|
||||
"items": {
|
||||
"title": "Block",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
|
||||
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
|
||||
]
|
||||
"description": "Tells the pathfinder which blocks to avoid when creating a path",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
"can_breach": {
|
||||
|
||||
@@ -35,12 +35,8 @@
|
||||
"title": "Blocks To Avoid",
|
||||
"items": {
|
||||
"title": "Block",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
|
||||
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
|
||||
]
|
||||
"description": "Tells the pathfinder which blocks to avoid when creating a path",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
"can_breach": {
|
||||
|
||||
@@ -35,12 +35,8 @@
|
||||
"title": "Blocks To Avoid",
|
||||
"items": {
|
||||
"title": "Block",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
|
||||
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
|
||||
]
|
||||
"description": "Tells the pathfinder which blocks to avoid when creating a path",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
"can_breach": {
|
||||
|
||||
@@ -35,12 +35,8 @@
|
||||
"title": "Blocks To Avoid",
|
||||
"items": {
|
||||
"title": "Block",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
|
||||
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
|
||||
]
|
||||
"description": "Tells the pathfinder which blocks to avoid when creating a path",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
"can_breach": {
|
||||
|
||||
@@ -35,12 +35,8 @@
|
||||
"title": "Blocks To Avoid",
|
||||
"items": {
|
||||
"title": "Block",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
|
||||
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
|
||||
]
|
||||
"description": "Tells the pathfinder which blocks to avoid when creating a path",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
"can_breach": {
|
||||
|
||||
@@ -35,12 +35,8 @@
|
||||
"title": "Blocks To Avoid",
|
||||
"items": {
|
||||
"title": "Block",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
|
||||
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
|
||||
]
|
||||
"description": "Tells the pathfinder which blocks to avoid when creating a path",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
"can_breach": {
|
||||
|
||||
@@ -35,12 +35,8 @@
|
||||
"title": "Blocks To Avoid",
|
||||
"items": {
|
||||
"title": "Block",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "../../../../general/block/identifier.json" },
|
||||
{ "type": "object", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
|
||||
]
|
||||
"description": "Tells the pathfinder which blocks to avoid when creating a path",
|
||||
"$ref": "../../../../general/block/identifier.json"
|
||||
}
|
||||
},
|
||||
"can_breach": {
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
"$id": "blockception.minecraft.behavior.entity1.16.0",
|
||||
"type": "object",
|
||||
"title": "Entity Behavior 1.16.0",
|
||||
"description": "UNDOCUMENTED",
|
||||
"description": "Entity behavior",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"required": ["format_version", "minecraft:entity"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "1.16.0 Format Version",
|
||||
@@ -13,6 +14,5 @@
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:entity": { "$ref": "./minecraft.entity.json" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"required": ["description"],
|
||||
"additionalProperties": false,
|
||||
"dependencies": { "component_groups": ["events"] },
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": {
|
||||
"required": ["identifier"],
|
||||
|
||||
Reference in New Issue
Block a user