aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2017-03-04 12:58:47 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2017-03-04 12:58:47 +1000
commitae21012d216df71f31aed6fbc9d76215fc24ceed (patch)
treecc89accbe6ce5c04b72ed3c5e46b2a185f88be6a /src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java
parentba89972a22a316030f8c3bd99974f915b1d7aefc (diff)
downloadGT5-Unofficial-ae21012d216df71f31aed6fbc9d76215fc24ceed.tar.gz
GT5-Unofficial-ae21012d216df71f31aed6fbc9d76215fc24ceed.tar.bz2
GT5-Unofficial-ae21012d216df71f31aed6fbc9d76215fc24ceed.zip
+ New texture for the slow builders ring.
+ Added the Alkalus Disk. $ Fixed Frame Box Assembler Recipes. $ Fixed Missing 7Li material. $ Fixed Tiered Tanks not showing their capacity in the tooltip. $ Fixed tooltips for alloys containing Bronze or Steel. $ Fixed Clay Pipe Extruder Recipes. - Removed a handful of Plasma cells for misc. materials. % Changed the Industrial Coke Oven's tooltip, to better describe the input/output requirements. % Cleaned up The Entire Project.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java')
-rw-r--r--src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java b/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java
index fd18f069cf..ab093645b6 100644
--- a/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java
+++ b/src/Java/gtPlusPlus/xmod/forestry/bees/alveary/AlvearyHandler.java
@@ -1,28 +1,28 @@
package gtPlusPlus.xmod.forestry.bees.alveary;
+import cpw.mods.fml.common.Optional;
+import cpw.mods.fml.common.registry.GameRegistry;
import forestry.core.items.ItemBlockForestry;
import forestry.core.utils.StringUtil;
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.lib.LoadedMods;
import net.minecraft.block.Block;
import net.minecraft.item.ItemBlock;
-import cpw.mods.fml.common.Optional;
-import cpw.mods.fml.common.registry.GameRegistry;
public class AlvearyHandler {
@Optional.Method(modid = "Forestry")
public static void run(){
if (!LoadedMods.ExtraBees){
- if (CORE.configSwitches.enableCustomAlvearyBlocks){//Alveary Stuff
- FR_BlockAlveary alveary;
- alveary = registerBlock(new FR_BlockAlveary(), ItemBlockForestry.class, "alveary");
- GameRegistry.registerTileEntity(TileAlvearyFrameHousing.class, "FrameHousing");
- }
+ if (CORE.configSwitches.enableCustomAlvearyBlocks){//Alveary Stuff
+ FR_BlockAlveary alveary;
+ alveary = registerBlock(new FR_BlockAlveary(), ItemBlockForestry.class, "alveary");
+ GameRegistry.registerTileEntity(TileAlvearyFrameHousing.class, "FrameHousing");
+ }
}
- }
+ }
- protected static <T extends Block> T registerBlock(T block, Class<? extends ItemBlock> itemClass, String name, Object... itemCtorArgs) {
+ protected static <T extends Block> T registerBlock(final T block, final Class<? extends ItemBlock> itemClass, final String name, final Object... itemCtorArgs) {
block.setBlockName("for." + name);
GameRegistry.registerBlock(block, itemClass, StringUtil.cleanBlockName(block), itemCtorArgs);
return block;