This commit is contained in:
DaanV2
2021-07-02 21:19:40 +02:00
parent 1b991d4e00
commit 492e018731
12 changed files with 39 additions and 40 deletions

View File

@@ -11,7 +11,7 @@
"const": "1.11.0", "const": "1.11.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": "UNDOCUMENTED: minecraft:entity", "title": "Entity" } "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "The minecraft entity behavior specification", "title": "Entity" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -11,7 +11,7 @@
"const": "1.12.0", "const": "1.12.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": "UNDOCUMENTED: minecraft:entity", "title": "Entity" } "minecraft:entity": { "$ref": "./minecraft.entity.json", "description": "The minecraft entity behavior specification", "title": "Entity" }
}, },
"additionalProperties": false "additionalProperties": false
} }

View File

@@ -33,16 +33,19 @@
"title": "On Damage", "title": "On Damage",
"properties": { "properties": {
"filters": { "$ref": "../../filters/filters.json" }, "filters": { "$ref": "../../filters/filters.json" },
"event": { "type": "string", "pattern": "^.*$", "description": "UNDOCUMENTED: event", "title": "Event" }, "event": { "type": "string", "pattern": "^.*$", "description": "Defines what event to run", "title": "Event" },
"target": { "$ref": "../../filters/filters/types/subject.json", "description": "UNDOCUMENTED: target", "title": "Target" } "target": {
"$ref": "../../filters/filters/types/subject.json",
"description": "filters to use to define specific tests",
"title": "Target"
}
}
}, },
"on_damage_sound_event": { "on_damage_sound_event": {
"type": "string", "$ref": "../../1.8.0/types/event.json",
"description": "Defines what sound to play, if any, when the on_damage filters are met.", "description": "Defines what sound to play, if any, when the on_damage filters are met.",
"title": "On Damage Sound Event" "title": "On Damage Sound Event"
} }
},
"on_damage_sound_event": { "$ref": "../../1.8.0/types/event.json" }
} }
} }
}, },

View File

@@ -2,19 +2,16 @@
"$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.experience_reward", "$id": "blockception.minecraft.behavior.entities.1.13.0.minecraft.experience_reward",
"type": "object", "type": "object",
"title": "Experience Reward 1.13.0", "title": "Experience Reward 1.13.0",
"description": "UNDOCUMENTED", "description": "Defines the amount of experience rewarded when the entity dies or is successfully bred.",
"$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"on_bred": { "on_bred": {
"type": "string", "$ref": "../../../../molang/number.json",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.", "description": "A molang expression defining the amount of experience rewarded when this entity is successfully bred. An array of expressions adds each expression's result together for a final total.",
"title": "On Bred" "title": "On Bred"
}, },
"on_death": { "on_death": {
"type": "string", "$ref": "../../../../molang/number.json",
"default": 0,
"description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.", "description": "A molang expression defining the amount of experience rewarded when this entity dies. An array of expressions adds each expression's result together for a final total.",
"title": "On Death" "title": "On Death"
} }

View File

@@ -93,13 +93,12 @@
}, },
"properties": { "properties": {
"interactions": { "interactions": {
"title": "Interactions",
"description": "The interactions that are defined",
"oneOf": [ "oneOf": [
{ "type": "object", "$ref": "#/definitions/interaction_spec" }, { "type": "object", "$ref": "#/definitions/interaction_spec" },
{ "type": "array", "items": { "$ref": "#/definitions/interaction_spec" } } { "type": "array", "items": { "$ref": "#/definitions/interaction_spec" } }
], ]
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Interactions"
} }
} }
} }

View File

@@ -35,7 +35,7 @@
"title": "Blocks To Avoid", "title": "Blocks To Avoid",
"items": { "items": {
"title": "Block", "title": "Block",
"description": "UNDOCUMENTED", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" }, { "type": "string", "$ref": "../../../../general/block/identifier.json" },

View File

@@ -34,12 +34,12 @@
"description": "Tells the pathfinder which blocks to avoid when creating a path", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid", "title": "Blocks To Avoid",
"items": { "items": {
"title": "Block to Avoid", "title": "Block",
"description": "UNDOCUMENTED", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" }, { "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
] ]
} }
}, },

View File

@@ -34,12 +34,12 @@
"description": "Tells the pathfinder which blocks to avoid when creating a path", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid", "title": "Blocks To Avoid",
"items": { "items": {
"title": "Block to Avoid", "title": "Block",
"description": "UNDOCUMENTED", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" }, { "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
] ]
} }
}, },

View File

@@ -34,12 +34,12 @@
"description": "Tells the pathfinder which blocks to avoid when creating a path", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid", "title": "Blocks To Avoid",
"items": { "items": {
"title": "Block to Avoid", "title": "Block",
"description": "UNDOCUMENTED", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" }, { "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
] ]
} }
}, },

View File

@@ -34,12 +34,12 @@
"description": "Tells the pathfinder which blocks to avoid when creating a path", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid", "title": "Blocks To Avoid",
"items": { "items": {
"title": "Block to Avoid", "title": "Block",
"description": "UNDOCUMENTED", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" }, { "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
] ]
} }
}, },

View File

@@ -34,12 +34,12 @@
"description": "Tells the pathfinder which blocks to avoid when creating a path", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"title": "Blocks To Avoid", "title": "Blocks To Avoid",
"items": { "items": {
"title": "Block to Avoid", "title": "Block",
"description": "UNDOCUMENTED", "description": "Tells the pathfinder which blocks to avoid when creating a path",
"$comment": "UNDOCUMENTED", "$comment": "UNDOCUMENTED",
"oneOf": [ "oneOf": [
{ "type": "string", "$ref": "../../../../general/block/identifier.json" }, { "type": "string", "$ref": "../../../../general/block/identifier.json" },
{ "type": "object", "title": "Block to Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } } { "type": "object", "title": "Block To Avoid", "properties": { "name": { "$ref": "../../../../general/block/identifier.json" } } }
] ]
} }
}, },

View File

@@ -43,12 +43,12 @@
"type": "array", "type": "array",
"items": [ "items": [
{ {
"title": "Lower bound", "title": "Lower Bound",
"$ref": "../../../../molang/number.json", "$ref": "../../../../molang/number.json",
"description": "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around" "description": "Lower bound (inclusive) of the scatter range, as an offset from the input point to scatter around"
}, },
{ {
"title": "Upper bound", "title": "Upper Bound",
"$ref": "../../../../molang/number.json", "$ref": "../../../../molang/number.json",
"description": "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around" "description": "Upper bound (inclusive) of the scatter range, as an offset from the input point to scatter around"
} }
@@ -101,13 +101,13 @@
"properties": { "properties": {
"numerator": { "numerator": {
"title": "Numerator", "title": "Numerator",
"description": "UNDOUCMNEATED", "description": "UNDOCUMENTED",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
}, },
"denominator": { "denominator": {
"title": "Denominator", "title": "Denominator",
"description": "UNDOUCMNEATED", "description": "UNDOCUMENTED",
"type": "integer", "type": "integer",
"minimum": 1 "minimum": 1
} }