Functions
Link copied to clipboard
public abstract void clearItemModel(@NotNull() @NotNull() ItemStack item, @NotNull() @NotNull() Inventory inventory)
Removes a custom item model from a stack.
Link copied to clipboard
Builds a GUI preview item using the skin model when available, otherwise the display material.
Link copied to clipboard
public abstract ItemStack getItemModel(@NotNull() @NotNull() ItemStack item, @NotNull() @NotNull() String modelId)
Returns an item, with a model applied to it.
Link copied to clipboard
public abstract ItemStack getNexoItem(@NotNull() @NotNull() ItemStack itemStack, @NotNull() @NotNull() String nexoId)
It makes a Nexo Item ItemStack with a current ItemStack
Link copied to clipboard
Is Nexo Enabled?
Link copied to clipboard
public abstract void refreshInventory(@NotNull() @NotNull() Player player, @NotNull() @NotNull() Map<Material, Skin> activeSkins)
Re-applies active skin models across the player's entire inventory.
Link copied to clipboard
public abstract void refreshMaterial(@NotNull() @NotNull() Player player, @NotNull() @NotNull() Material material, @Nullable() @Nullable() Skin skin)
Updates every inventory stack of
material for the player.Link copied to clipboard
public abstract void swapItemStack(@NotNull() @NotNull() ItemStack oldItem, @NotNull() @NotNull() ItemStack newItem, @NotNull() @NotNull() Inventory inventory)
Replaces an item in an inventory