aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/forestry
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-11-14 02:59:55 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-11-14 02:59:55 +1000
commit4140196b5fbf9d562aac74c03a39987e1801e99e (patch)
tree4007d89b7c8c3178dcbcc24dc3b2c78dd04237e9 /src/Java/gtPlusPlus/xmod/forestry
parent5209e2b9ea0741902be58e354d4bd54b5ad15af4 (diff)
downloadGT5-Unofficial-4140196b5fbf9d562aac74c03a39987e1801e99e.tar.gz
GT5-Unofficial-4140196b5fbf9d562aac74c03a39987e1801e99e.tar.bz2
GT5-Unofficial-4140196b5fbf9d562aac74c03a39987e1801e99e.zip
% Changed the way Forestry blocks are handled, should stop overrides of the default Alveary components.
$ Changed recipe checking of the Alloy Smelter, instead of only checking the first two slots, it now will check a dynamic size. Should fix #36.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/forestry')
-rw-r--r--src/Java/gtPlusPlus/xmod/forestry/bees/alveary/FR_BlockAlveary.java4
-rw-r--r--src/Java/gtPlusPlus/xmod/forestry/bees/items/FR_ItemRegistry.java5
2 files changed, 4 insertions, 5 deletions
diff --git a/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/FR_BlockAlveary.java b/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/FR_BlockAlveary.java
index f087ad75f4..bf632ef039 100644
--- a/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/FR_BlockAlveary.java
+++ b/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/FR_BlockAlveary.java
@@ -18,12 +18,12 @@ import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import forestry.apiculture.MaterialBeehive;
import forestry.apiculture.multiblock.TileAlvearyPlain;
-import forestry.core.blocks.BlockStructure;
+import forestry.core.blocks.BlockForestry;
import forestry.core.render.TextureManager;
import gtPlusPlus.GTplusplus;
import gtPlusPlus.core.creative.AddToCreativeTab;
-public class FR_BlockAlveary extends BlockStructure
+public class FR_BlockAlveary extends BlockForestry
{
public static enum Type
diff --git a/src/Java/gtPlusPlus/xmod/forestry/bees/items/FR_ItemRegistry.java b/src/Java/gtPlusPlus/xmod/forestry/bees/items/FR_ItemRegistry.java
index 51d0dea31b..f3d751690e 100644
--- a/src/Java/gtPlusPlus/xmod/forestry/bees/items/FR_ItemRegistry.java
+++ b/src/Java/gtPlusPlus/xmod/forestry/bees/items/FR_ItemRegistry.java
@@ -41,8 +41,6 @@ public class FR_ItemRegistry {
public static MB_ItemFrame hiveFrameClay;
public static MB_ItemFrame hiveFrameNova;
- //Alveary Stuff
- public static FR_BlockAlveary alveary;
public static void Register() {
@@ -68,7 +66,8 @@ public class FR_ItemRegistry {
hiveFrameSoul = new MB_ItemFrame(MB_FrameType.SOUL, EnumRarity.common, "");
hiveFrameClay = new MB_ItemFrame(MB_FrameType.CLAY, EnumRarity.common, "");
hiveFrameNova = new MB_ItemFrame(MB_FrameType.NOVA, EnumRarity.epic, "A Creative Only Frame.");
- if (CORE.configSwitches.enableCustomAlvearyBlocks){
+ if (CORE.configSwitches.enableCustomAlvearyBlocks){//Alveary Stuff
+ FR_BlockAlveary alveary;
alveary = registerBlock(new FR_BlockAlveary(), ItemBlockForestry.class, "alveary");
}
}