Skip to content

Commit

Permalink
Merge pull request #12 from GTNewHorizons/dev
Browse files Browse the repository at this point in the history
Removed mixin warning supression
  • Loading branch information
Dream-Master authored Oct 13, 2023
2 parents f209585 + c3b4acd commit 9bf7fa5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//version: 1696265388
//version: 1696952014
/*
DO NOT CHANGE THIS FILE!
Also, you may replace this file at any time if there is an update available.
Expand Down Expand Up @@ -793,7 +793,7 @@ ext.java17PatchDependenciesCfg = configurations.create("java17PatchDependencies"
}

dependencies {
def lwjgl3ifyVersion = '1.5.0'
def lwjgl3ifyVersion = '1.5.1'
if (modId != 'lwjgl3ify') {
java17Dependencies("com.github.GTNewHorizons:lwjgl3ify:${lwjgl3ifyVersion}")
}
Expand Down
10 changes: 5 additions & 5 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
*/
dependencies {
annotationProcessor(project(":processor"))
implementation('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-260-GTNH:dev')
implementation('com.github.GTNewHorizons:GT5-Unofficial:5.09.44.30:dev')
implementation('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-262-GTNH:dev')
implementation('com.github.GTNewHorizons:GT5-Unofficial:5.09.44.36:dev')
implementation("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev")
implementation("com.github.GTNewHorizons:EnderIO:2.5.2:dev")
implementation("com.github.GTNewHorizons:Botania:1.10.0-GTNH:dev")
implementation("com.github.GTNewHorizons:TinkersConstruct:1.10.5-GTNH:dev")
implementation("com.github.GTNewHorizons:Botania:1.10.1-GTNH:dev")
implementation("com.github.GTNewHorizons:TinkersConstruct:1.10.6-GTNH:dev")

runtimeOnlyNonPublishable("com.github.GTNewHorizons:GTplusplus:1.10.13:dev")
runtimeOnlyNonPublishable("com.github.GTNewHorizons:GTplusplus:1.10.17:dev")
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@
@Mixin(value = GuiContainerCreative.class)
public class MixinGuiContainerCreative {

@SuppressWarnings("UnresolvedMixinReference")
@Inject(method = "drawGuiContainerBackgroundLayer(FII)V", at = @At("HEAD"))
private void drawBackgroundLayerStart(CallbackInfo cbi) {
DurabilityRenderer.Execute = false;
}

@SuppressWarnings("UnresolvedMixinReference")
@Inject(method = "drawGuiContainerBackgroundLayer(FII)V", at = @At("RETURN"))
private void drawBackgroundLayerEnd(CallbackInfo cbi) {
DurabilityRenderer.Execute = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@
@Mixin(value = GuiScreen.class)
public class MixinGuiScreen {

@SuppressWarnings("UnresolvedMixinReference")
@Inject(method = "drawScreen(IIF)V", at = @At("HEAD"))
private void drawScreenStart(CallbackInfo cbi) {
DurabilityRenderer.Execute = false;
}

@SuppressWarnings("UnresolvedMixinReference")
@Inject(method = "drawScreen(IIF)V", at = @At("RETURN"))
private void drawScreenEnd(CallbackInfo cbi) {
DurabilityRenderer.Execute = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
@Mixin(value = RenderItem.class)
public abstract class MixinRenderItem {

@SuppressWarnings({ "UnresolvedMixinReference", "mapping" })
@Redirect(
method = "renderItemOverlayIntoGUI(Lnet/minecraft/client/gui/FontRenderer;Lnet/minecraft/client/renderer/texture/TextureManager;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V",
at = @At(
Expand Down

0 comments on commit 9bf7fa5

Please sign in to comment.