37 lines
742 B
Markdown
37 lines
742 B
Markdown
# Cube
|
|
|
|
### Type
|
|
pre-defined
|
|
|
|
### 3D
|
|
The Cube is a 1m x 1m x 1m opaque Cube.
|
|
Its Origin is in the Geometric Center.
|
|
Spawnpoint should be {0,0.5,0} so its on the floor.
|
|
|
|
### Custom Args:
|
|
| Key | Type | Implemented | Description |
|
|
|---|---|---|---|
|
|
| color | hexColor | ✔️ | Color the Material of the Cube uses |
|
|
|
|
### Special Notes:
|
|
The Cube has a collider and is a "Teleportation Area".
|
|
|
|
### Example:
|
|
|
|
```json
|
|
{
|
|
"position": { "x": 0.0, "y": 0.5, "z": 0.0 },
|
|
"rotation": { "x": 0.0, "y": 0.0, "z": 0.0 },
|
|
"scale": { "x": 1.0, "y": 1.0, "z": 1.0 },
|
|
"type": "pre-defined",
|
|
"resourcename": "Cube",
|
|
"item-custom-args": [
|
|
{
|
|
"value": "#ff3300",
|
|
"argument": "color"
|
|
}
|
|
],
|
|
"item-custom-args-adv": null
|
|
}
|
|
```
|