From 1a7feff3996f2caf4e8b1a8e63fe4715458a0fb1 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Sat, 6 Jan 2024 22:35:00 +0100 Subject: [PATCH] Fixing rideable --- .../entities/format/components/rideable.json | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/source/behavior/entities/format/components/rideable.json b/source/behavior/entities/format/components/rideable.json index 8ae5a647..3ecef486 100644 --- a/source/behavior/entities/format/components/rideable.json +++ b/source/behavior/entities/format/components/rideable.json @@ -12,26 +12,31 @@ "lock_rider_rotation": { "type": "number", "default": 181, - "description": "Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit" + "description": "Angle in degrees that a rider is allowed to rotate while riding this entity. Omit this property for no limit", + "title": "Lock Rider Rotation" }, "max_rider_count": { "type": "integer", "default": 0, - "description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid." + "description": "Defines the maximum number of riders that can be riding this entity for this seat to be valid.", + "title": "Max Rider Count" }, "min_rider_count": { "type": "integer", "default": 0, - "description": "Defines the minimum number of riders that need to be riding this entity before this seat can be used." + "description": "Defines the minimum number of riders that need to be riding this entity before this seat can be used.", + "title": "Min Rider Count" }, "position": { "$ref": "../../../../general/vectors/number3.json", "default": [0.0, 0.0, 0.0], - "description": "Position of this seat relative to this entity's position." + "description": "Position of this seat relative to this entity's position.", + "title": "Position" }, "rotate_rider_by": { "$ref": "../../../../molang/number.json", - "description": "Offset to rotate riders by." + "description": "Offset to rotate riders by.", + "title": "Rotate Rider By" } } } @@ -50,12 +55,13 @@ "title": "Crouching Skip Interact" }, "family_types": { + "title": "Family Types", + "description": "List of entities that can ride this entity.", "type": "array", "items": { - "type": "string" - }, - "description": "List of entities that can ride this entity.", - "title": "Family Types" + "type": "string", + "title": "Family Type" + } }, "interact_text": { "type": "string", @@ -63,6 +69,12 @@ "description": "The text to display when the player can interact with the entity when playing with Touch-screen controls.", "title": "Interact Text" }, + "passenger_max_width": { + "title": "Passenger Max Width", + "description": "The max width a mob can be to be a passenger. A value of 0 ignores this parameter.", + "type": "number", + "default": 0.0 + }, "pull_in_entities": { "type": "boolean", "default": false,