openrune: ItemDefinition -> ItemComposition
This commit is contained in:
@@ -386,7 +386,7 @@ public interface Client extends GameShell
|
||||
* @see ItemID
|
||||
*/
|
||||
@Nonnull
|
||||
ItemDefinition getItemDefinition(int id);
|
||||
ItemComposition getItemDefinition(int id);
|
||||
|
||||
/**
|
||||
* Creates an item icon sprite with passed variables.
|
||||
|
||||
@@ -101,7 +101,7 @@ public class Constants
|
||||
/**
|
||||
* High alchemy = shop price * HIGH_ALCHEMY_MULTIPLIER
|
||||
*
|
||||
* @see ItemDefinition#getPrice
|
||||
* @see ItemComposition#getPrice
|
||||
*/
|
||||
public static final float HIGH_ALCHEMY_MULTIPLIER = 0.6f;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import javax.annotation.Nullable;
|
||||
/**
|
||||
* Represents the template of a specific item type.
|
||||
*/
|
||||
public interface ItemDefinition
|
||||
public interface ItemComposition
|
||||
{
|
||||
/**
|
||||
* Gets the items name.
|
||||
@@ -25,10 +25,10 @@
|
||||
package net.runelite.api.events;
|
||||
|
||||
import lombok.Data;
|
||||
import net.runelite.api.ItemDefinition;
|
||||
import net.runelite.api.ItemComposition;
|
||||
|
||||
/**
|
||||
* An event called after a new {@link ItemDefinition} is created and
|
||||
* An event called after a new {@link ItemComposition} is created and
|
||||
* its data is initialized.
|
||||
*/
|
||||
@Data
|
||||
@@ -37,5 +37,5 @@ public class PostItemDefinition implements Event
|
||||
/**
|
||||
* The newly created item.
|
||||
*/
|
||||
private ItemDefinition itemDefinition;
|
||||
private ItemComposition itemComposition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user