This commit is contained in:
DaanV2
2021-07-01 16:51:30 +02:00
parent 35a92fa231
commit 96e637d99f
11 changed files with 88 additions and 39 deletions

View File

@@ -11,7 +11,10 @@
"default": [0.0, 0.0], "default": [0.0, 0.0],
"description": "Delay after landing when using the slime move control.", "description": "Delay after landing when using the slime move control.",
"title": "Jump Delay", "title": "Jump Delay",
"items": [{ "type": "number" }, { "type": "number" }] "items": [
{ "type": "number", "title": "Minimum" },
{ "type": "number", "title": "Maximum" }
]
}, },
"max_turn": { "max_turn": {
"type": "number", "type": "number",

View File

@@ -6,6 +6,6 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"jump_power": { "type": "number", "default": 0.42, "description": "The initial vertical velocity for the jump", "title": "TODO Title" } "jump_power": { "type": "number", "default": 0.42, "description": "The initial vertical velocity for the jump", "title": "Jump Power" }
} }
} }

View File

@@ -10,22 +10,22 @@
"type": "boolean", "type": "boolean",
"default": false, "default": false,
"description": "If true, players can leash this entity even if it is already leashed to another mob", "description": "If true, players can leash this entity even if it is already leashed to another mob",
"title": "TODO Title" "title": "Can Be Stolen"
}, },
"hard_distance": { "hard_distance": {
"type": "number", "type": "number",
"default": 6, "default": 6,
"description": "Distance in blocks at which the leash stiffens, restricting movement", "description": "Distance in blocks at which the leash stiffens, restricting movement",
"title": "TODO Title" "title": "Hard Distance"
}, },
"max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks", "title": "TODO Title" }, "max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks", "title": "Maximum Distance" },
"on_leash": { "type": "string", "default": "", "description": "Event to call when this entity is leashed", "title": "TODO Title" }, "on_leash": { "type": "string", "default": "", "description": "Event to call when this entity is leashed", "title": "On Leash" },
"on_unleash": { "type": "string", "default": "", "description": "Event to call when this entity is unleashed", "title": "TODO Title" }, "on_unleash": { "type": "string", "default": "", "description": "Event to call when this entity is unleashed", "title": "On Leash" },
"soft_distance": { "soft_distance": {
"type": "number", "type": "number",
"default": 4, "default": 4,
"description": "Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it", "description": "Distance in blocks at which the `spring` effect starts acting to keep this entity close to the entity that leashed it",
"title": "TODO Title" "title": "Soft Distance"
} }
} }
} }

View File

@@ -2,11 +2,15 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.basic", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.basic",
"type": "object", "type": "object",
"title": "Movement.basic 1.8.0", "title": "Movement.basic 1.8.0",
"description": "defines the movement of an entity.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } "max_turn": {
}, "type": "number",
"description": "UNDOCUMENTED", "default": 30,
"$comment": "UNDOCUMENTED" "description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn"
}
}
} }

View File

@@ -2,10 +2,15 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.fly", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.fly",
"type": "object", "type": "object",
"title": "Movement.fly 1.8.0", "title": "Movement.fly 1.8.0",
"description": "This move control causes the mob to fly.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } "max_turn": {
}, "type": "number",
"description": "This move control causes the mob to fly." "default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn"
}
}
} }

View File

@@ -6,6 +6,11 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } "max_turn": {
"type": "number",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn"
}
} }
} }

View File

@@ -2,6 +2,8 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement",
"type": "object", "type": "object",
"title": "Movement 1.8.0", "title": "Movement 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
@@ -18,11 +20,14 @@
] ]
}, },
{ "type": "number" }, { "type": "number" },
{ "type": "object", "additionalProperties": false, "properties": { "range_min": { "type": "number" }, "range_max": { "type": "number" } } } {
"type": "object",
"additionalProperties": false,
"title": "Range",
"properties": { "range_min": { "type": "number", "title": "Range Minimum" }, "range_max": { "type": "number", "title": "Range Maximum" } }
}
] ]
}, },
"max": { "type": "number", "title": "Maximum", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } "max": { "type": "number", "title": "Maximum", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
}, }
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
} }

View File

@@ -1,10 +1,26 @@
{ {
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.fly", "$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.movement.jump",
"type": "object", "type": "object",
"title": "Movement.fly 1.8.0", "title": "Movement.fly 1.8.0",
"description": "Causes the mob to jump as it moves with a specified delay between jumps.",
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": {}, "properties": {
"description": "UNDOCUMENTED", "jump_delay": {
"$comment": "UNDOCUMENTED" "type": "array",
"default": [0.0, 0.0],
"description": "Delay after landing when using the slime move control.",
"title": "Jump Delay",
"items": [
{ "title": "Minimum", "type": "integer" },
{ "title": "Maximum", "type": "integer" }
]
},
"max_turn": {
"type": "integer",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn"
}
}
} }

View File

@@ -6,6 +6,11 @@
"required": [], "required": [],
"description": "This move control causes the mob to hop as it moves.", "description": "This move control causes the mob to hop as it moves.",
"properties": { "properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" } "max_turn": {
"type": "number",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn"
}
} }
} }

View File

@@ -6,7 +6,12 @@
"additionalProperties": false, "additionalProperties": false,
"required": [], "required": [],
"properties": { "properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" }, "max_turn": {
"type": "number",
"default": 30,
"description": "The maximum number in degrees the mob can turn per tick.",
"title": "Maximum Turn"
},
"sway_amplitude": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO Title" } "sway_amplitude": { "type": "number", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO Title" }
} }
} }

View File

@@ -9,21 +9,22 @@
"name_actions": { "name_actions": {
"type": "object", "type": "object",
"description": "Describes the special names for this entity and the events to call when the entity acquires those names", "description": "Describes the special names for this entity and the events to call when the entity acquires those names",
"properties": {
"on_named": { "type": "string", "description": "Event to be called when this entity acquires the name specified in `name_filter'" },
"name_filter": { "type": "string", "description": "List of special names that will cause the events defined in `on_named` to fire" }
},
"title": "TODO Title", "title": "TODO Title",
"additionalProperties": false "additionalProperties": false,
}, "properties": {
"default_trigger": { "type": "string", "description": "Trigger to run when the entity gets named", "title": "TODO Title" }, "on_named": {
"alwaysShow": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "TODO Title" }, "type": "string",
"allowNameTagRenaming": { "description": "Event to be called when this entity acquires the name specified in `name_filter`",
"type": "boolean", "title": "On Named"
"default": true, },
"description": "If true, this entity can be renamed with name tags", "name_filter": {
"title": "TODO Title" "type": "string",
"description": "List of special names that will cause the events defined in `on_named` to fire",
"title": "Name Filter"
}
}
}, },
"default_trigger": { "type": "string", "description": "Trigger to run when the entity gets named", "title": "Default Trigger" },
"allow_name_tag_renaming": { "allow_name_tag_renaming": {
"type": "boolean", "type": "boolean",
"default": true, "default": true,