OptiGUI
2.2.0-alpha.1
jvm
OptiGUI API
/
opekope2.optigui.api.interaction
/
IInteractionTarget
/
EntityTarget
Entity
Target
class
EntityTarget
:
Record
,
IInteractionTarget
(
source
)
Represents the target of an interaction as an entity.
Parameters
entity
The target of the interaction
Members
Constructors
Entity
Target
Link copied to clipboard
constructor
(
entity
:
@
NotNull
Entity
)
Inherited properties
None
Target
Link copied to clipboard
@
NotNull
val
NoneTarget
:
@
NotNull
IInteractionTarget
Represents an interaction without a target.
Functions
compute
Interaction
Data
Link copied to clipboard
@
Nullable
open
fun
computeInteractionData
(
)
:
@
Nullable
IInteractionData
Calculates the interaction data from the given target.
Inherited functions
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String