HytaleDocs
Item

Items

Asset path: Server/Item/Items/*.json

Parent

When set this asset will inherit properties from the named asset.

When inheriting from another Item 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:

KeyType
any StringArray of String

Icon

Type information: (Nullable) String

Reference to a common asset in the folders:

  • Common/Icons/ItemsGenerated/
  • Common/Icons/Items/

with the extension: *.png

Categories

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

Type information: (Nullable) Array of String

Reference to a ItemCategory asset

SubCategory

Optional sub-category for grouping items with a label header in the creative library menu.

Type information: (Nullable) String

IconProperties

Type information:

(Nullable)

AssetIconProperties with the following properties:

KeyTypeDescription
ScaleNumber defaults to: 0.0
Translation(Nullable) Fixed size array of the following:
Type
Number
Number
Rotation(Nullable) Fixed size array of the following:
Type
Number
Number
Number

TranslationProperties

The translation properties for this item asset.

Type information:

(Nullable)

ItemTranslationProperties with the following properties:

KeyTypeDescription
Name(Nullable) String

The translation key for the name of this item.

NameArguments(Nullable) Map of the following:
Map
KeyType
any StringString

The map of arguments used in the item name loc key, if any.

Description(Nullable) String

The translation key for the description of this item.

DescriptionArguments(Nullable) Map of the following:
Map
KeyType
any StringString

The map of arguments used in the item description loc key, if any.

ItemLevel

Type information: Integer defaults to: 0

Reticle

Type information:

(Nullable) Either String or ItemReticleConfig

Reference to a ItemReticleConfig asset

MaxStack

The maximum amount this item can be stacked in the inventory

Type information: Integer defaults to: -1

Quality

Type information: (Nullable) String

Reference to a ItemQuality asset

ItemEntity

Type information:

ItemEntityConfig with the following properties:

KeyTypeDescription
Physics(Nullable)
PhysicsValues

PhysicsValues with the following properties:

KeyTypeDescription
MassNumber defaults to: 1.0
DragCoefficientNumber defaults to: 0.5
InvertedGravityBoolean defaults to: false
PickupRadius(Nullable) Either Number defaults to: 1.75 or String that matches the pattern: ^(-?Infinity|NaN)$
MergeRadius(Nullable) Either Number defaults to: 2.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Lifetime(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
ParticleSystemId(Nullable) String defaults to: Item

Reference to a ParticleSystem asset

ParticleColor(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

ShowItemParticlesBoolean defaults to: true

SoundEventId

Type information: (Nullable) String

Reference to a SoundEvent asset

ItemSoundSetId

Type information: String defaults to: ISS_Default

Reference to a ItemSoundSet asset

Set

Type information: (Nullable) String

Model

The model used for rendering this item when held, in inventory, or attached. If set, takes priority over BlockType.CustomModel. Block entities always use BlockType.CustomModel.

Type information: (Nullable) String

Reference to a common asset in the folders:

  • Common/Blocks/
  • Common/Items/
  • Common/Resources/
  • Common/NPC/
  • Common/VFX/
  • Common/Consumable/

with the extension: *.blockymodel

Scale

Type information: Number defaults to: 1.0

Texture

The texture used for rendering this item when held, in inventory, or attached. Paired with Item.Model when set; otherwise block-specific texture properties are used.

Type information: (Nullable) String defaults to: Items/Unknown.png

Reference to a common asset in the folders:

  • Common/Blocks/
  • Common/BlockTextures/
  • Common/Items/
  • Common/NPC/
  • Common/Resources/
  • Common/VFX/

with the extension: *.png

Animation

The animation used for rendering this item. Used only when Item.Model is set; otherwise the block's animation is used.

Type information: (Nullable) String

Reference to a common asset in the folders:

  • Common/Blocks/
  • Common/Items/
  • Common/Resources/
  • Common/NPC/
  • Common/VFX/
  • Common/Consumable/

with the extension: *.blockyanim

UsePlayerAnimations

Type information: Boolean defaults to: false

PlayerAnimationsId

Type information:

Either String or ItemPlayerAnimations

Reference to a ItemPlayerAnimations asset

DroppedItemAnimation

Type information: (Nullable) String

Reference to a common asset in the folders:

  • Common/Blocks/
  • Common/Items/
  • Common/Resources/
  • Common/NPC/
  • Common/VFX/
  • Common/Consumable/

with the extension: *.blockyanim

Particles

The particles played for this item. Used only when Item.Model is set; otherwise the block's particles are used.

Type information:

(Nullable) Array of the type:

ModelParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

TargetEntityPartAny one of the following String (defaults to Self):
EntityPart
NameDescription
"Self"
"Entity"
"PrimaryItem"
"SecondaryItem"
TargetNodeName(Nullable) String
Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

ScaleNumber defaults to: 1.0
PositionOffset(Nullable)
Vector3f

Vector3f with the following properties:

KeyTypeDescription
XEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
YEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
ZEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
RotationOffset(Nullable)
Direction

Direction with the following properties:

KeyTypeDescription
Yaw(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Pitch(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Roll(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
DetachedFromModelBoolean defaults to: false

To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space.

ClearParticlesOnRemoveBoolean defaults to: false

When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan.

FirstPersonParticles

The particles played for this item when in first person. Used only when Item.Model is set; otherwise the block's particles are used.

Type information:

(Nullable) Array of the type:

ModelParticle with the following properties:

KeyTypeDescription
SystemIdString

Reference to a ParticleSystem asset

TargetEntityPartAny one of the following String (defaults to Self):
EntityPart
NameDescription
"Self"
"Entity"
"PrimaryItem"
"SecondaryItem"
TargetNodeName(Nullable) String
Color(Nullable) A color in the form:

  • #RRGGBB

  • rgb(rrr, ggg, bbb)

ScaleNumber defaults to: 1.0
PositionOffset(Nullable)
Vector3f

Vector3f with the following properties:

KeyTypeDescription
XEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
YEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
ZEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
RotationOffset(Nullable)
Direction

Direction with the following properties:

KeyTypeDescription
Yaw(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Pitch(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Roll(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
DetachedFromModelBoolean defaults to: false

To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space.

ClearParticlesOnRemoveBoolean 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

The trail attached to this item

Type information:

(Nullable) Array of the type:

ModelTrail with the following properties:

KeyTypeDescription
TrailId(Nullable) Either String or Trail

Reference to a Trail asset

TargetEntityPart(Nullable) Any one of the following String (defaults to Self):
EntityPart
NameDescription
"Self"
"Entity"
"PrimaryItem"
"SecondaryItem"
TargetNodeName(Nullable) String
PositionOffset(Nullable)
Vector3f

Vector3f with the following properties:

KeyTypeDescription
XEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
YEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
ZEither Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
RotationOffset(Nullable)
Direction

Direction with the following properties:

KeyTypeDescription
Yaw(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Pitch(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
Roll(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$
FixedRotationBoolean defaults to: false

Light

The light this item is emitting when being held or dropped. Used only when Item.Model is set; otherwise the block's emitted light is used.

Type information:

(Nullable)

ColorLight with the following properties:

KeyTypeDescription
Color(Nullable) A color the form:

#RGB

RadiusInteger defaults to: 0

Recipe

Type information:

(Nullable) CraftingRecipe

ResourceTypes

Type information:

(Nullable) Array of the type:

ItemResourceType with the following properties:

KeyTypeDescription
IdString

Reference to a ResourceType asset

QuantityInteger defaults to: 1

Tool

Type information:

(Nullable)

ItemTool with the following properties:

KeyTypeDescription
Specs(Nullable) Array of the type: ItemToolSpec
SpeedNumber defaults to: 0.0
DurabilityLossBlockTypes(Nullable) Array of the type:
DurabilityLossBlockTypes

DurabilityLossBlockTypes with the following properties:

KeyTypeDescription
BlockTypes(Nullable) Array of String
BlockSets(Nullable) Array of String
DurabilityLossOnHitNumber defaults to: 0.0
BreakShape(Nullable) Either
BoxBreakShape

BoxBreakShape with the following properties:

KeyTypeDescription
IdConstant value: Box

This field controls the type, it must be set to the constant value "Box" to function as this type.

WidthInteger defaults to: 1

The size of the shape along the user's horizontal view axis (right).

HeightInteger defaults to: 1

The size of the shape along the user's vertical view axis (up).

DepthInteger defaults to: 1

How many blocks deep the shape extends into the targeted surface. Defaults to 1.

CenteredBoolean defaults to: true

Whether the shape's width/height are centered on the targeted block. Defaults to true.

OffsetVector3d

Shifts the shape's center off the targeted block, in the view basis (x = right, y = up, z = into the surface). Rounded to whole blocks.

OrientationBreakShapeOrientation

How the shape is oriented: 'View' (the dominant axis of the look direction, the default) or 'Surface' (into the targeted block face that the look ray hits).

or
CylinderBreakShape

CylinderBreakShape with the following properties:

KeyTypeDescription
IdConstant value: Cylinder

This field controls the type, it must be set to the constant value "Cylinder" to function as this type.

WidthInteger defaults to: 1

The size of the shape along the user's horizontal view axis (right).

HeightInteger defaults to: 1

The size of the shape along the user's vertical view axis (up).

DepthInteger defaults to: 1

How many blocks deep the shape extends into the targeted surface. Defaults to 1.

CenteredBoolean defaults to: true

Whether the shape's width/height are centered on the targeted block. Defaults to true.

OffsetVector3d

Shifts the shape's center off the targeted block, in the view basis (x = right, y = up, z = into the surface). Rounded to whole blocks.

OrientationBreakShapeOrientation

How the shape is oriented: 'View' (the dominant axis of the look direction, the default) or 'Surface' (into the targeted block face that the look ray hits).

Optional break shape. When set, breaking with this tool affects the set of blocks the shape covers (oriented to the user's view) instead of only the targeted block.

BreakShapeDurabilityModeAny one of the following String (defaults to PerSwing):
BreakShapeDurabilityMode
NameDescription
"PerSwing"
"PerBlock"

How durability is consumed when a break shape affects multiple blocks: once per swing, or once per block broken.

HitSoundLayer(Nullable) String

Reference to a SoundEvent asset

Sound to play in addition to the block breaking sound when hitting a block this tool is designed to break.

IncorrectMaterialSoundLayer(Nullable) String

Reference to a SoundEvent asset

Sound to play in addition to the block breaking sound when hitting a block this tool cannot break.

BlockSelectorTool

Type information:

(Nullable)

BlockSelectorToolData with the following properties:

KeyTypeDescription
DurabilityLossOnUseNumber defaults to: 0.0

BuilderTool

Type information:

(Nullable)

BuilderTool with the following properties:

KeyTypeDescription
Id(Nullable) String
IsBrushBoolean defaults to: false
SurvivalAllowedBoolean defaults to: false
BrushConfigurationCommand(Nullable) String
Args(Nullable) Array of the type: Type Selector

Weapon

Type information:

(Nullable)

ItemWeapon with the following properties:

KeyTypeDescription
StatModifiers(Nullable) Map of the following:
Map
EntityStatsToClear(Nullable) Array of String
RenderDualWieldedBoolean defaults to: false

Armor

Type information:

(Nullable)

ItemArmor with the following properties:

KeyTypeDescription
ArmorSlotAny one of the following String (defaults to Head):
ItemArmorSlot
NameDescription
"Head"
"Chest"
"Hands"
"Legs"
DamageResistance(Nullable) Map of the following:
Map
DamageEnhancement(Nullable) Map of the following:
Map
KeyType
String

Reference to a DamageCause asset

Array of the type: StaticModifier
DamageClassEnhancementMap of the following:
Map of DamageClass
KeyTypeDescription
UnknownArray of the type: StaticModifier
LightArray of the type: StaticModifier
ChargedArray of the type: StaticModifier
SignatureArray of the type: StaticModifier
KnockbackResistances(Nullable) Map of the following:
Map
KeyType
String

Reference to a DamageCause asset

Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
KnockbackEnhancements(Nullable) Map of the following:
Map
KeyType
String

Reference to a DamageCause asset

Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
Regenerating(Nullable) Map of the following:
Map
KeyType
String

Reference to a EntityStatType asset

Array of the type: Regenerating
BaseDamageResistanceNumber defaults to: 0.0
StatModifiers(Nullable) Map of the following:
Map
KeyType
any StringArray of the type: StaticModifier
InteractionModifiers(Nullable) Map of the following:
Map
KeyType
any StringMap
CosmeticsToHide(Nullable) Array of the type: Any one of the following String:
Cosmetic
NameDescription
"Haircut"
"FacialHair"
"Undertop"
"Overtop"
"Pants"
"Overpants"
"Shoes"
"Gloves"
"Cape"
"HeadAccessory"
"FaceAccessory"
"EarAccessory"
"Ear"
MovementSettings(Nullable)
ItemMovementSettings

ItemMovementSettings with the following properties:

KeyTypeDescription
ExtraJumpCountInteger defaults to: 0
ExtraJumpParticleSystem(Nullable) String
ExtraJumpSoundEvent(Nullable) String

Reference to a SoundEvent asset

Sound event to play each time an extra jump is performed.

ExtraJumpLocalSoundEvent(Nullable) String

Reference to a SoundEvent asset

Local sound event played to the jumping player.

Glider

Type information:

(Nullable)

ItemGlider with the following properties:

KeyTypeDescription
TerminalVelocity(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The maximum speed the player can fall while gliding.

Speed(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The horizontal movement speed of the glider.

FallSpeedMultiplier(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The rate at which the fall speed is incremented.

HorizontalSpeedMultiplier(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The rate at which the horizontal move speed is incremented.

DiveTerminalVelocity(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The terminal velocity of the glider while the player dives.

DiveSpeed(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The horizontal movement speed of the glider while the player dives.

DiveFallSpeedMultiplier(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The rate at which the fall speed is incremented when diving.

DiveHorizontalSpeedMultiplier(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The rate at which the horizontal move speed is incremented when diving.

EnergyClimbRate(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The rate per second at which the energy from a dive converts into upward speed. A higher rate gives a stronger and shorter climb.

DiveSpeedToEnergyRatio(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

Multiplier used to compute the amount of energy earned based on the dive speed reached by the player.

Music

Music this item plays when placed in a music player block.

Type information:

(Nullable)

ItemMusic with the following properties:

KeyTypeDescription
MusicContainer(Nullable) String

Reference to a MusicContainer asset

MusicContainer asset id this item plays when placed in a music player block.

AudioCategoryOverride(Nullable) String

Reference to a AudioCategory asset

Optional AudioCategory asset id overriding the container's routing.

Utility

Type information:

ItemUtility with the following properties:

KeyTypeDescription
UsableBoolean defaults to: false
CompatibleBoolean defaults to: false
StatModifiers(Nullable) Map of the following:
Map
EntityStatsToClear(Nullable) Array of String

Ability

Type information:

(Nullable)

ItemAbility with the following properties:

KeyTypeDescription
SlotAny one of the following String:
AbilitySlot
NameDescription
"Primary"
"Support"
Cooldown(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

Cooldown in seconds between casts. The single source: the cast chain arms it with TriggerCooldown { UseAbilityCooldown: true }. A support rune modifier on the Cooldown attribute scales it (multiplier, base 1).

Cost(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

Resource cost per cast. The single source: the cast chain gates and spends it with StatsCondition/ChangeStat { UseAbilityCost: true }. A support rune modifier on the Cost attribute scales it (multiplier, base 1).

CostType(Nullable) Any one of the following String (defaults to Mana):
AbilityCostType
NameDescription
"None"
"Mana"
"Stamina"
"Health"
Weapons(Nullable) Array of String

Weapon families (Family item tags, e.g. Staff, Sword) the caster must hold to cast this ability. Empty or absent means no restriction.

Tags(Nullable) Array of String

Dotted ability tags describing damage type and mechanics, e.g. damage.elemental.fire, projectile, aoe. Each dotted prefix also matches (damage.elemental.fire is matched by damage.elemental and damage).

AppliesTo(Nullable) Array of String

Support runes only: ability tags the primary ability must have for this support to apply, e.g. aoe or damage.elemental.fire. Empty or absent means the support applies to any ability.

Attributes(Nullable) Map of the following:
Map
KeyType
any StringEither Number or String that matches the pattern: ^(-?Infinity|NaN)$

Primary abilities: named tunable values (e.g. AoeScale, Duration) that the ability's interactions bind to and support runes modify.

AttributeModifiers(Nullable) Map of the following:
Map
KeyType
any StringArray of the type: StaticModifier

Support runes only: modifiers applied to the supported ability's attributes by name, left to right across the line.

OnHitEffects(Nullable) Array of String

Reference to a EntityEffect asset

Support runes only: EntityEffect ids applied to every entity damaged by the supported ability's impact.

ConvertElement(Nullable) String

Reference to a DamageCause asset

Support runes only: the elemental DamageCause the supported ability's elemental damage converts to (e.g. Wind). Damage numbers and ability visuals recolor to match. The rightmost conversion in the line wins.

Cast(Nullable) Either String or RootInteraction

Reference to a RootInteraction asset

Primary abilities: the root interaction cast when the ability fires from its bench slot (Ability2/Ability3). Abilities cast only from the bench; an ability item held in the hand exposes no interactions.

PortalKey

Type information:

(Nullable)

PortalKey with the following properties:

KeyTypeDescription
PortalTypeString

Reference to a PortalType asset

The ID of of the PortalType that this key opens.

TimeLimitSecondsInteger

Overrides the PortalType's TimeLimitSeconds for worlds opened with this key. 0 or less means no time limit.

AllowedEntryCountInteger

Overrides the PortalType's AllowedEntryCount for worlds opened with this key. 0 allows unlimited entries.

Container

Type information:

ItemStackContainerConfig with the following properties:

KeyTypeDescription
CapacityInteger defaults to: 0
GlobalFilter(Nullable) Any one of the following String (defaults to AllowAll):
FilterType
NameDescription
"AllowInputOnly"
"AllowOutputOnly"
"AllowAll"
"DenyAll"
ItemTag(Nullable) String

Consumable

Type information: Boolean defaults to: false

Variant

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.

Type information: Boolean defaults to: false

MaxDurability

Type information: Number defaults to: 0.0

FuelQuality

Type information: Number defaults to: 1.0

DurabilityLossOnHit

Type information: Number defaults to: 0.0

DurabilityLossOnDeath

Whether this item should loose durability on death, if so configured in DeathConfig.

Type information: Boolean defaults to: true

Repairable

Whether this item can be repaired with a repair kit. Defaults to true. Set to false for items that use durability as a consumable resource (e.g. watering cans, fertilizer).

Type information: Boolean defaults to: true

BlockType

Type information:

(Nullable) Either String or BlockType

Reference to a BlockType asset

Interactions

Type information:

(Nullable) Map of the following:

KeyTypeDescription
PrimaryEither String or RootInteraction

Reference to a RootInteraction asset

SecondaryEither String or RootInteraction

Reference to a RootInteraction asset

Ability1Either String or RootInteraction

Reference to a RootInteraction asset

Ability2Either String or RootInteraction

Reference to a RootInteraction asset

Ability3Either String or RootInteraction

Reference to a RootInteraction asset

Ability4Either String or RootInteraction

Reference to a RootInteraction asset

UseEither String or RootInteraction

Reference to a RootInteraction asset

PickEither String or RootInteraction

Reference to a RootInteraction asset

PickupEither String or RootInteraction

Reference to a RootInteraction asset

CollisionEnterEither String or RootInteraction

Reference to a RootInteraction asset

CollisionLeaveEither String or RootInteraction

Reference to a RootInteraction asset

CollisionEither String or RootInteraction

Reference to a RootInteraction asset

EntityStatEffectEither String or RootInteraction

Reference to a RootInteraction asset

SwapToEither String or RootInteraction

Reference to a RootInteraction asset

SwapFromEither String or RootInteraction

Reference to a RootInteraction asset

DeathEither String or RootInteraction

Reference to a RootInteraction asset

WieldingEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileSpawnEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileHitEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileMissEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileBounceEither String or RootInteraction

Reference to a RootInteraction asset

HeldEither String or RootInteraction

Reference to a RootInteraction asset

HeldOffhandEither String or RootInteraction

Reference to a RootInteraction asset

EquippedEither String or RootInteraction

Reference to a RootInteraction asset

DodgeEither String or RootInteraction

Reference to a RootInteraction asset

GameModeSwapEither String or RootInteraction

Reference to a RootInteraction asset

OnBreakEither String or RootInteraction

Reference to a RootInteraction asset

OnBreakImpactEither String or RootInteraction

Reference to a RootInteraction asset

CarryInteractions

The map interactions available when carrying the item.

Type information:

(Nullable) Map of the following:

KeyTypeDescription
PrimaryEither String or RootInteraction

Reference to a RootInteraction asset

SecondaryEither String or RootInteraction

Reference to a RootInteraction asset

Ability1Either String or RootInteraction

Reference to a RootInteraction asset

Ability2Either String or RootInteraction

Reference to a RootInteraction asset

Ability3Either String or RootInteraction

Reference to a RootInteraction asset

Ability4Either String or RootInteraction

Reference to a RootInteraction asset

UseEither String or RootInteraction

Reference to a RootInteraction asset

PickEither String or RootInteraction

Reference to a RootInteraction asset

PickupEither String or RootInteraction

Reference to a RootInteraction asset

CollisionEnterEither String or RootInteraction

Reference to a RootInteraction asset

CollisionLeaveEither String or RootInteraction

Reference to a RootInteraction asset

CollisionEither String or RootInteraction

Reference to a RootInteraction asset

EntityStatEffectEither String or RootInteraction

Reference to a RootInteraction asset

SwapToEither String or RootInteraction

Reference to a RootInteraction asset

SwapFromEither String or RootInteraction

Reference to a RootInteraction asset

DeathEither String or RootInteraction

Reference to a RootInteraction asset

WieldingEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileSpawnEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileHitEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileMissEither String or RootInteraction

Reference to a RootInteraction asset

ProjectileBounceEither String or RootInteraction

Reference to a RootInteraction asset

HeldEither String or RootInteraction

Reference to a RootInteraction asset

HeldOffhandEither String or RootInteraction

Reference to a RootInteraction asset

EquippedEither String or RootInteraction

Reference to a RootInteraction asset

DodgeEither String or RootInteraction

Reference to a RootInteraction asset

GameModeSwapEither String or RootInteraction

Reference to a RootInteraction asset

OnBreakEither String or RootInteraction

Reference to a RootInteraction asset

OnBreakImpactEither String or RootInteraction

Reference to a RootInteraction asset

CarryHudInputBindings

Per carry interaction, the localization key the client shows as an input binding hint on the HUD while the item is carried.

Type information:

(Nullable) Map of the following:

KeyTypeDescription
PrimaryString
SecondaryString
Ability1String
Ability2String
Ability3String
Ability4String
UseString
PickString
PickupString
CollisionEnterString
CollisionLeaveString
CollisionString
EntityStatEffectString
SwapToString
SwapFromString
DeathString
WieldingString
ProjectileSpawnString
ProjectileHitString
ProjectileMissString
ProjectileBounceString
HeldString
HeldOffhandString
EquippedString
DodgeString
GameModeSwapString
OnBreakString
OnBreakImpactString

InteractionConfig

Type information:

InteractionConfiguration with the following properties:

KeyTypeDescription
DisplayOutlinesBoolean defaults to: true
DebugOutlinesBoolean defaults to: false
UseDistanceMap of the following:
Map of GameMode
KeyTypeDescription
AdventureEither Number or String that matches the pattern: ^(-?Infinity|NaN)$
CreativeEither Number or String that matches the pattern: ^(-?Infinity|NaN)$
AllEntitiesBoolean defaults to: false
Priorities(Nullable) Map of the following:
Map of InteractionType
KeyTypeDescription
PrimaryInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

SecondaryInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

Ability1InteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

Ability2InteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

Ability3InteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

Ability4InteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

UseInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

PickInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

PickupInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

CollisionEnterInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

CollisionLeaveInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

CollisionInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

EntityStatEffectInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

SwapToInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

SwapFromInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

DeathInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

WieldingInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

ProjectileSpawnInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

ProjectileHitInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

ProjectileMissInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

ProjectileBounceInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

HeldInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

HeldOffhandInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

EquippedInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

DodgeInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

GameModeSwapInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

OnBreakInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

OnBreakImpactInteractionPriority

Either an integer (default for all types) or an object with named priorities (e.g., 'MainHand', 'OffHand', 'Default').

Configures the priority values for given interaction types on this item when two or more items are equipped.

InteractionVars

Type information:

(Nullable) Map of the following:

KeyType
any StringEither String or RootInteraction

Reference to a RootInteraction asset

ItemAppearanceConditions

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

Type information:

(Nullable) Map of the following:

KeyType
String

Reference to a EntityStatType asset

Array of the type:
ItemAppearanceCondition

ItemAppearanceCondition with the following properties:

KeyTypeDescription
Particles(Nullable) Array of the type: ModelParticle
FirstPersonParticles(Nullable) Array of the type: ModelParticle
Model(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
  • Common/Items/
  • Common/VFX/
with the extension: *.blockymodel
Texture(Nullable) String

Reference to a common asset in the folders:

  • Common/Characters/
  • Common/NPC/
  • Common/Items/
  • Common/VFX/
with the extension: *.png
ModelVFXId(Nullable) String

Reference to a ModelVFX asset

WorldSoundEventId(Nullable) String

Reference to a SoundEvent asset

3D sound to play in the world when applying this condition.

LocalSoundEventId(Nullable) String

Reference to a SoundEvent asset

Local sound to play for the owner of this condition.

ConditionFloatRange

An array of 2 floats to define when the condition is active. 'Infinite' and '-Infinite' can be used to define bounds.

ConditionValueTypeValueType

Enum to specify if the condition range must be considered as absolute values or percent. Default value is Absolute. When using ValueType.Absolute, '100' matches the max value.

DisplayEntityStatsHUD

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

Type information: (Nullable) Array of String

PullbackConfig

Overrides the offset of first person arms when close to obstacles

Type information:

(Nullable)

ItemPullbackConfig with the following properties:

KeyTypeDescription
LeftOffsetOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number
LeftRotationOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number
RightOffsetOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number
RightRotationOverride(Nullable) Fixed size array of the following:
Type
Number
Number
Number

ClipsGeometry

Type information: Boolean defaults to: false

RenderDeployablePreview

Type information: Boolean defaults to: false

HudUI

Type information:

(Nullable) Array of the type:

ItemHudUI with the following properties:

KeyTypeDescription
Path(Nullable) String
Type(Nullable) Any one of the following String (defaults to Hud):
ItemHudUIType
NameDescription
"Hud"
"Legend"

DropOnDeath

Type information: Boolean defaults to: false

State

Type information:

(Nullable) Map of the following:

KeyType
any StringEither String or Item

Reference to a Item asset

Notes:

Types referenced by this type

BreakShapeOrientation

Any one of the following String (defaults to View):

NameDescription
"View"
"Surface"

Type Selector

Any of these:

Key: TypeType
Block
BlockArg

BlockArg with the following properties:

KeyTypeDescription
TypeConstant value: Block

This field controls the type, it must be set to the constant value "Block" to function as this type.

RequiredBoolean defaults to: true
IdString
Default(Nullable) String
AllowPatternBoolean defaults to: false
Bool
BoolArg

BoolArg with the following properties:

KeyTypeDescription
TypeConstant value: Bool

This field controls the type, it must be set to the constant value "Bool" to function as this type.

RequiredBoolean defaults to: true
IdString
DefaultBoolean
BrushOrigin
BrushOriginArg

BrushOriginArg with the following properties:

KeyTypeDescription
TypeConstant value: BrushOrigin

This field controls the type, it must be set to the constant value "BrushOrigin" to function as this type.

RequiredBoolean defaults to: true
IdString
Default(Nullable) BrushOrigin
BrushShape
BrushShapeArg

BrushShapeArg with the following properties:

KeyTypeDescription
TypeConstant value: BrushShape

This field controls the type, it must be set to the constant value "BrushShape" to function as this type.

RequiredBoolean defaults to: true
IdString
Default(Nullable) BrushShape
Float
FloatArg

FloatArg with the following properties:

KeyTypeDescription
TypeConstant value: Float

This field controls the type, it must be set to the constant value "Float" to function as this type.

RequiredBoolean defaults to: true
IdString
DefaultNumber defaults to: 0.0
MinNumber defaults to: 0.0
MaxNumber defaults to: 0.0
Int
IntArg

IntArg with the following properties:

KeyTypeDescription
TypeConstant value: Int

This field controls the type, it must be set to the constant value "Int" to function as this type.

RequiredBoolean defaults to: true
IdString
DefaultInteger
MinInteger defaults to: 0
MaxInteger defaults to: 0
Mask
MaskArg

MaskArg with the following properties:

KeyTypeDescription
TypeConstant value: Mask

This field controls the type, it must be set to the constant value "Mask" to function as this type.

RequiredBoolean defaults to: true
IdString
Default(Nullable) String
Option
OptionArg

OptionArg with the following properties:

KeyTypeDescription
TypeConstant value: Option

This field controls the type, it must be set to the constant value "Option" to function as this type.

RequiredBoolean defaults to: true
IdString
Default(Nullable) String
OptionsArray of String
String
StringArg

StringArg with the following properties:

KeyTypeDescription
TypeConstant value: String

This field controls the type, it must be set to the constant value "String" to function as this type.

RequiredBoolean defaults to: true
IdString
Default(Nullable) String

BrushOrigin

(Nullable) Any one of the following String:

NameDescription
"Center"
"Bottom"
"Top"
"Lowest"
"Highest"

BrushShape

(Nullable) Any one of the following String:

NameDescription
"Cube"
"Sphere"
"Cylinder"
"Cone"
"InvertedCone"
"Pyramid"
"InvertedPyramid"
"Dome"
"InvertedDome"
"Diamond"
"Torus"

Map

Map of the following:

KeyType
any String
StaticModifier

StaticModifier with the following properties:

KeyTypeDescription
IdConstant value: Static

This field controls the type, it must be set to the constant value "Static" to function as this type.

Target(Nullable) ModifierTarget
CalculationTypeCalculationType
Amount(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

ModifierTarget

(Nullable) Any one of the following String (defaults to Max):

NameDescription
"Min"
"Max"

CalculationType

Any one of the following String:

NameDescription
"Additive"
"Multiplicative"

InteractionPriority

Map of the following:

KeyTypeDescription
DefaultInteger
MainHandInteger
OffHandInteger

FloatRange

Fixed size array of the following:

Type
Either Number or String that matches the pattern: ^(-?Infinity|NaN)$
Either Number or String that matches the pattern: ^(-?Infinity|NaN)$

ValueType

Any one of the following String (defaults to Absolute):

NameDescription
"Percent"
"Absolute"

On this page