mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 12:32:23 +00:00
Move factory blocks to PluginFactory.blocks
This commit is contained in:
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());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user