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],
"description": "Delay after landing when using the slime move control.",
"title": "Jump Delay",
"items": [{ "type": "number" }, { "type": "number" }]
"items": [
{ "type": "number", "title": "Minimum" },
{ "type": "number", "title": "Maximum" }
]
},
"max_turn": {
"type": "number",

View File

@@ -6,6 +6,6 @@
"additionalProperties": false,
"required": [],
"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",
"default": false,
"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": {
"type": "number",
"default": 6,
"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" },
"on_leash": { "type": "string", "default": "", "description": "Event to call when this entity is leashed", "title": "TODO Title" },
"on_unleash": { "type": "string", "default": "", "description": "Event to call when this entity is unleashed", "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": "On Leash" },
"on_unleash": { "type": "string", "default": "", "description": "Event to call when this entity is unleashed", "title": "On Leash" },
"soft_distance": {
"type": "number",
"default": 4,
"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",
"type": "object",
"title": "Movement.basic 1.8.0",
"description": "defines the movement of an entity.",
"additionalProperties": false,
"required": [],
"properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" }
},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
"max_turn": {
"type": "number",
"default": 30,
"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",
"type": "object",
"title": "Movement.fly 1.8.0",
"description": "This move control causes the mob to fly.",
"additionalProperties": false,
"required": [],
"properties": {
"max_turn": { "type": "number", "default": 30, "description": "The maximum number in degrees the mob can turn per tick.", "title": "TODO Title" }
},
"description": "This move control causes the mob to fly."
"max_turn": {
"type": "number",
"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,
"required": [],
"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",
"type": "object",
"title": "Movement 1.8.0",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"additionalProperties": false,
"required": [],
"properties": {
@@ -18,11 +20,14 @@
]
},
{ "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" }
},
"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",
"title": "Movement.fly 1.8.0",
"description": "Causes the mob to jump as it moves with a specified delay between jumps.",
"additionalProperties": false,
"required": [],
"properties": {},
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
"properties": {
"jump_delay": {
"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": [],
"description": "This move control causes the mob to hop as it moves.",
"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,
"required": [],
"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" }
}
}

View File

@@ -9,21 +9,22 @@
"name_actions": {
"type": "object",
"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",
"additionalProperties": false
},
"default_trigger": { "type": "string", "description": "Trigger to run when the entity gets named", "title": "TODO Title" },
"alwaysShow": { "type": "boolean", "default": false, "description": "If true, the name will always be shown", "title": "TODO Title" },
"allowNameTagRenaming": {
"type": "boolean",
"default": true,
"description": "If true, this entity can be renamed with name tags",
"title": "TODO Title"
"additionalProperties": false,
"properties": {
"on_named": {
"type": "string",
"description": "Event to be called when this entity acquires the name specified in `name_filter`",
"title": "On Named"
},
"name_filter": {
"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": {
"type": "boolean",
"default": true,