Skip to content

Commit 13a2ef1

Browse files
committed
Version bumps
1 parent e3a96cc commit 13a2ef1

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ minecraft_version=1.21.6
1414
# as they do not follow standard versioning conventions.
1515
minecraft_version_range=[1.21.6]
1616
# The Neo version must agree with the Minecraft version to get a valid artifact
17-
neo_version=21.6.11-beta
17+
neo_version=21.6.19-beta
1818
# The Neo version range can use any version of Neo as bounds
19-
neo_version_range=[21.6.11-beta,)
19+
neo_version_range=[21.6.19-beta,)
2020
# read more on this at https://github.com/neoforged/NeoGradle/blob/NG_7.0/README.md#apply-parchment-mappings
2121
# you can also find the latest versions at: https://parchmentmc.org/docs/getting-started
2222
parchment_minecraft_version=1.21.5

src/main/java/com/legobmw99/allomancy/modules/powers/client/ClientEventHandler.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,7 @@ public static void onMouseInput(final InputEvent.MouseButton.Pre event) {
9999

100100

101101
@SubscribeEvent
102-
public static void onRenderLevelStage(final RenderLevelStageEvent event) {
103-
if (event.getStage() != RenderLevelStageEvent.Stage.AFTER_WEATHER) {
104-
return;
105-
}
102+
public static void onRenderLevelStage(final RenderLevelStageEvent.AfterWeather event) {
106103

107104
Minecraft mc = Minecraft.getInstance();
108105
Player player = mc.player;

src/main/java/com/legobmw99/allomancy/modules/powers/client/gui/MetalSelectScreen.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ public void render(GuiGraphics guiGraphics, int mx, int my, float partialTicks)
125125
int xdp = (int) ((xp - x) * mod + x);
126126
int ydp = (int) ((yp - y) * mod + y);
127127

128-
guiGraphics.blit(RenderPipelines.GUI_TEXTURED, METAL_ICONS[toMetalIndex(seg)], xdp - 8, ydp - 8, 0, 0, 16,
129-
16, 16, 16);
128+
guiGraphics.blit(RenderPipelines.GUI_TEXTURED_PREMULTIPLIED_ALPHA, METAL_ICONS[toMetalIndex(seg)],
129+
xdp - 8, ydp - 8, 0, 0, 16, 16, 16, 16);
130130

131131
}
132132
}
@@ -300,7 +300,7 @@ public static void registerPipeline(RegisterRenderPipelinesEvent event) {
300300
}
301301

302302
public static void registerPiP(RegisterPictureInPictureRenderersEvent event) {
303-
event.register(SelectionWheelRenderer::new);
303+
event.register(SelectionWheelState.class, SelectionWheelRenderer::new);
304304
}
305305
}
306306
}

0 commit comments

Comments
 (0)