GETPROPERTY

GETPROPERTY(<control>,<property>)

Type: Action

Category: Mod related

Permission: N/A

Since Minecraft Version: v1.8

Since Version: v0.11.3

Minor: 11

API: 17

Patch: 3


Description

Returns the value of the specified property from the specified GUI control

The following properties are available for each control:

  • Button
    • "name"
    • "visible"
    • "hotkey"
    • "text"
    • "hide"
    • "sticky"
    • "colour"
    • "background"
  • Icon
    • "name"
    • "visible"
    • "align"
    • "scale"
    • "damage"
    • "background"
  • Label
    • "name"
    • "visible"
    • "align"
    • "text"
    • "binding"
    • "shadow"
    • "colour"
    • "background"
  • Custom Gui
    • "name"
    • "visible"
    • "layout"
    • "width"
    • "heigth"
  • Playback Status
    • "name"
    • "visible"
  • Progress Bar
    • "name"
    • "visible"
    • "expression"
    • "style"
    • "min"
    • "max"
    • "calcmin"
    • "calcmax"
    • "colour"
    • "background"
  • Slider
    • "name"
    • "visible"
    • "binding"
    • "hotkeydec"
    • "hotkeyinc"
    • "min"
    • "max"
    • "calcmin"
    • "calcmax"
    • "colour"
    • "background"
  • Textarea
    • "name"
    • "visible"
    • "lifespan"
    • "colour"

Changelog
  • Added em v0.11.3: