summaryrefslogtreecommitdiff
path: root/src/main/java/ihl/processing/metallurgy/CrucibleSlot.java
diff options
context:
space:
mode:
authorFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
committerFoghrye4 <foghrye4@gmail.com>2017-08-10 18:52:45 +0300
commit0427ab89f1753a44b30cbc35ce021cbbdc845109 (patch)
treeabe418ff5ec174e712fe8dedd434548a945b15a3 /src/main/java/ihl/processing/metallurgy/CrucibleSlot.java
parent877312184c472d9845e5ef1008bc538f4634059f (diff)
fix missing source folder
Diffstat (limited to 'src/main/java/ihl/processing/metallurgy/CrucibleSlot.java')
-rw-r--r--src/main/java/ihl/processing/metallurgy/CrucibleSlot.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/ihl/processing/metallurgy/CrucibleSlot.java b/src/main/java/ihl/processing/metallurgy/CrucibleSlot.java
new file mode 100644
index 0000000..5fc6a33
--- /dev/null
+++ b/src/main/java/ihl/processing/metallurgy/CrucibleSlot.java
@@ -0,0 +1,18 @@
+package ihl.processing.metallurgy;
+
+import net.minecraft.inventory.Slot;
+import net.minecraft.item.ItemStack;
+
+public class CrucibleSlot extends Slot {
+ CrucibleInventory inventory;
+
+ public CrucibleSlot(CrucibleInventory arg0, int arg1, int arg2, int arg3) {
+ super(arg0, arg1, arg2, arg3);
+ inventory = arg0;
+ }
+
+ @Override
+ public boolean isItemValid(ItemStack itemstack) {
+ return itemstack != null;
+ }
+}