RuneHive-Game
Loading...
Searching...
No Matches
Craftable.java
Go to the documentation of this file.
1package com.runehive.content.skill.impl.crafting;
2
3import com.runehive.game.world.items.Item;
4
5/**
6 * The craftable itemcontainer.
7 *
8 * @author Daniel
9 */
10public interface Craftable {
11
12 /**
13 * Gets the craftable name.
14 *
15 * @return The craftable name.
16 */
17 String getName();
18
19 /**
20 * Gets the craftable animation.
21 *
22 * @return The craftable animation.
23 */
25
26 /**
27 * Gets the craftable used item.
28 *
29 * @return The craftable used item.
30 */
32
33 /**
34 * Gets the craftable item used with.
35 *
36 * @return The craftable item used with.
37 */
39
40 /**
41 * Gets the craftable items.
42 *
43 * @return The craftable items.
44 */
46
47 /**
48 * Gets the craftable ingredients.
49 *
50 * @param index The ingredient index.
51 * @return The craftable ingredients.
52 */
53 Item[] getIngredients(int index);
54
55 /**
56 * Gets the craftable production message.
57 *
58 * @return The craftable production message.
59 */
61}
The container class that represents an item that can be interacted with.
Definition Item.java:21
Item[] getIngredients(int index)
Gets the craftable ingredients.
Item getUse()
Gets the craftable used item.
CraftableItem[] getCraftableItems()
Gets the craftable items.
String getName()
Gets the craftable name.
String getProductionMessage()
Gets the craftable production message.
Item getWith()
Gets the craftable item used with.
int getAnimation()
Gets the craftable animation.