KEY

KEY(<bind>)

Type: Action

Category: Input

Permission: mod.macros.script.input.key

Since Minecraft Version: v1.8.1 beta

Since Version: v0.5

Minor: 5

API: N/A

Patch: N/A


Description

Activates the specified key binding for 1 tick

Can be one of the following values: * "inventory" * "drop" * "chat" * "attack" * "use" * "pick" * "screenshot" * "smoothcamera" * "swaphands"


Useful Links

Changelog
  • Added em v0.5:
  • Updated em v0.10.4: New possible values `"screenshot"` and `"smoothcamera"`
  • Fixed em v0.9.6: Parses variables correctly
  • Fixed em v0.7.2: `"attack"` and `"use"` were not working as expected