mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 03:15:28 +00:00
Move engine blocks to PluginEnergy.blocks
This commit is contained in:
1 parent
10e5391f48
commit
ce2a2ec8ed
32 files changed
+313
-191
No files matched your search
@@ -13,7 +13,6 @@ package forestry.plugins;
|
||||
import java.io.File;
|
||||
import java.util.EnumSet;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.CraftingManager;
|
||||
|
||||
@@ -80,7 +79,7 @@ public class PluginLepidopterology extends ForestryPlugin {
|
||||
protected void registerItemsAndBlocks() {
|
||||
items = new ItemRegistryLepidopterology();
|
||||
|
||||
ForestryBlock.lepidopterology.registerBlock(new BlockBase(Material.iron, true), ItemBlockForestry.class, "lepidopterology");
|
||||
ForestryBlock.lepidopterology.registerBlock(new BlockBase(true), ItemBlockForestry.class, "lepidopterology");
|
||||
ForestryBlock.lepidopterology.block().setCreativeTab(Tabs.tabLepidopterology);
|
||||
}
|
||||
|
||||
@@ -115,7 +114,7 @@ public class PluginLepidopterology extends ForestryPlugin {
|
||||
MothDefinition.initMoths();
|
||||
ButterflyDefinition.initButterflies();
|
||||
|
||||
((BlockBase) ForestryBlock.lepidopterology.block()).registerDefinitions();
|
||||
((BlockBase) ForestryBlock.lepidopterology.block()).init();
|
||||
|
||||
TreeManager.treeRoot.registerLeafTickHandler(new ButterflySpawner());
|
||||
|
||||
|
||||
Reference in new issue
Block a user