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

badger:input_actions

Minecraft Legends

Entities
Official docs

Defines the entity's input mapping of possible actions.

TypeNameDefault ValueDescription
Stringaction_nameThe name of the action.
Stringaction_targeting_typeThe targeting type of the action. Can be set to "none", "directional" or "target"
Stringinput_action_modeControls the action's effect, whether it is instant or sustained over time. Can be set to "trigger" or "sustain"
Stringinput_idThe button id from the input overlay. e.g. button.charge.
Stringtarget_facingThe relative direction to shoot in e.g. player_facing (only valid when action type is set to target)
Decimaltarget_rangeThe range of the target (only valid when action type is set to target)