rebar
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
rebar
rebar
/
io.github.pylonmc.rebar.recipe
/
FluidOrItem
/
Item
Item
@
JvmRecord
data
class
Item
(
val
item
:
ItemStack
)
:
Record
,
FluidOrItem
(
source
)
Members
Constructors
Item
Link copied to clipboard
constructor
(
item
:
ItemStack
)
Properties
item
Link copied to clipboard
val
item
:
ItemStack
Functions
get
Key
Link copied to clipboard
open
override
fun
getKey
(
)
:
@
NotNull
NamespacedKey
key
Link copied to clipboard
open
override
fun
key
(
)
:
@
NotNull
Key
matches
Type
Link copied to clipboard
open
override
fun
matchesType
(
other
:
FluidOrItem
)
:
Boolean