ChamoItemSkins
Toggle table of contents
1.0.0
java
Target filter
java
Switch theme
Search in API
Skip to content
ChamoItemSkins
plugin
/
net.chamosmp.chamoitemskins.util
/
NoteUtil
Note
Util
public
final
class
NoteUtil
Utility for creating and identifying physical skin notes.
Members
Properties
EXPIRATION_
KEY
Link copied to clipboard
public
static
NamespacedKey
EXPIRATION_KEY
SKIN_
ID_
KEY
Link copied to clipboard
public
static
NamespacedKey
SKIN_ID_KEY
Functions
create
Note
Link copied to clipboard
@
NotNull
(
)
public
static
@
NotNull
(
)
ItemStack
createNote
(
@
NotNull
(
)
@
NotNull
(
)
Plugin
plugin
,
@
NotNull
(
)
@
NotNull
(
)
Skin
skin
,
@
NotNull
(
)
@
NotNull
(
)
Material
defaultMaterial
,
@
NotNull
(
)
@
NotNull
(
)
List
<
String
>
loreTemplate
)
@
NotNull
(
)
public
static
@
NotNull
(
)
ItemStack
createNote
(
@
NotNull
(
)
@
NotNull
(
)
Plugin
plugin
,
@
NotNull
(
)
@
NotNull
(
)
Skin
skin
,
@
NotNull
(
)
@
NotNull
(
)
Material
defaultMaterial
,
@
NotNull
(
)
@
NotNull
(
)
List
<
String
>
loreTemplate
,
int timeInDays
)
get
Skin
Id
Link copied to clipboard
public
static
String
getSkinId
(
@
NotNull
(
)
@
NotNull
(
)
ItemStack
item
)
init
Link copied to clipboard
public
static
void
init
(
@
NotNull
(
)
@
NotNull
(
)
Plugin
plugin
)
is
Note
Link copied to clipboard
public
static
boolean
isNote
(
ItemStack
item
)