GuiContainer
The base GuiContainer class.
Extends
Extended by
Properties
container
readonlycontainer:Container
The inventory container, contains the slot data.
doesGuiPauseGame
readonlydoesGuiPauseGame:boolean
Does the gui pause the game?
Inherited from
Methods
draggedStack()
draggedStack():
ItemStack
The ItemStack that is being dragged.
Returns
getSlotAtPosition()
getSlotAtPosition(
x,y):Slot
Returns the slot at the given position.
Parameters
x
number
y
number
Returns
mouseClicked()
mouseClicked(
x,y,button):void
Click the gui in the given position.
Parameters
x
number
The x position
y
number
The y position
button
number
The button
Returns
void
Inherited from
mouseClickMove()
mouseClickMove(
x,y,button,time):void
Drag mouse to position.
Parameters
x
number
The x position
y
number
The y position
button
number
The button
time
number
Time since last click
Returns
void
Inherited from
mouseReleased()
mouseReleased(
x,y,button):void
Release mouse at the given position.
Parameters
x
number
The x position
y
number
The y position
button
number
The button
Returns
void
Inherited from
Last updated