diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-06-17 08:12:18 +0300 |
| commit | dc3df3edd5843bde0c1335d6a8e460b2c832aa48 (patch) | |
| tree | af13bfeee567f2351e35e1ef176d168fe37c8aac /ihl/recipes/RecipeInputObjectInstance.java | |
| parent | 1da8dcd58647e34c9af94ceeecaeaf3b0d08c48c (diff) | |
full project files
Diffstat (limited to 'ihl/recipes/RecipeInputObjectInstance.java')
| -rw-r--r-- | ihl/recipes/RecipeInputObjectInstance.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/ihl/recipes/RecipeInputObjectInstance.java b/ihl/recipes/RecipeInputObjectInstance.java deleted file mode 100644 index 42fdc26..0000000 --- a/ihl/recipes/RecipeInputObjectInstance.java +++ /dev/null @@ -1,44 +0,0 @@ -package ihl.recipes; - -import java.util.Arrays; -import java.util.List; - -import ic2.api.recipe.IRecipeInput; -import ihl.utils.IHLUtils; -import net.minecraft.item.ItemStack; - -public class RecipeInputObjectInstance implements IRecipeInput -{ - public final ItemStack input; - - public RecipeInputObjectInstance(ItemStack aInput) - { - this.input = aInput; - } - - @Override - public boolean matches(ItemStack subject) - { - return this.input==subject; - } - - @Override - public int getAmount() - { - return IHLUtils.getAmountOf(input); - } - - @Override - public List<ItemStack> getInputs() - { - return Arrays.asList(new ItemStack[] {this.input}); - } - - @Override - public String toString() - { - ItemStack stack = this.input.copy(); - return "RInputWireItemStack<" + stack + ">"; - } - -} |
