Skip to content

Item

← Back to Asset Types

Documentation for the Item asset type.

Location

Item/Items

Use in Your Files

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

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

Schema

Icon stringnull
Categories arraynull

A list of categories this item will be shown in on the creative library menu.

Array items: string
IconProperties unknown
Any of
AssetIconProperties
null
TranslationProperties unknown

The translation properties for this item asset.

Any of
ItemTranslationProperties
null
ItemLevel integer
Default:0
Reticle unknown
Any of
stringReference to ItemReticleConfig
null
MaxStack integer

The maximum amount this item can be stacked in the inventory

Default:-1
Min (exclusive): 0
Quality stringnull
ItemEntity ItemEntityConfig
SoundEventId stringnull
ItemSoundSetId string
Default:"ISS_Default"
Set stringnull
Model stringnull

The model used for rendering this item. If this is a block, BlockType.Model should be used instead.

Scale number
Default:1
Texture stringnull

The texture used for rendering this item. If this is a block, block specific properties should be used instead.

Default:"Items/Unknown.png"
Animation stringnull

The animation used for rendering this item. If this is a block, block specific properties should be used instead.

UsePlayerAnimations boolean
Default:false
PlayerAnimationsId unknown
Any of
stringReference to ItemPlayerAnimations
DroppedItemAnimation stringnull
Particles arraynull

The particles played for this item. If this is a block, block specific properties should be used instead.

Array items: ModelParticle
FirstPersonParticles arraynull

The particles played for this item when in first person. If this is a block, block specific properties should be used instead.

Array items: ModelParticle
Trails arraynull

The trail attached to this item

Array items: ModelTrail
Light unknown

The light this item is emitting when being held or dropped. For block light, see Block properties

Any of
ColorLight
null
Recipe unknown
Any of
ResourceTypes arraynull
Array items: ItemResourceType
Tool unknown
Any of
ItemTool
null
BlockSelectorTool unknown
Any of
BlockSelectorToolData
null
BuilderTool unknown
Any of
BuilderToolData
null
Weapon unknown
Any of
ItemWeapon
null
Armor unknown
Any of
ItemArmor
null
Glider unknown
Any of
ItemGlider
null
Utility ItemUtility
Default:{"Usable":false,"Compatible":false}
PortalKey unknown
Any of
PortalKey
null
Container ItemStackContainerConfig
Default:{"Capacity":0,"GlobalFilter":"AllowAll"}
Consumable boolean
Default:false
Variant boolean

Whether this item is a variant of another. Typically this is only the case for connected blocks. If this item is marked as a variant, then we filter it out of the item library menu by default, unless the player chooses to display variants.

Default:false
MaxDurability number
Default:0
FuelQuality number
Default:1
DurabilityLossOnHit number
Default:0
BlockType unknown
Any of
stringReference to BlockType
null
Interactions objectnull
Primary unknown
Any of
stringReference to RootInteraction
Secondary unknown
Any of
stringReference to RootInteraction
Ability1 unknown
Any of
stringReference to RootInteraction
Ability2 unknown
Any of
stringReference to RootInteraction
Ability3 unknown
Any of
stringReference to RootInteraction
Use unknown
Any of
stringReference to RootInteraction
Pick unknown
Any of
stringReference to RootInteraction
Pickup unknown
Any of
stringReference to RootInteraction
CollisionEnter unknown
Any of
stringReference to RootInteraction
CollisionLeave unknown
Any of
stringReference to RootInteraction
Collision unknown
Any of
stringReference to RootInteraction
EntityStatEffect unknown
Any of
stringReference to RootInteraction
SwapTo unknown
Any of
stringReference to RootInteraction
SwapFrom unknown
Any of
stringReference to RootInteraction
Death unknown
Any of
stringReference to RootInteraction
Wielding unknown
Any of
stringReference to RootInteraction
ProjectileSpawn unknown
Any of
stringReference to RootInteraction
ProjectileHit unknown
Any of
stringReference to RootInteraction
ProjectileMiss unknown
Any of
stringReference to RootInteraction
ProjectileBounce unknown
Any of
stringReference to RootInteraction
Held unknown
Any of
stringReference to RootInteraction
HeldOffhand unknown
Any of
stringReference to RootInteraction
Equipped unknown
Any of
stringReference to RootInteraction
Dodge unknown
Any of
stringReference to RootInteraction
GameModeSwap unknown
Any of
stringReference to RootInteraction
Additional properties
Any of
stringReference to RootInteraction
InteractionConfig InteractionConfiguration
InteractionVars objectnull
Additional properties
Any of
stringReference to RootInteraction
ItemAppearanceConditions objectnull

Define per EntityStat an array of ItemAppearanceCondition. Only a single condition will be applied to the item at the same time.

Additional properties: array
DisplayEntityStatsHUD arraynull

Used to indicate to the client whether an EntityStat HUD UI needs to be displayed

Array items: string
PullbackConfig unknown

Overrides the offset of first person arms when close to obstacles

Any of
ItemPullbackConfig
null
ClipsGeometry boolean
Default:false
RenderDeployablePreview boolean
Default:false
DropOnDeath boolean
Default:false
State objectnull
Additional properties
Any of
stringReference to Item
All of
base