Skip to content

ModelAsset

← Back to Asset Types

Documentation for the ModelAsset asset type.

Location

Models

Use in Your Files

Add this to your JSON files for IDE autocompletion and validation:

"$schema": "https://hytaledb.ginco.gg/schemas/ModelAsset.schema.json"

Schema

Model stringnull
Texture stringnull
GradientSet stringnull
GradientId stringnull
Icon stringnull
IconProperties unknown
Any of
AssetIconProperties
null
Light unknown
Any of
ColorLight
null
PhysicsValues unknown
Any of
PhysicsValues
null
MinScale number
Default:0.949999988079071
MaxScale number
Default:1.0499999523162842
EyeHeight number
Default:0
HitBox Box
DetailBoxes objectnull
Additional properties: array
CrouchOffset number
Default:0
Camera unknown
Any of
CameraSettings
null
DefaultAttachments arraynull
Array items: ModelAttachment
RandomAttachmentSets objectnull
Additional properties: object
AnimationSets objectnull
Additional properties: AnimationSet
Particles arraynull
Array items: ModelParticle
Trails arraynull
Array items: ModelTrail
Phobia string

Enum used to specify if the NPC is part of a phobia (e.g. spider for arachnophobia).

Enum:"None""Arachnophobia""Ophidiophobia"
Default:"None"
PhobiaModelAssetId stringnull

The model to use if the player has the setting with the matching phobia toggled on.

All of
base