Move factory blocks to PluginFactory.blocks

This commit is contained in:
mezz committed 2015-11-19 01:04:38 -08:00
1 parent ffe19807db
commit 10e5391f48
35 files changed
+506 -262

No files matched your search

@@ -17,11 +17,6 @@ import forestry.api.core.Tabs;
import forestry.core.blocks.BlockBase;
public class BlockApiculture extends BlockBase {
public enum Type {
APIARY,
APIARIST_CHEST_LEGACY,
BEEHOUSE;
}
public BlockApiculture(Material material) {
super(material);
@@ -29,7 +24,7 @@ public class BlockApiculture extends BlockBase {
setHarvestLevel("axe", 0);
}
public ItemStack get(Type type, int amount) {
public ItemStack get(BlockApicultureType type, int amount) {
return new ItemStack(this, amount, type.ordinal());
}
}