Action

An action in the Figura Action Wheel
Actions are either interacted by clicking and scrolling,
which also being able to be toggleable

Action.setColor

Sets the color of the Action
overload 1:
Action:setColor(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value an Action
overload 2:
Action:setColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an Action

Action.setTitle

Sets the title of the Action
overload 1:
Action:setTitle()
Method Property Fluent Description Representation
Return Value an Action
overload 2:
Action:setTitle(title)
Method Property Fluent Description Representation
title accepts a String
Return Value an Action

Action.getTitle

Gets this Action title
overload 1:
Action:getTitle()
Method Property Fluent Description Representation
Return Value a String

Action.getColor

Gets this Action color
overload 1:
Action:getColor()
Method Property Fluent Description Representation
Return Value a Vector3

Action.setItem

Sets the item of the Action
overload 1:
Action:setItem(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value an Action
overload 2:
Action:setItem(item)
Method Property Fluent Description Representation
item accepts a String
Return Value an Action

Action.setTexture

Sets a Custom Texture to render in this Action
All values are measured in pixels
Default UV is 0,
0, the default dimensions are the texture dimensions and the default scale of 1
overload 1:
Action:setTexture(texture)
Method Property Fluent Description Representation
texture accepts a Texture
Return Value an Action
overload 2:
Action:setTexture(texture, u, v)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
Return Value an Action
overload 3:
Action:setTexture(texture, u, v, width, height)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
Return Value an Action
overload 4:
Action:setTexture(texture, u, v, width, height, scale)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
scale accepts a Number
Return Value an Action

Action.getHoverColor

Gets this Action hover color
overload 1:
Action:getHoverColor()
Method Property Fluent Description Representation
Return Value a Vector3

Action.setHoverTexture

Sets a Custom Texture to render while this Action is being hovered
All values are measured in pixels
Default UV is 0,
0, the default dimensions are the texture dimensions and the default scale of 1
overload 1:
Action:setHoverTexture(texture)
Method Property Fluent Description Representation
texture accepts a Texture
Return Value an Action
overload 2:
Action:setHoverTexture(texture, u, v)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
Return Value an Action
overload 3:
Action:setHoverTexture(texture, u, v, width, height)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
Return Value an Action
overload 4:
Action:setHoverTexture(texture, u, v, width, height, scale)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
scale accepts a Number
Return Value an Action

Action.setHoverColor

Sets the color of the Action when it is being hovered
overload 1:
Action:setHoverColor(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value an Action
overload 2:
Action:setHoverColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an Action

Action.setOnRightClick

Sets the function that is executed when the right mouse button is clicked
The function has one argument
The first argument is this action itself
overload 1:
Action:setOnRightClick(rightFunction)
Method Property Fluent Description Representation
rightFunction accepts a function
Return Value an Action

Action.setOnUntoggle

Sets the function that is executed when the Action is untoggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself
overload 1:
Action:setOnUntoggle(rightFunction)
Method Property Fluent Description Representation
rightFunction accepts a function
Return Value an Action

Action.setToggleItem

Sets the item of the Action when it is toggled
overload 1:
Action:setToggleItem(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value an Action
overload 2:
Action:setToggleItem(item)
Method Property Fluent Description Representation
item accepts a String
Return Value an Action

Action.setHoverItem

Sets the item of the Action when it is being hovered
overload 1:
Action:setHoverItem(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value an Action
overload 2:
Action:setHoverItem(item)
Method Property Fluent Description Representation
item accepts a String
Return Value an Action

Action.setOnLeftClick

Sets the function that is executed when the left mouse button is clicked
The function has one argument
The first argument is this action itself
overload 1:
Action:setOnLeftClick(leftFunction)
Method Property Fluent Description Representation
leftFunction accepts a function
Return Value an Action

Action.getToggleTitle

Gets this Action toggled title
overload 1:
Action:getToggleTitle()
Method Property Fluent Description Representation
Return Value a String

Action.setToggleTitle

Sets the title of the Action when it is toggled
overload 1:
Action:setToggleTitle(title)
Method Property Fluent Description Representation
title accepts a String
Return Value an Action

Action.setToggleColor

Sets the color of the Action when it is toggled
overload 1:
Action:setToggleColor(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value an Action
overload 2:
Action:setToggleColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an Action

Action.getToggleColor

Gets this Action toggled color
overload 1:
Action:getToggleColor()
Method Property Fluent Description Representation
Return Value a Vector3

Action.setOnToggle

Sets the function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself
overload 1:
Action:setOnToggle(leftFunction)
Method Property Fluent Description Representation
leftFunction accepts a function
Return Value an Action

Action.setOnScroll

Sets the function that is executed when the mouse is scrolled
The function has two arguments
The first argument is mouse wheel direction
The second argument is this action itself
overload 1:
Action:setOnScroll(scrollFunction)
Method Property Fluent Description Representation
scrollFunction accepts a function
Return Value an Action

Action.setToggleTexture

Sets a Custom Texture to render in this Action when it is toggled
All values are measured in pixels
Default UV is 0,
0, the default dimensions are the texture dimensions and the default scale of 1
overload 1:
Action:setToggleTexture(texture)
Method Property Fluent Description Representation
texture accepts a Texture
Return Value an Action
overload 2:
Action:setToggleTexture(texture, u, v)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
Return Value an Action
overload 3:
Action:setToggleTexture(texture, u, v, width, height)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
Return Value an Action
overload 4:
Action:setToggleTexture(texture, u, v, width, height, scale)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
scale accepts a Number
Return Value an Action

Action.setToggled

Sets the toggle state of the Action
overload 1:
Action:setToggled(bool)
Method Property Fluent Description Representation
bool accepts a Boolean
Return Value an Action

Action.isToggled

Checks if the Action is toggled or not
overload 1:
Action:isToggled()
Method Property Fluent Description Representation
Return Value a Boolean

Action.color

Sets the color of the Action
overload 1:
Action:color(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value an Action
overload 2:
Action:color(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an Action

Action.title

Sets the title of the Action
overload 1:
Action:title()
Method Property Fluent Description Representation
Return Value an Action
overload 2:
Action:title(title)
Method Property Fluent Description Representation
title accepts a String
Return Value an Action

Action.item

Sets the item of the Action
overload 1:
Action:item(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value an Action
overload 2:
Action:item(item)
Method Property Fluent Description Representation
item accepts a String
Return Value an Action

Action.texture

Sets a Custom Texture to render in this Action
All values are measured in pixels
Default UV is 0,
0, the default dimensions are the texture dimensions and the default scale of 1
overload 1:
Action:texture(texture)
Method Property Fluent Description Representation
texture accepts a Texture
Return Value an Action
overload 2:
Action:texture(texture, u, v)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
Return Value an Action
overload 3:
Action:texture(texture, u, v, width, height)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
Return Value an Action
overload 4:
Action:texture(texture, u, v, width, height, scale)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
scale accepts a Number
Return Value an Action

Action.hoverTexture

Sets a Custom Texture to render while this Action is being hovered
All values are measured in pixels
Default UV is 0,
0, the default dimensions are the texture dimensions and the default scale of 1
overload 1:
Action:hoverTexture(texture)
Method Property Fluent Description Representation
texture accepts a Texture
Return Value an Action
overload 2:
Action:hoverTexture(texture, u, v)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
Return Value an Action
overload 3:
Action:hoverTexture(texture, u, v, width, height)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
Return Value an Action
overload 4:
Action:hoverTexture(texture, u, v, width, height, scale)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
scale accepts a Number
Return Value an Action

Action.hoverColor

Sets the color of the Action when it is being hovered
overload 1:
Action:hoverColor(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value an Action
overload 2:
Action:hoverColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an Action

Action.onRightClick

Sets the function that is executed when the right mouse button is clicked
The function has one argument
The first argument is this action itself
overload 1:
Action:onRightClick(rightFunction)
Method Property Fluent Description Representation
rightFunction accepts a function that takes an Action and will return anything
Return Value an Action

Action.onUntoggle

Sets the function that is executed when the Action is untoggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself
overload 1:
Action:onUntoggle(rightFunction)
Method Property Fluent Description Representation
rightFunction accepts a function that takes a Boolean and an Action and will return anything
Return Value an Action

Action.toggleItem

Sets the item of the Action when it is toggled
overload 1:
Action:toggleItem(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value an Action
overload 2:
Action:toggleItem(item)
Method Property Fluent Description Representation
item accepts a String
Return Value an Action

Action.hoverItem

Sets the item of the Action when it is being hovered
overload 1:
Action:hoverItem(item)
Method Property Fluent Description Representation
item accepts an ItemStack
Return Value an Action
overload 2:
Action:hoverItem(item)
Method Property Fluent Description Representation
item accepts a String
Return Value an Action

Action.onLeftClick

Sets the function that is executed when the left mouse button is clicked
The function has one argument
The first argument is this action itself
overload 1:
Action:onLeftClick(leftFunction)
Method Property Fluent Description Representation
leftFunction accepts a function that takes an Action and will return anything
Return Value an Action

Action.toggleTitle

Sets the title of the Action when it is toggled
overload 1:
Action:toggleTitle(title)
Method Property Fluent Description Representation
title accepts a String
Return Value an Action

Action.toggleColor

Sets the color of the Action when it is toggled
overload 1:
Action:toggleColor(color)
Method Property Fluent Description Representation
color accepts a Vector3
Return Value an Action
overload 2:
Action:toggleColor(r, g, b)
Method Property Fluent Description Representation
r accepts a Number
g accepts a Number
b accepts a Number
Return Value an Action

Action.onToggle

Sets the function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself
overload 1:
Action:onToggle(leftFunction)
Method Property Fluent Description Representation
leftFunction accepts a function that takes a Boolean and an Action and will return anything
Return Value an Action

Action.onScroll

Sets the function that is executed when the mouse is scrolled
The function has two arguments
The first argument is mouse wheel direction
The second argument is this action itself
overload 1:
Action:onScroll(scrollFunction)
Method Property Fluent Description Representation
scrollFunction accepts a function that takes a Number and an Action and will return anything
Return Value an Action

Action.toggleTexture

Sets a Custom Texture to render in this Action when it is toggled
All values are measured in pixels
Default UV is 0,
0, the default dimensions are the texture dimensions and the default scale of 1
overload 1:
Action:toggleTexture(texture)
Method Property Fluent Description Representation
texture accepts a Texture
Return Value an Action
overload 2:
Action:toggleTexture(texture, u, v)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
Return Value an Action
overload 3:
Action:toggleTexture(texture, u, v, width, height)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
Return Value an Action
overload 4:
Action:toggleTexture(texture, u, v, width, height, scale)
Method Property Fluent Description Representation
texture accepts a Texture
u accepts a Number
v accepts a Number
width accepts an Integer
height accepts an Integer
scale accepts a Number
Return Value an Action

Action.toggled

Sets the toggle state of the Action
overload 1:
Action:toggled(bool)
Method Property Fluent Description Representation
bool accepts a Boolean
Return Value an Action

Action.leftClick

Function that is executed when the left mouse button is clicked
The function has one argument
The first argument is this action itself
field signature:
leftClick
Method Property Fluent Description Representation
Field Type a function that takes an Action and will return anything

Action.rightClick

Function that is executed when the right mouse button is clicked
The function has one argument
The first argument is this action itself
field signature:
rightClick
Method Property Fluent Description Representation
Field Type a function that takes an Action and will return anything

Action.toggle

Function that is executed when the Action is toggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself
field signature:
toggle
Method Property Fluent Description Representation
Field Type a function that takes a Boolean and an Action and will return anything

Action.untoggle

Function that is executed when the Action is untoggled
The function has two arguments
The first argument is toggle state of this action
The second argument is this action itself
field signature:
untoggle
Method Property Fluent Description Representation
Field Type a function that takes a Boolean and an Action and will return anything

Action.scroll

Function that is executed when the mouse is scrolled
The function has two arguments
The first argument is mouse wheel direction
The second argument is this action itself
field signature:
scroll
Method Property Fluent Description Representation
Field Type a function that takes a Number and an Action and will return anything
a a