From 09d3c91a9f066e7b17b577cc2385aea72cd28dc5 Mon Sep 17 00:00:00 2001 From: bdew Date: Wed, 17 Dec 2014 02:29:14 +0200 Subject: [PATCH 1/5] build for new unstable --- build.gradle | 4 ++-- settings.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 650657d..d27fa43 100644 --- a/build.gradle +++ b/build.gradle @@ -34,7 +34,7 @@ if (project.hasProperty('buildnum')) { } group = "net.bdew" -archivesBaseName = "gendustry" +archivesBaseName = "gendustry-fu" minecraft { version = "1.7.10-10.13.2.1231" @@ -70,7 +70,7 @@ dependencies { compile "codechicken:CodeChickenCore:1.7.10-1.0.3.26:dev" compile "com.mod-buildcraft:buildcraft:6.2.0:dev" compile "net.industrial-craft:industrialcraft-2:2.2.650-experimental:api" - compile "net.sengir.forestry:forestry_1.7.10:3.3.0.6:api" + compile "net.sengir.forestry:forestry_1.7.10:3.3.0.334-unstable:api" compile "mcp.mobius.waila:Waila:1.5.5_1.7.10" compile "net.bdew.thirdparty:CoFHLib:R1.0.1:api" } diff --git a/settings.gradle b/settings.gradle index 94e1220..f9d0529 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -rootProject.name = 'gendustry' \ No newline at end of file +rootProject.name = 'gendustry-fu' \ No newline at end of file From 18e9830a5e3fa16ff5e12a26595642ff25e97320 Mon Sep 17 00:00:00 2001 From: bdew Date: Wed, 17 Dec 2014 03:15:02 +0200 Subject: [PATCH 2/5] Update to changes in forestry --- build.gradle | 6 ++-- .../triggers/ForestryErrorTriggers.scala | 36 ++++++++++--------- .../bdew/gendustry/custom/BeeSpecies.scala | 2 +- .../machines/apiary/ErrorCodes.scala | 23 ++++++++---- .../machines/apiary/TileApiary.scala | 6 ++-- 5 files changed, 42 insertions(+), 31 deletions(-) diff --git a/build.gradle b/build.gradle index d27fa43..6a5c68a 100644 --- a/build.gradle +++ b/build.gradle @@ -65,9 +65,9 @@ repositories { dependencies { compile "net.bdew:bdlib:" + bdlibver - compile "codechicken:NotEnoughItems:1.7.10-1.0.3.56:dev" - compile "codechicken:CodeChickenLib:1.7.10-1.1.1.104:dev" - compile "codechicken:CodeChickenCore:1.7.10-1.0.3.26:dev" + compile "codechicken:NotEnoughItems:1.7.10-1.0.3.74:dev" + compile "codechicken:CodeChickenLib:1.7.10-1.1.1.106:dev" + compile "codechicken:CodeChickenCore:1.7.10-1.0.4.29:dev" compile "com.mod-buildcraft:buildcraft:6.2.0:dev" compile "net.industrial-craft:industrialcraft-2:2.2.650-experimental:api" compile "net.sengir.forestry:forestry_1.7.10:3.3.0.334-unstable:api" diff --git a/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala b/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala index a9fe3ab..e1b21d8 100644 --- a/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala +++ b/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala @@ -10,8 +10,9 @@ package net.bdew.gendustry.compat.triggers import buildcraft.api.statements.StatementManager -import forestry.api.core.EnumErrorCode +import forestry.api.core.IErrorState import net.bdew.gendustry.Gendustry +import net.bdew.gendustry.machines.apiary.ErrorCodes import net.bdew.lib.Misc import net.minecraft.client.renderer.texture.IIconRegister import net.minecraft.tileentity.TileEntity @@ -19,10 +20,10 @@ import net.minecraftforge.common.util.ForgeDirection trait ForestryErrorSource extends TileEntity { def getErrorOrdinal: Int - def getErrorState: EnumErrorCode + def getErrorState: IErrorState } -case class ForestryErrorTrigger(state: EnumErrorCode) extends BaseTrigger("forestry.error." + state.ordinal(), "y%03d".format(state.ordinal()), classOf[ForestryErrorSource]) { +case class ForestryErrorTrigger(state: IErrorState) extends BaseTrigger("forestry.error." + state.getID, "y%03d".format(state.getID), classOf[ForestryErrorSource]) { override def getIcon = state.getIcon override def getDescription = Misc.toLocal("for." + state.getDescription) override def registerIcons(ir: IIconRegister) {} @@ -32,20 +33,21 @@ case class ForestryErrorTrigger(state: EnumErrorCode) extends BaseTrigger("fores object ForestryErrorTriggers { - val apiaryTriggerStates = Seq( - EnumErrorCode.OK, - EnumErrorCode.INVALIDBIOME, - EnumErrorCode.NOTGLOOMY, - EnumErrorCode.NOTLUCID, - EnumErrorCode.NOTDAY, - EnumErrorCode.NOTNIGHT, - EnumErrorCode.NOFLOWER, - EnumErrorCode.NOQUEEN, - EnumErrorCode.NODRONE, - EnumErrorCode.NOSKY, - EnumErrorCode.NOSPACE, - EnumErrorCode.NOPOWER - ) + val apiaryTriggerStates = List( + "ok", + "invalidBiome", + "isRaining", + "notGloomy", + "notLucid", + "notDay", + "notNight", + "noFlower", + "noQueen", + "noDrone", + "noSky", + "noSpace", + "noPower" + ) map ErrorCodes.getErrorByName val validTriggerStates = apiaryTriggerStates.toSet val validTriggers = validTriggerStates.map(x => x -> ForestryErrorTrigger(x)).toMap diff --git a/src/net/bdew/gendustry/custom/BeeSpecies.scala b/src/net/bdew/gendustry/custom/BeeSpecies.scala index 3ba0607..9090a87 100644 --- a/src/net/bdew/gendustry/custom/BeeSpecies.scala +++ b/src/net/bdew/gendustry/custom/BeeSpecies.scala @@ -96,7 +96,7 @@ class BeeSpecies(cfg: ConfigSection, ident: String) extends IAlleleBeeSpecies { var highest = 0 excludeSpecies += species import scala.collection.JavaConversions._ - getRoot.getPaths(species, EnumBeeChromosome.SPECIES.ordinal) foreach { mutation => + getRoot.getPaths(species, getRoot.getKaryotypeKey) foreach { mutation => if (!excludeSpecies.contains(mutation.getAllele0)) { val otherAdvance = getMutationPathLength(mutation.getAllele0, excludeSpecies) if (otherAdvance > highest) highest = otherAdvance diff --git a/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala b/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala index 012bfc4..ae3e12e 100644 --- a/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala +++ b/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala @@ -9,15 +9,24 @@ package net.bdew.gendustry.machines.apiary -import forestry.api.core.EnumErrorCode +import forestry.api.core.{ErrorStateRegistry, IErrorState} import net.bdew.lib.Misc import net.bdew.lib.gui.Texture object ErrorCodes { - val values = EnumErrorCode.values().zipWithIndex.map(_.swap).toMap - def getValueSafe(i: Int) = values.getOrElse(i, EnumErrorCode.UNKNOWN) - def isValid(i: Int) = values.isDefinedAt(i) - def getIcon(i: Int) = Texture(Texture.ITEMS, values(i).getIcon) - def getDescription(i: Int) = Misc.toLocal("for." + values(i).getDescription) - def getHelp(i: Int) = Misc.toLocal("for." + values(i).getHelp) + private val cEnumErrorCode = Class.forName("forestry.core.EnumErrorCode").asInstanceOf[Class[IErrorState]] + private val fName = cEnumErrorCode.getDeclaredField("name") + fName.setAccessible(true) + + val map = cEnumErrorCode.getEnumConstants.map(c => fName.get(c).asInstanceOf[String] -> c).toMap + + val UNKNOWN = ErrorStateRegistry.getErrorStateFromCode(0) + + def getValueSafe(i: Int) = Option(ErrorStateRegistry.getErrorStateFromCode(i.toShort)).getOrElse(UNKNOWN) + def getErrorByName(n: String) = map.getOrElse(n, UNKNOWN) + + def isValid(i: Int) = ErrorStateRegistry.getErrorStateFromCode(i.toShort) != null + def getIcon(i: Int) = Texture(Texture.ITEMS, getValueSafe(i).getIcon) + def getDescription(i: Int) = Misc.toLocal("for." + getValueSafe(i).getDescription) + def getHelp(i: Int) = Misc.toLocal("for." + getValueSafe(i).getHelp) } diff --git a/src/net/bdew/gendustry/machines/apiary/TileApiary.scala b/src/net/bdew/gendustry/machines/apiary/TileApiary.scala index b7df1cb..4c07a91 100644 --- a/src/net/bdew/gendustry/machines/apiary/TileApiary.scala +++ b/src/net/bdew/gendustry/machines/apiary/TileApiary.scala @@ -11,7 +11,7 @@ package net.bdew.gendustry.machines.apiary import forestry.api.apiculture._ import forestry.api.arboriculture.EnumGermlingType -import forestry.api.core.{BiomeHelper, EnumErrorCode, EnumHumidity, EnumTemperature} +import forestry.api.core._ import forestry.api.genetics.{AlleleManager, IIndividual} import net.bdew.gendustry.Gendustry import net.bdew.gendustry.api.ApiaryModifiers @@ -117,7 +117,7 @@ with IIndustrialApiary { if ((logic.getQueen != null || logic.getBreedingTime > 0) && (errorState :== 1)) power.extract(cfg.baseMjPerTick * mods.energy, false) } else { - setErrorState(EnumErrorCode.NOPOWER) + setErrorState(ErrorCodes.map("noPower")) } if (movePrincess && getStackInSlot(slots.queen) == null) @@ -239,7 +239,7 @@ with IIndustrialApiary { override def getWorld = worldObj override def setErrorState(state: Int) = errorState := state override def getErrorState = ErrorCodes.getValueSafe(errorState) - override def setErrorState(state: EnumErrorCode) = errorState := state.ordinal() + override def setErrorState(state: IErrorState) = errorState := state.getID override def getOwnerName = owner override def getXCoord = xCoord override def getYCoord = yCoord From 6a79af662fe21d0e7470240463e10a2be8ec4aa9 Mon Sep 17 00:00:00 2001 From: bdew Date: Wed, 17 Dec 2014 12:38:23 +0200 Subject: [PATCH 3/5] Updated to Forestry 337 (ErrorStateRegistry changes), made disabled a custom error state --- build.gradle | 5 ++- resources/assets/gendustry/lang/en_US.lang | 6 +-- src/net/bdew/gendustry/Gendustry.scala | 4 ++ .../triggers/ForestryErrorTriggers.scala | 26 +++++------ .../machines/apiary/ErrorCodes.scala | 45 ++++++++++++++----- .../machines/apiary/TileApiary.scala | 6 +-- .../machines/apiary/WidgetError.scala | 25 +---------- .../gendustry/waila/BaseDataProvider.scala | 6 +++ 8 files changed, 67 insertions(+), 56 deletions(-) diff --git a/build.gradle b/build.gradle index 6a5c68a..909d1b3 100644 --- a/build.gradle +++ b/build.gradle @@ -70,8 +70,8 @@ dependencies { compile "codechicken:CodeChickenCore:1.7.10-1.0.4.29:dev" compile "com.mod-buildcraft:buildcraft:6.2.0:dev" compile "net.industrial-craft:industrialcraft-2:2.2.650-experimental:api" - compile "net.sengir.forestry:forestry_1.7.10:3.3.0.334-unstable:api" - compile "mcp.mobius.waila:Waila:1.5.5_1.7.10" + compile "net.sengir.forestry:forestry_1.7.10:3.3.0.337-unstable:api" + compile "mcp.mobius.waila:Waila:1.5.6a_1.7.10" compile "net.bdew.thirdparty:CoFHLib:R1.0.1:api" } @@ -85,6 +85,7 @@ sourceSets { resources { srcDir 'resources' } + output.resourcesDir = output.classesDir // Hack for IDEA } } diff --git a/resources/assets/gendustry/lang/en_US.lang b/resources/assets/gendustry/lang/en_US.lang index 1dea3df..99af960 100644 --- a/resources/assets/gendustry/lang/en_US.lang +++ b/resources/assets/gendustry/lang/en_US.lang @@ -114,9 +114,6 @@ gendustry.label.mod.sieve=* Pollen Collection gendustry.label.mod.temperature=* Temperature gendustry.label.mod.humidity=* Humidity -gendustry.error.power=Not enough power -gendustry.error.disabled=Disabled by settings - gendustry.label.sample.rootBees=Taken from a Bee gendustry.label.sample.rootTrees=Taken from a Sapling gendustry.label.sample.rootButterflies=Taken from a Butterfly @@ -257,6 +254,9 @@ itemGroup.bdew.gendustry=Gendustry itemGroup.bdew.templates=Genetic Templates itemGroup.bdew.samples=Genetic Samples +for.gendustry.errorstate.disabled.description=Disabled +for.gendustry.errorstate.disabled.help=The machine is disabled by it's configuration + #this will be moved to bdlib at some point bdlib.label.empty=Empty diff --git a/src/net/bdew/gendustry/Gendustry.scala b/src/net/bdew/gendustry/Gendustry.scala index 60a3f82..23aa7a0 100644 --- a/src/net/bdew/gendustry/Gendustry.scala +++ b/src/net/bdew/gendustry/Gendustry.scala @@ -26,6 +26,7 @@ import net.bdew.gendustry.config.loader.TuningLoader import net.bdew.gendustry.custom.CustomContent import net.bdew.gendustry.forestry.GeneRecipe import net.bdew.gendustry.gui.HintIcons +import net.bdew.gendustry.machines.apiary.ErrorCodes import net.bdew.gendustry.machines.apiary.upgrades.Upgrades import net.bdew.gendustry.misc._ import net.minecraft.command.CommandHandler @@ -62,6 +63,9 @@ object Gendustry { configDir = new File(event.getModConfigurationDirectory, "gendustry") TuningLoader.loadConfigFiles() + + ErrorCodes.init() + TriggerProvider.registerTriggers() Fluids.load() diff --git a/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala b/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala index e1b21d8..5c79130 100644 --- a/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala +++ b/src/net/bdew/gendustry/compat/triggers/ForestryErrorTriggers.scala @@ -34,19 +34,19 @@ case class ForestryErrorTrigger(state: IErrorState) extends BaseTrigger("forestr object ForestryErrorTriggers { val apiaryTriggerStates = List( - "ok", - "invalidBiome", - "isRaining", - "notGloomy", - "notLucid", - "notDay", - "notNight", - "noFlower", - "noQueen", - "noDrone", - "noSky", - "noSpace", - "noPower" + "Forestry:ok", + "Forestry:invalidBiome", + "Forestry:isRaining", + "Forestry:notGloomy", + "Forestry:notLucid", + "Forestry:notDay", + "Forestry:notNight", + "Forestry:noFlower", + "Forestry:noQueen", + "Forestry:noDrone", + "Forestry:noSky", + "Forestry:noSpace", + "Forestry:noPower" ) map ErrorCodes.getErrorByName val validTriggerStates = apiaryTriggerStates.toSet diff --git a/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala b/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala index ae3e12e..8cd17c2 100644 --- a/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala +++ b/src/net/bdew/gendustry/machines/apiary/ErrorCodes.scala @@ -9,24 +9,45 @@ package net.bdew.gendustry.machines.apiary +import cpw.mods.fml.relauncher.{Side, SideOnly} import forestry.api.core.{ErrorStateRegistry, IErrorState} import net.bdew.lib.Misc import net.bdew.lib.gui.Texture +import net.minecraft.client.renderer.texture.IIconRegister +import net.minecraft.util.IIcon object ErrorCodes { - private val cEnumErrorCode = Class.forName("forestry.core.EnumErrorCode").asInstanceOf[Class[IErrorState]] - private val fName = cEnumErrorCode.getDeclaredField("name") - fName.setAccessible(true) + val UNKNOWN = ErrorStateRegistry.getErrorState("Forestry:unknown") - val map = cEnumErrorCode.getEnumConstants.map(c => fName.get(c).asInstanceOf[String] -> c).toMap + def getErrorById(i: Int) = Option(ErrorStateRegistry.getErrorState(i.toShort)).getOrElse(UNKNOWN) + def getErrorByName(n: String) = Option(ErrorStateRegistry.getErrorState(n)).getOrElse(UNKNOWN) - val UNKNOWN = ErrorStateRegistry.getErrorStateFromCode(0) + def isValid(i: Int) = ErrorStateRegistry.getErrorState(i.toShort) != null + def getIcon(i: Int) = Texture(Texture.ITEMS, getErrorById(i).getIcon) + def getDescription(i: Int) = Misc.toLocal("for." + getErrorById(i).getDescription) + def getHelp(i: Int) = Misc.toLocal("for." + getErrorById(i).getHelp) - def getValueSafe(i: Int) = Option(ErrorStateRegistry.getErrorStateFromCode(i.toShort)).getOrElse(UNKNOWN) - def getErrorByName(n: String) = map.getOrElse(n, UNKNOWN) - - def isValid(i: Int) = ErrorStateRegistry.getErrorStateFromCode(i.toShort) != null - def getIcon(i: Int) = Texture(Texture.ITEMS, getValueSafe(i).getIcon) - def getDescription(i: Int) = Misc.toLocal("for." + getValueSafe(i).getDescription) - def getHelp(i: Int) = Misc.toLocal("for." + getValueSafe(i).getHelp) + def init() { + ErrorStateRegistry.registerErrorState(GendustryErrorStates.Disabled) + } } + +case class GendustryErrorState(name: String, id: Short) extends IErrorState { + var icon: IIcon = null + override def getID = id + override def getUniqueName = "gendustry:" + name + override def getDescription = "gendustry.errorstate." + name + ".description" + override def getHelp = "gendustry.errorstate." + name + ".help" + + @SideOnly(Side.CLIENT) + override def getIcon = icon + + @SideOnly(Side.CLIENT) + override def registerIcons(register: IIconRegister) { + icon = register.registerIcon("gendustry:error/" + name) + } +} + +object GendustryErrorStates { + val Disabled = GendustryErrorState("disabled", 500) +} \ No newline at end of file diff --git a/src/net/bdew/gendustry/machines/apiary/TileApiary.scala b/src/net/bdew/gendustry/machines/apiary/TileApiary.scala index 4c07a91..3193e51 100644 --- a/src/net/bdew/gendustry/machines/apiary/TileApiary.scala +++ b/src/net/bdew/gendustry/machines/apiary/TileApiary.scala @@ -111,13 +111,13 @@ with IIndustrialApiary { movePrincess = false if (!canWork) { - setErrorState(-2) + setErrorState(GendustryErrorStates.Disabled) } else if (power.stored >= cfg.baseMjPerTick * mods.energy) { logic.update() if ((logic.getQueen != null || logic.getBreedingTime > 0) && (errorState :== 1)) power.extract(cfg.baseMjPerTick * mods.energy, false) } else { - setErrorState(ErrorCodes.map("noPower")) + setErrorState(ErrorCodes.getErrorByName("Forestry:noPower")) } if (movePrincess && getStackInSlot(slots.queen) == null) @@ -238,7 +238,7 @@ with IIndustrialApiary { override def getWorld = worldObj override def setErrorState(state: Int) = errorState := state - override def getErrorState = ErrorCodes.getValueSafe(errorState) + override def getErrorState = ErrorCodes.getErrorById(errorState) override def setErrorState(state: IErrorState) = errorState := state.getID override def getOwnerName = owner override def getXCoord = xCoord diff --git a/src/net/bdew/gendustry/machines/apiary/WidgetError.scala b/src/net/bdew/gendustry/machines/apiary/WidgetError.scala index 2d82b80..ca2e3fd 100644 --- a/src/net/bdew/gendustry/machines/apiary/WidgetError.scala +++ b/src/net/bdew/gendustry/machines/apiary/WidgetError.scala @@ -9,9 +9,6 @@ package net.bdew.gendustry.machines.apiary -import net.bdew.gendustry.Gendustry -import net.bdew.gendustry.gui.Textures -import net.bdew.lib.Misc import net.bdew.lib.gui.widgets.Widget import net.bdew.lib.gui.{Point, Rect} @@ -20,29 +17,11 @@ import scala.collection.mutable class WidgetError(x: Int, y: Int, apiary: TileApiary) extends Widget { val rect: Rect = new Rect(x, y, 16, 16) override def draw(mouse: Point) { - val err = apiary.errorState.cval - if (err == -1) { - parent.drawTexture(rect, Textures.errors.noPower) - } else if (err == -2) { - parent.drawTexture(rect, Textures.errors.disabled) - } else if (ErrorCodes.isValid(err)) { - parent.drawTexture(rect, ErrorCodes.getIcon(err)) - } else { - parent.drawTexture(rect, ErrorCodes.getIcon(0)) - } + parent.drawTexture(rect, ErrorCodes.getIcon(apiary.errorState.cval)) } override def handleTooltip(p: Point, tip: mutable.MutableList[String]) { - val err = apiary.errorState.cval - if (err == -1) { - tip += Misc.toLocal(Gendustry.modId + ".error.power") - } else if (err == -2) { - tip += Misc.toLocal(Gendustry.modId + ".error.disabled") - } else if (ErrorCodes.isValid(err)) { - tip += ErrorCodes.getDescription(err) - } else { - tip += ErrorCodes.getDescription(0) - } + tip += ErrorCodes.getDescription(apiary.errorState.cval) tip ++= apiary.getStats } } diff --git a/src/net/bdew/gendustry/waila/BaseDataProvider.scala b/src/net/bdew/gendustry/waila/BaseDataProvider.scala index 47a3acd..baaf642 100644 --- a/src/net/bdew/gendustry/waila/BaseDataProvider.scala +++ b/src/net/bdew/gendustry/waila/BaseDataProvider.scala @@ -14,9 +14,15 @@ import java.util import mcp.mobius.waila.api.{IWailaConfigHandler, IWailaDataAccessor, IWailaDataProvider} import net.bdew.gendustry.Gendustry import net.minecraft.item.ItemStack +import net.minecraft.nbt.NBTTagCompound +import net.minecraft.tileentity.TileEntity import net.minecraft.util.EnumChatFormatting +import net.minecraft.world.World class BaseDataProvider[T](cls: Class[T]) extends IWailaDataProvider { + + override def getNBTData(te: TileEntity, tag: NBTTagCompound, world: World, x: Int, y: Int, z: Int) = null + def getTailStrings(target: T, stack: ItemStack, acc: IWailaDataAccessor, cfg: IWailaConfigHandler): Iterable[String] = None def getHeadStrings(target: T, stack: ItemStack, acc: IWailaDataAccessor, cfg: IWailaConfigHandler): Iterable[String] = None def getBodyStrings(target: T, stack: ItemStack, acc: IWailaDataAccessor, cfg: IWailaConfigHandler): Iterable[String] = None From a3f07f1c4543c064c3d069c865b7a6d18c01f8ab Mon Sep 17 00:00:00 2001 From: bdew Date: Wed, 24 Dec 2014 11:48:24 +0200 Subject: [PATCH 4/5] build against forestry 357 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 60cea3b..e556c16 100644 --- a/build.gradle +++ b/build.gradle @@ -70,7 +70,7 @@ dependencies { compile "codechicken:CodeChickenCore:1.7.10-1.0.4.29:dev" compile "com.mod-buildcraft:buildcraft:6.2.6:dev" compile "net.industrial-craft:industrialcraft-2:2.2.650-experimental:api" - compile "net.sengir.forestry:forestry_1.7.10:3.3.0.337-unstable:api" + compile "net.sengir.forestry:forestry_1.7.10:3.3.0.357-unstable:api" compile "mcp.mobius.waila:Waila:1.5.6a_1.7.10" compile "net.bdew.thirdparty:CoFHLib:R1.0.1:api" } From 30c18becc41751a1b20470de8f7e340508a17a7d Mon Sep 17 00:00:00 2001 From: bdew Date: Thu, 15 Jan 2015 10:26:26 +0200 Subject: [PATCH 5/5] Build against forestry 415 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index e556c16..6cf7b15 100644 --- a/build.gradle +++ b/build.gradle @@ -70,7 +70,7 @@ dependencies { compile "codechicken:CodeChickenCore:1.7.10-1.0.4.29:dev" compile "com.mod-buildcraft:buildcraft:6.2.6:dev" compile "net.industrial-craft:industrialcraft-2:2.2.650-experimental:api" - compile "net.sengir.forestry:forestry_1.7.10:3.3.0.357-unstable:api" + compile "net.sengir.forestry:forestry_1.7.10:3.3.0.415-unstable:api" compile "mcp.mobius.waila:Waila:1.5.6a_1.7.10" compile "net.bdew.thirdparty:CoFHLib:R1.0.1:api" }