Models
Asset path: Server/Models/*.json
Parent
When set this asset will inherit properties from the named asset.
When inheriting from another ModelAsset most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.
Type information: String
Tags
Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.
For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.
Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.
Type information:
(Nullable) Map of the following:
| Key | Type |
|---|---|
any String | Array of String |
Model
Type information: (Nullable) String
Reference to a common asset in the folders:
-
Common/Characters/ -
Common/NPC/ -
Common/Items/ -
Common/VFX/
with the extension: *.blockymodel
Texture
Type information: (Nullable) String
Reference to a common asset in the folders:
-
Common/Characters/ -
Common/NPC/ -
Common/Items/ -
Common/VFX/
with the extension: *.png
GradientSet
Type information: (Nullable) String
GradientId
Type information: (Nullable) String
Icon
Type information: (Nullable) String
Reference to a common asset in the folders:
-
Common/Icons/ModelsGenerated/ -
Common/Icons/Models/
with the extension: *.png
IconProperties
Type information:
(Nullable)
AssetIconProperties with the following properties:
| Key | Type | Description | ||||
|---|---|---|---|---|---|---|
| Scale | Number defaults to: 0.0 | |||||
| Translation | (Nullable) Fixed size array of the following:
| |||||
| Rotation | (Nullable) Fixed size array of the following:
|
Light
Type information:
(Nullable)
ColorLight with the following properties:
| Key | Type | Description |
|---|---|---|
| Color | (Nullable) A color the form:
| |
| Radius | Integer defaults to: 0 |
PhysicsValues
Type information:
(Nullable)
PhysicsValues with the following properties:
| Key | Type | Description |
|---|---|---|
| Mass | Number defaults to: 1.0 | |
| DragCoefficient | Number defaults to: 0.5 | |
| InvertedGravity | Boolean defaults to: false |
MinScale
Type information: Number defaults to: 0.949999988079071
MaxScale
Type information: Number defaults to: 1.0499999523162842
EyeHeight
Type information: Number defaults to: 0.0
HitBox
Type information:
Box with the following properties:
| Key | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Min | (Nullable)
Vector3d
| |||||||||||||
| Max | (Nullable)
Vector3d
|
DetailBoxes
Type information:
(Nullable) Map of the following:
| Key | Type |
|---|---|
any String | Array of the type: |
CrouchOffset
Type information: Number defaults to: 0.0
SittingOffset
Type information: Number defaults to: 0.0
SleepingOffset
Type information: Number defaults to: 0.0
Camera
Type information:
(Nullable)
CameraSettings with the following properties:
| Key | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PositionOffset | (Nullable)
Vector3f
| |||||||||||||
| Yaw | (Nullable)
CameraAxis
| |||||||||||||
| Pitch | (Nullable)
CameraAxis
|
DefaultAttachments
Type information:
(Nullable) Array of the type:
ModelAttachment with the following properties:
| Key | Type | Description |
|---|---|---|
| Model | (Nullable) StringReference to a common asset in the folders:
*.blockymodel | |
| Texture | (Nullable) StringReference to a common asset in the folders:
*.png | |
| GradientSet | (Nullable) String | |
| GradientId | (Nullable) String | |
| Weight | Number defaults to: 1.0 |
RandomAttachmentSets
Type information:
(Nullable) Map of the following:
| Key | Type | ||||
|---|---|---|---|---|---|
any String | Map of the following:
Map
|
AnimationSets
Type information:
(Nullable) Map of the following:
| Key | Type |
|---|---|
any String |
Particles
Type information:
(Nullable) Array of the type:
ModelParticle with the following properties:
| Key | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SystemId | String | |||||||||||||
| TargetEntityPart | Any one of the following String (defaults to Self):
EntityPart
| |||||||||||||
| TargetNodeName | (Nullable) String | |||||||||||||
| Color | (Nullable) A color in the form:
| |||||||||||||
| Scale | Number defaults to: 1.0 | |||||||||||||
| PositionOffset | (Nullable)
Vector3f
| |||||||||||||
| RotationOffset | (Nullable)
Direction
| |||||||||||||
| DetachedFromModel | Boolean defaults to: false | To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space. | ||||||||||||
| ClearParticlesOnRemove | Boolean defaults to: false | When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan. |
Trails
Type information:
(Nullable) Array of the type:
ModelTrail with the following properties:
| Key | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TrailId | (Nullable) Either String or Trail | |||||||||||||
| TargetEntityPart | (Nullable) Any one of the following String (defaults to Self):
EntityPart
| |||||||||||||
| TargetNodeName | (Nullable) String | |||||||||||||
| PositionOffset | (Nullable)
Vector3f
| |||||||||||||
| RotationOffset | (Nullable)
Direction
| |||||||||||||
| FixedRotation | Boolean defaults to: false |
Phobia
Enum used to specify if the NPC is part of a phobia (e.g. spider for arachnophobia).
Type information:
Any one of the following String (defaults to None):
| Name | Description |
|---|---|
"None" | |
"Arachnophobia" | |
"Ophidiophobia" |
PhobiaModelAssetId
The model to use if the player has the setting with the matching phobia toggled on.
Type information: (Nullable) String
Reference to a ModelAsset asset
Notes:
Types referenced by this type
CameraNode
Any one of the following String:
| Name | Description |
|---|---|
"None" | |
"Head" | |
"LShoulder" | |
"RShoulder" | |
"Belly" |
