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
/
PylonItemTag
Pylon
Item
Tag
class
PylonItemTag
(
key
:
NamespacedKey
,
items
:
Set
<
ItemTypeWrapper
>
)
:
Tag
<
ItemTypeWrapper
>
(
source
)
Members
Members & Extensions
Constructors
Pylon
Item
Tag
Link copied to clipboard
constructor
(
key
:
NamespacedKey
,
vararg
materials
:
Material
)
constructor
(
key
:
NamespacedKey
,
items
:
Set
<
ItemTypeWrapper
>
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
add
Link copied to clipboard
fun
add
(
wrapper
:
ItemTypeWrapper
)
fun
add
(
schema
:
PylonItemSchema
)
fun
add
(
material
:
Material
)
fun
add
(
key
:
NamespacedKey
)
fun
add
(
item
:
ItemStack
)
get
Key
Link copied to clipboard
open
override
fun
getKey
(
)
:
NamespacedKey
get
Values
Link copied to clipboard
open
override
fun
getValues
(
)
:
Set
<
ItemTypeWrapper
>
is
Tagged
Link copied to clipboard
open
override
fun
isTagged
(
item
:
ItemTypeWrapper
)
:
Boolean
key
Link copied to clipboard
open
override
fun
key
(
)
:
@
NotNull
Key
to
Item
Type
Tag
Link copied to clipboard
@
JvmStatic
@
JvmName
(
name
=
"materialTagToItemTypeTag"
)
fun
Tag
<
Material
>
.
toItemTypeTag
(
)
:
Tag
<
ItemTypeWrapper
>