Fixing rideable

This commit is contained in:
DaanV2
2024-01-06 22:35:00 +01:00
parent 8c5d7d7832
commit 1a7feff399

View File

@@ -12,26 +12,31 @@
"lock_rider_rotation": { "lock_rider_rotation": {
"type": "number", "type": "number",
"default": 181, "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": { "max_rider_count": {
"type": "integer", "type": "integer",
"default": 0, "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": { "min_rider_count": {
"type": "integer", "type": "integer",
"default": 0, "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": { "position": {
"$ref": "../../../../general/vectors/number3.json", "$ref": "../../../../general/vectors/number3.json",
"default": [0.0, 0.0, 0.0], "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": { "rotate_rider_by": {
"$ref": "../../../../molang/number.json", "$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" "title": "Crouching Skip Interact"
}, },
"family_types": { "family_types": {
"title": "Family Types",
"description": "List of entities that can ride this entity.",
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string",
}, "title": "Family Type"
"description": "List of entities that can ride this entity.", }
"title": "Family Types"
}, },
"interact_text": { "interact_text": {
"type": "string", "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.", "description": "The text to display when the player can interact with the entity when playing with Touch-screen controls.",
"title": "Interact Text" "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": { "pull_in_entities": {
"type": "boolean", "type": "boolean",
"default": false, "default": false,