toggle menu
HMCWraps API
1.5.1
jvm
switch theme
search in API
HMCWraps API
/
de.skyslycer.hmcwraps.itemhook
/
HookAccessor
Hook
Accessor
public
class
HookAccessor
Members
Constructors
Hook
Accessor
Link copied to clipboard
public
void
HookAccessor
(
Set
<
ItemHook
>
hooks
)
Functions
get
Color
From
Hook
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
Color
getColorFromHook
(
String
id
)
Get the color corresponding to the input.
get
Equippable
Model
From
Hook
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
NamespacedKey
getEquippableModelFromHook
(
String
id
)
get
Equippable
Slot
From
Hook
Link copied to clipboard
@
Nullable
(
)
public
EquipmentSlot
getEquippableSlotFromHook
(
String
id
)
get
Item
From
Hook
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
ItemStack
getItemFromHook
(
String
id
)
Get an item stack based on the input.
get
Model
Id
From
Hook
Link copied to clipboard
public
int
getModelIdFromHook
(
String
id
)
Get the model id corresponding to the input.
get
Trim
Material
From
Hook
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
getTrimMaterialFromHook
(
String
id
)
get
Trim
Pattern
From
Hook
Link copied to clipboard
@
Nullable
(
)
public
@
Nullable
(
)
String
getTrimPatternFromHook
(
String
id
)