Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Cleptomania authored and Dream-Master committed Oct 31, 2023
1 parent 8470284 commit c1451d0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 23 deletions.
6 changes: 3 additions & 3 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Add your dependencies here

dependencies {
api('com.github.GTNewHorizons:NotEnoughItems:2.2.6-GTNH:dev')
api('com.github.GTNewHorizons:NotEnoughItems:2.4.6-GTNH:dev')

implementation('com.github.GTNewHorizons:ForestryMC:4.5.3:dev')
implementation('com.github.GTNewHorizons:waila:1.5.18:dev')
implementation('com.github.GTNewHorizons:ForestryMC:4.6.14:dev')
implementation('com.github.GTNewHorizons:waila:1.6.2:dev')
}
19 changes: 1 addition & 18 deletions repositories.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
// Add any additional repositories for your dependencies here

repositories {
maven {
name = "GTNH Maven"
url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/"
}
maven {
name = "ic2"
url = "http://maven.ic2.player.to/"
metadataSources {
mavenPom()
artifact()
}
}
maven {
url "https://cursemaven.com"
}
maven {
url = "https://jitpack.io"
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public String getGuiTexture() {
}

@Override
public List<String> handleTooltip(GuiRecipe gui, List<String> currenttip, int recipe) {
public List<String> handleTooltip(GuiRecipe<?> gui, List<String> currenttip, int recipe) {
CachedBreedingRecipe rec = (CachedBreedingRecipe) arecipes.get(recipe);
if (AddonForestry.showReqs && rec.requirements.size() > 0
&& GuiContainerManager.shouldShowTooltip(gui)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public void loadCraftingRecipes(String outputId, Object... results) {
}

@Override
public List<String> handleItemTooltip(GuiRecipe gui, ItemStack stack, List<String> currenttip, int recipe) {
public List<String> handleItemTooltip(GuiRecipe<?> gui, ItemStack stack, List<String> currenttip, int recipe) {
CachedProduceRecipe crecipe = (CachedProduceRecipe) this.arecipes.get(recipe);
for (LabeledPositionedStack positionedStack : crecipe.getProducts())
if (stack == positionedStack.item) currenttip.addAll(positionedStack.getTooltip());
Expand Down

0 comments on commit c1451d0

Please sign in to comment.