Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed mixin warning supression #12

Merged
merged 2 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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