pylon-core
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
pylon-core
pylon-core
/
io.github.pylonmc.pylon.core.item.research
Package-level
declarations
Types
Functions
Types
Research
Link copied to clipboard
@
JvmRecord
data
class
Research
(
key
:
NamespacedKey
,
val
material
:
Material
,
val
name
:
Component
,
val
cost
:
Long
?
,
val
unlocks
:
Set
<
NamespacedKey
>
)
:
Record
,
Keyed
A Pylon research as seem in the 'researches' guide section.
Functions
add
Research
Link copied to clipboard
fun
Player
.
addResearch
(
research
:
Research
,
sendMessage
:
Boolean
=
false
,
confetti
:
Boolean
=
true
)
has
Research
Link copied to clipboard
fun
Player
.
hasResearch
(
research
:
Research
)
:
Boolean
remove
Research
Link copied to clipboard
fun
Player
.
removeResearch
(
research
:
Research
)