diff --git a/runelite-api/src/main/java/net/runelite/api/ItemComposition.java b/runelite-api/src/main/java/net/runelite/api/ItemComposition.java index 48135c07a3..16d7876c67 100644 --- a/runelite-api/src/main/java/net/runelite/api/ItemComposition.java +++ b/runelite-api/src/main/java/net/runelite/api/ItemComposition.java @@ -24,6 +24,8 @@ */ package net.runelite.api; +import javax.annotation.Nullable; + /** * Represents the template of a specific item type. */ @@ -138,4 +140,29 @@ public interface ItemComposition * default value. */ void resetShiftClickActionIndex(); + + /** + * Gets the model ID of the inventory item. + * + * @return the model ID + */ + int getInventoryModel(); + + /** + * Since the client reuses item models, it stores colors that can be replaced. + * This returns what colors the item model will be replaced with. + * + * @return the colors to replace with + */ + @Nullable + short[] getColorToReplaceWith(); + + /** + * Since the client reuses item models, it stores textures that can be replaced. + * This returns what textures the item model will be replaced with. + * + * @return the textures to replace with + */ + @Nullable + short[] getTextureToReplaceWith(); }