Skip to content

RootInteraction

← Back to Asset Types

Documentation for the RootInteraction asset type.

Location

Item/RootInteractions

Use in Your Files

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

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

Schema

Interactions array

The list of interactions that will be run when starting a chain with this root interaction. Interactions in this list will be run in sequence.

Array items: unknown
Cooldown unknown

Cooldowns are used to prevent an interaction from running repeatedly too quickly. During a cooldown attempting to run an interaction with the same cooldown id will fail.

Any of
InteractionCooldown
null
Rules InteractionRules

A set of rules that control when this root interaction can run or what interactions this root being active prevents.

Default:{"Blocking":[]}
Settings objectnull

Per a gamemode settings.

Adventure RootInteractionSettings
Creative RootInteractionSettings
Additional properties: RootInteractionSettings
ClickQueuingTimeout NullableNumberOrSpecial

Controls the amount of time this root interaction can remain in the click queue before being discarded.

RequireNewClick boolean

Requires the user to click again before running another root interaction of the same type.

Default:false
All of
base