Basics of the farming block starting to work (wheat, potatoes, carrots + nether wart)

This commit is contained in:
CrazyPants committed 2014-05-01 22:33:34 +08:00
1 parent 0513f492e8
commit 7dcd024c18
20 files changed
+670 -233

No files matched your search

+8
View File
@@ -281,4 +281,12 @@ public class Util {
}
public static boolean isType(ItemStack stack, Class<? extends Item> class1) {
if(stack == null || class1 == null) {
return false;
}
return class1.isAssignableFrom(stack.getItem().getClass());
}
}