DefaultItemHook

public class DefaultItemHook extends ItemHook

Constructors

Link copied to clipboard
public void DefaultItemHook()

Functions

Link copied to clipboard
@Nullable()
public @Nullable() ItemStack get(String id)
Get an item stack based on the input.
Link copied to clipboard
@Nullable()
public @Nullable() Color getColor(String id)
Get the color corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() NamespacedKey getEquippableModel(String id)
Get the equippable key corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() EquipmentSlot getEquippableSlot(String id)
Get the equippable slot corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() NamespacedKey getItemModel(String id)
Get the item model key corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() List<String> getLore(String id)
Get the item lore corresponding to the input.
Link copied to clipboard
public int getModelId(String id)
Get the model id corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() String getName(String id)
Get the item name corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() String getPrefix()
Get the hook prefix.
Link copied to clipboard
@Nullable()
public @Nullable() String getTrimMaterial(String id)
Get the trim material corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() String getTrimPattern(String id)
Get the trim pattern corresponding to the input.