ModelItemFactory

public final class ModelItemFactory

Functions

Link copied to clipboard
public static ItemStack createCustomItem(String itemId, PropScriptConfigFields config)
Creates a custom item from a model config that has item fields (material, enchantments, etc.).
Link copied to clipboard
public static ItemStack createModelItem(String modelId, Material material)
Creates a model placement item.
Link copied to clipboard
public static EnchantmentItemProfile enchantmentProfile(ItemStack item)
Link copied to clipboard
public static String formatModelName(String modelId)
Formats a model ID into a human-readable name.