Skip to content

Item Schema

Class: com.hypixel.hytale.server.core.asset.type.item.config.Item Codec: AssetBuilderCodec<String, Item>

Items are the primary asset type in Hytale. Blocks are defined as nested BlockType definitions within items. Most fields support inheritance via appendInherited, allowing asset pack items to extend base game items. The codec has an afterDecode hook (processConfig) that computes defaults for MaxStack, interactions, and other derived fields.

JSON KeyJava TypeJSON TypeRequiredDefaultDescription
IconStringstringnonullPath to the item icon image (e.g., Icons/ItemsGenerated/{assetId}.png).
CategoriesString[]array of stringsnonullCategories this item appears in on the creative library menu.
IconPropertiesAssetIconPropertiesobjectnonullAdvanced icon rendering properties. Hidden in the editor UI.
TranslationPropertiesItemTranslationPropertiesobjectnonullCustom translation keys for item name and description.
ItemLevelIntegerintegerno0Item power/tier level.
QualityStringstringnonullReference to an ItemQuality asset (affects item entity rendering).
SetStringstringnonullItem set identifier for grouping related items (e.g., armor sets).
VariantBooleanbooleannofalseWhether this item is a visual variant (e.g., connected block variant). Filtered from creative library by default.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
ModelStringstringnonullPath to a .blockymodel file for item rendering.
ScaleDoublenumberno1.0Scale factor for item model rendering.
TextureStringstringno"Items/Unknown.png"Path to the item model texture.
AnimationStringstringnonullAnimation file path for item model.
UsePlayerAnimationsBooleanbooleannofalseWhether this item uses player animation overrides.
PlayerAnimationsIdStringstringno"Default"Reference to an ItemPlayerAnimations asset for player hold/use animations.
DroppedItemAnimationStringstringnonullAnimation for the item when dropped in the world.
ReticleStringstringnonullReference to an ItemReticleConfig asset for custom crosshair.
ClipsGeometryBooleanbooleannofalseWhether the item model clips through world geometry.
RenderDeployablePreviewBooleanbooleannofalseWhether to show a placement preview ghost when holding this item.
PullbackConfigItemPullbackConfigobjectnonullOverrides first-person arm offset when close to obstacles.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
ParticlesModelParticle[]array of objectsnonullParticles played when this item is held (third person).
FirstPersonParticlesModelParticle[]array of objectsnonullParticles played when this item is held (first person).
TrailsModelTrail[]array of objectsnonullTrail effects attached to this item when held.
LightColorLightobject (color + intensity)nonullLight emitted when this item is held or dropped.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
MaxStackIntegerinteger (>0)noautoMaximum stack size in inventory. Auto-computed if not set: 100 for plain items, 1 for tools/weapons/armor.
MaxDurabilityDoublenumberno0.0Maximum durability points. 0 means unbreakable.
DurabilityLossOnHitDoublenumberno0.0Durability points lost per hit when used as a weapon.
FuelQualityDoublenumberno1.0Fuel quality multiplier when used as furnace fuel.
ConsumableBooleanbooleannofalseWhether this item is consumed on use.
DropOnDeathBooleanbooleannofalseWhether this item drops on player death.
ContainerItemStackContainerConfigobjectnoItemStackContainerConfig.DEFAULTItem stack container configuration (e.g., bags that hold other items).
ItemEntityItemEntityConfigobjectyesItemEntityConfig.DEFAULTConfiguration for how this item appears as a dropped entity in the world.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
ToolItemToolobjectnonullTool configuration (mining speed, tool type, harvest level).
WeaponItemWeaponobjectnonullWeapon configuration (damage, attack speed, range, combos).
ArmorItemArmorobjectnonullArmor configuration (defense, slot, equip model).
GliderItemGliderobjectnonullGlider configuration for hang-glider items.
UtilityItemUtilityobjectnoItemUtility.DEFAULTUtility item configuration (consumables, throwables).
BlockSelectorToolBlockSelectorToolDataobjectnonullBlock selector tool configuration for builder tools.
BuilderToolBuilderToolDataobjectnonullBuilder tool configuration for creative building tools.
PortalKeyPortalKeyobjectnonullPortal key configuration for items that open portals.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
BlockTypeString (contained BlockType asset)object (inline BlockType definition)nonullInline block type definition. Makes this item placeable as a block. The BlockType inherits the item’s ID.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
InteractionsMap<InteractionType, String>object (enum keys -> RootInteraction asset refs)nonullMaps interaction types (Primary, Secondary, SwapFrom, etc.) to RootInteraction assets.
InteractionConfigInteractionConfigurationobjectnoautoInteraction configuration (aim distance, cooldowns). Auto-set based on weapon presence.
InteractionVarsMap<String, String>object (string -> RootInteraction refs)nonullNamed interaction variables for dynamic interaction resolution.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
RecipeCraftingRecipeobjectnonullInline crafting recipe that produces this item. Auto-generates a CraftingRecipe asset with this item as primary output.
ResourceTypesItemResourceType[]array of {Id: string, Quantity: integer(>0)}nonullResource types and quantities this item provides when used as a crafting ingredient.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
SoundEventIdStringstringnonullReference to a SoundEvent asset played when using this item.
ItemSoundSetIdStringstringno"ISS_Default"Reference to an ItemSoundSet asset for item interaction sounds.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
ItemAppearanceConditionsMap<String, ItemAppearanceCondition[]>object (EntityStat -> conditions)nonullPer-EntityStat array of appearance conditions. Only one condition active at a time.
DisplayEntityStatsHUDString[]array of stringsnonullEntityStat IDs whose HUD UI should be displayed when holding this item.
JSON KeyJava TypeJSON TypeRequiredDefaultDescription
StateMap<String, Item>object (state name -> contained Item)nonullState variants of this item. Each entry is a contained Item asset inheriting from the parent.