InventoryGUI-api
Toggle table of contents
4.6.3
jvm
Platform filter
jvm
Switch theme
Search in API
InventoryGUI-api
InventoryGUI-api
/
net.projecttl.inventory
/
Animation
Animation
class
Animation
(
val
player
:
Player
,
val
slotType
:
InventoryType
,
val
title
:
Component
)
Animation!
Members
Constructors
Animation
Link copied to clipboard
constructor
(
player
:
Player
,
slotType
:
InventoryType
,
title
:
Component
)
Properties
base
Link copied to clipboard
lateinit
var
base
:
InventoryBuilder
frames
Link copied to clipboard
val
frames
:
TreeMap
<
Int
,
SimpleInventoryBuilder
>
last
Available
Ticks
Link copied to clipboard
var
lastAvailableTicks
:
Int
on
Play
Animation
Link copied to clipboard
lateinit
var
onPlayAnimation
:
(
ticks
:
Int
)
->
Unit
on
Stop
Event
Link copied to clipboard
lateinit
var
onStopEvent
:
(
)
->
Unit
player
Link copied to clipboard
val
player
:
Player
slot
Type
Link copied to clipboard
val
slotType
:
InventoryType
task
Id
Link copied to clipboard
var
taskId
:
Int
tick
Link copied to clipboard
var
tick
:
Int
title
Link copied to clipboard
val
title
:
Component
Functions
base
Link copied to clipboard
fun
base
(
init
:
SimpleInventoryBuilder
.
(
)
->
Unit
)
frame
Link copied to clipboard
fun
frame
(
tick
:
Int
,
title
:
Component
=
this.title
,
init
:
SimpleInventoryBuilder
.
(
)
->
Unit
)
on
Play
Link copied to clipboard
fun
onPlay
(
func
:
(
ticks
:
Int
)
->
Unit
)
on
Stop
Link copied to clipboard
fun
onStop
(
func
:
(
)
->
Unit
)
start
Link copied to clipboard
fun
start
(
resetTicks
:
Boolean
=
true
)
stop
Link copied to clipboard
fun
stop
(
closeGui
:
Boolean
=
false
)