HookAccessor

public class HookAccessor

Constructors

Link copied to clipboard
public void HookAccessor(Set<ItemHook> hooks)

Functions

Link copied to clipboard
@Nullable()
public @Nullable() Color getColorFromHook(String id)
Get the color corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() NamespacedKey getEquippableModelFromHook(String id)
Link copied to clipboard
@Nullable()
public EquipmentSlot getEquippableSlotFromHook(String id)
Link copied to clipboard
@Nullable()
public @Nullable() ItemStack getItemFromHook(String id)
Get an item stack based on the input.
Link copied to clipboard
public int getModelIdFromHook(String id)
Get the model id corresponding to the input.
Link copied to clipboard
@Nullable()
public @Nullable() String getTrimMaterialFromHook(String id)
Link copied to clipboard
@Nullable()
public @Nullable() String getTrimPatternFromHook(String id)