Wiki 9Minecraft Wiki 9Minecraft
Minecraft Legends › Entities › badger:interactable

badger:interactable

Minecraft Legends

Entities
Official docs

Defines the entity's ability to be interacted with by other entities, and the interactions that can be performed on it.

TypeNameDefault ValueDescription
ArrayinteractionsEntries defining what interactions can be performed on the entity.<br/><h5><p id="alliance_rule_filter">alliance_rule_filter</p></h5>Alliance rule that filters which teams can interact with this interactable. Typically this will be set to 'friendly'</br><br><h5><p id="camera">camera</p></h5>Camera mode to switch to when interacting with this entity. Intended to be used with 'badger:aimable'</br><br><h5><p id="default_disabled">default_disabled</p></h5>When true, this entity CANNOT be interacted with by default, until something else enables it.</br><br><h5><p id="delay">delay</p></h5>Delay, in seconds, before the interact UI appears after highlighting the interactable.</br><br><h5><p id="exclude_tags">exclude_tags</p></h5>Tags that the *interactor* must NOT have in order to interact with this interactable.</br><br><h5><p id="exclusive_interactor">exclusive_interactor</p></h5>When true, only one interactor can interact with this entity at a time.</br><br><h5><p id="include_tags">include_tags</p></h5>Tags that the *interactor* must have in order to interact with this interactable.</br><br><h5><p id="input_layout_override">input_layout_override</p></h5>Input layout to use when highlighting this interactable, setting the buttons and UI needed for the interaction.</br><br><h5><p id="input_layout_under_construction">input_layout_under_construction</p></h5>Same purpose as 'input_layout_override', but applies during the construction phase of a buildable entity.</br><br><h5><p id="interaction_priority">interaction_priority</p></h5>Defines which interactions take precedence over others, when several are in range. Zero is the default, with higher values taking priority.</br><br><h5><p id="name">name</p></h5>Name of the interaction.</br><br><h5><p id="only_restrict_angle_while_luring">only_restrict_angle_while_luring</p></h5>When true, the angle restriction defined by 'restricted_interact_angle' will only apply if the interactor is luring mobs. This can be used to lessen input conflicts.</br><br><h5><p id="range">range</p></h5>Interactor must be within this distance for the interaction to appear.</br><br><h5><p id="restricted_interact_angle">restricted_interact_angle</p></h5>When set, players must aim their cameras at the target, within this many degrees, to interact with it. When not set, players can interact without aiming at the target.</br><br>