ModelService

public final class ModelService extends NexoService implements Model

Service for applying BetterModel item models to ItemStacks.

Constructors

Link copied to clipboard
public void ModelService()
Constructs a new ModelService.

Functions

Link copied to clipboard
public void clearItemModel(@NotNull() @NotNull() ItemStack item, @NotNull() @NotNull() Inventory inventory)
Link copied to clipboard
@NotNull()
public @NotNull() ItemStack createPreviewItem(@NotNull() @NotNull() Skin skin)
Link copied to clipboard
public ItemStack getItemModel(@NotNull() @NotNull() ItemStack item, @NotNull() @NotNull() String modelId)
Link copied to clipboard
public abstract String getNexoId(@NotNull() String p)
public String getNexoId(@NotNull() @NotNull() String modelId)
Link copied to clipboard
public abstract ItemStack getNexoItem(@NotNull() ItemStack p, @NotNull() String p1)
public ItemStack getNexoItem(@NotNull() @NotNull() ItemStack itemStack, @NotNull() @NotNull() String nexoId)
Link copied to clipboard
public abstract boolean isNexo(@NotNull() String p)
public boolean isNexo(@NotNull() @NotNull() String modelId)
Link copied to clipboard
public abstract boolean isNexoEnabled()
public boolean isNexoEnabled()
Link copied to clipboard
public void refreshInventory(@NotNull() @NotNull() Player player, @NotNull() @NotNull() Map<Material, Skin> activeSkins)
Link copied to clipboard
public void refreshMaterial(@NotNull() @NotNull() Player player, @NotNull() @NotNull() Material material, @Nullable() @Nullable() Skin skin)
Link copied to clipboard
public void swapItemStack(@NotNull() @NotNull() ItemStack oldItem, @NotNull() @NotNull() ItemStack newItem, @NotNull() @NotNull() Inventory inventory)