diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-10-02 12:11:53 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-10-02 12:11:53 +1000 |
commit | b15f15a24f36055497470d1f291e8ade0d0034f6 (patch) | |
tree | 31ef42ca57335ec393021d143e8078de41c1f57f | |
parent | 2495412034b85cba6efc2e61e8c53a62e1286280 (diff) | |
download | GT5-Unofficial-b15f15a24f36055497470d1f291e8ade0d0034f6.tar.gz GT5-Unofficial-b15f15a24f36055497470d1f291e8ade0d0034f6.tar.bz2 GT5-Unofficial-b15f15a24f36055497470d1f291e8ade0d0034f6.zip |
^ Bumped Recommended version.
-rw-r--r-- | Recommended.txt | 2 | ||||
-rw-r--r-- | src/Java/gtPlusPlus/xmod/forestry/HANDLER_FR.java | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/Recommended.txt b/Recommended.txt index 2758c10e48..b9dcd6f6f6 100644 --- a/Recommended.txt +++ b/Recommended.txt @@ -1 +1 @@ -1.6.02-release
\ No newline at end of file +1.6.05-release
\ No newline at end of file diff --git a/src/Java/gtPlusPlus/xmod/forestry/HANDLER_FR.java b/src/Java/gtPlusPlus/xmod/forestry/HANDLER_FR.java index 63897a21e8..fd9fd940c8 100644 --- a/src/Java/gtPlusPlus/xmod/forestry/HANDLER_FR.java +++ b/src/Java/gtPlusPlus/xmod/forestry/HANDLER_FR.java @@ -1,16 +1,22 @@ package gtPlusPlus.xmod.forestry; import cpw.mods.fml.common.Optional; +import cpw.mods.fml.common.registry.GameRegistry; +import forestry.core.blocks.BlockRegistry; +import forestry.core.items.ItemBlockForestry; import forestry.core.proxy.Proxies; +import forestry.core.utils.StringUtil; import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.lib.LoadedMods; +import gtPlusPlus.xmod.forestry.bees.blocks.BlockDenseBeeHouse; import gtPlusPlus.xmod.forestry.bees.items.FR_ItemRegistry; import gtPlusPlus.xmod.forestry.bees.recipe.FR_Gregtech_Recipes; import net.minecraft.block.Block; import net.minecraft.world.World; -public class HANDLER_FR { +public class HANDLER_FR extends BlockRegistry { + public static BlockDenseBeeHouse apiculture; public static void preInit(){ if (LoadedMods.Forestry){ @@ -23,7 +29,9 @@ public class HANDLER_FR { public static void Init(){ if (LoadedMods.Forestry){ - + apiculture = new BlockDenseBeeHouse(); + apiculture.setBlockName("gtpp." + "beehouse"); + GameRegistry.registerBlock(apiculture, ItemBlockForestry.class, StringUtil.cleanBlockName(apiculture)); } } |