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": {
"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,