Skip to content

Commit

Permalink
Merge pull request #29 from IceDragon200/applecore-int-fixes
Browse files Browse the repository at this point in the history
Applecore integration fixes
  • Loading branch information
Sunconure11 committed Aug 10, 2015
2 parents 24837d8 + 95898cd commit 6eadf97
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repositories {

apply plugin: 'forge'

version = "2.2.0"
version = "2.2.1"
group= "mod.growthcraft"
archivesBaseName = "growthcraft"

Expand Down Expand Up @@ -64,7 +64,8 @@ processResources {
}

dependencies {
compile "applecore:AppleCore:1.7.10-1.2.1+104.62391:api"
//compile "applecore:AppleCore:1.7.10-1.2.1+104.62391:api"
compile "applecore:AppleCore:1.7.10-1.1.0:api"
}

// --------------------
Expand Down
6 changes: 5 additions & 1 deletion src/java/growthcraft/core/integration/AppleCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ public static Event.Result validateGrowthTick(Block block, World world, int x, i
@Optional.Method(modid = "AppleCore")
private static void announceGrowthTick_AC(Block block, World world, int x, int y, int z, int previousMetadata)
{
AppleCoreAPI.dispatcher.announcePlantGrowth(block, world, x, y, z, previousMetadata);
// 1.2.x - until there is an official 1.2.x release of AppleCore
//AppleCoreAPI.dispatcher.announcePlantGrowth(block, world, x, y, z, previousMetadata);

// 1.1.x
AppleCoreAPI.dispatcher.announcePlantGrowth(block, world, x, y, z);
}

public static void announceGrowthTick(Block block, World world, int x, int y, int z, int previousMetadata)
Expand Down
18 changes: 9 additions & 9 deletions src/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "Growthcraft Apples",
"description": "Growthcraft Apples is a mod which changes how apples are farmed in-game. In addition to this, it also adds Apple Ciders as a new product from apples.",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -22,7 +22,7 @@
"name": "Growthcraft Bamboo",
"description": "Growthcraft Bamboo is a mod which adds a new plant to the game: bamboos, which focuses on construction rather food.",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -40,7 +40,7 @@
"name": "Growthcraft Bees",
"description": "Growthcraft Bees is a mod which adds a new in-game hobby: beekeeping.",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -58,7 +58,7 @@
"name": "Growthcraft Cellar",
"description": "Growthcraft Cellar is a mod which adds a new in-game hobby: brewing alcoholic beverages.",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -76,7 +76,7 @@
"name": "Growthcraft",
"description": "Growthcraft Core is as a mod which acts a central hub for the other mods. It will provide of resources needed in common by two or more Growthcraft mods.",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -94,7 +94,7 @@
"name": "Growthcraft Fishtrap",
"description": "Growthcraft Fishtrap is a mod which adds a block; Fishtrap, that automatically catches fish (and other stuff) for you! ",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -112,7 +112,7 @@
"name": "Growthcraft Grapes",
"description": "Growthcraft Grapes is a mod which adds a new totally crop to the game: grapes. It also comes with Wine-making.",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -130,7 +130,7 @@
"name": "Growthcraft Hops",
"description": "Growthcraft Hops is a mod which adds a new crop to the game, hops. It also comes with Ale-brewing. ",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand All @@ -148,7 +148,7 @@
"name": "Growthcraft Rice",
"description": "Growthcraft Rice is a mod which adds a new crop; rice. Alongside it also comes a new brew type; sake.",
"version": "${version}",
"mcversion": "${mcversion}"
"mcversion": "${mcversion}",
"url": "http://www.minecraftforum.net/topic/1510394-/",
"updateUrl": "",
"authors": [ "Gwafu" ],
Expand Down

0 comments on commit 6eadf97

Please sign in to comment.