Added first single object files
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
# Objects
|
||||
|
||||
In this folder every object has a File that includes:
|
||||
- Name of that object.
|
||||
- Type of the Object ("pre-defined" or "user-defined")
|
||||
- Description of 3D representation of that object.
|
||||
- List of custom args, their type, if its implemented (✔️⚠️ ❌), and usage
|
||||
- Special Notes.
|
||||
- One or more example JSON Objects of that object.
|
||||
|
||||
## Example:
|
||||
|
||||
Cube.md
|
||||
```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:
|
||||
_none_
|
||||
|
||||
### 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
|
||||
}
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user