simulacrum
Toggle table of contents
1.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
simulacrum
simulacrum
/
net.crystopia.crystalshard.paper.simulacrum.displays
/
DisplayInteraction
Display
Interaction
open
class
DisplayInteraction
<
T
:
Display
>
(
var
entity
:
T
)
Inheritors
SBlockDisplay
SItemDisplay
STextDisplay
Members
Constructors
Display
Interaction
Link copied to clipboard
constructor
(
entity
:
T
)
Properties
entity
Link copied to clipboard
open
var
entity
:
T
interaction
Link copied to clipboard
lateinit
var
interaction
:
Interaction
Functions
on
Hover
Link copied to clipboard
fun
onHover
(
plugin
:
JavaPlugin
,
player
:
Player
,
detectScalar
:
Double
?
=
0.99
,
callback
:
(
lock
:
Boolean
)
->
Unit
)
on
Interact
Link copied to clipboard
fun
onInteract
(
key
:
NamespacedKey
,
plugin
:
JavaPlugin
,
size
:
Pair
<
Float
,
Float
>
,
player
:
Player
,
callback
:
InteractEvent
.
(
)
->
Unit
)