StaffUtil

public final class StaffUtil

Properties

Link copied to clipboard
private final static StaffItemHandler handlerOfItem

Returns the handler of the given item stack, if available. This item stack is not the staff item stack, but the one can be inserted into the staff.

Link copied to clipboard
private final static Boolean hasHandlerOfItem

Returns if the given staff item stack has a registered handler. This item stack is not the staff item stack, but the one can be inserted into the staff.

Link copied to clipboard
private final static Boolean isItemInStaff

Checks if an item is added the given staff item stack.

Link copied to clipboard
private static ItemStack itemInStaff

Gets or sets the item added to the given staff item stack.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Boolean hasHandlerOfStaff()
Link copied to clipboard
public final Boolean isItemInStaff()
Link copied to clipboard
public void setItemInStaff(ItemStack itemInStaff)