Jade ๐Ÿ”

Jade ๐Ÿ”

93M Downloads

[1.19] Crash with new Forge fluid system

JaisDK opened this issue ยท 0 comments

commented

Mod loader

Forge

Minecraft version

1.19

Mod version

7.3.0

Modloader version

41.0.35

Modpack info

No response

If bug:

  • Can you reproduce this issue with relevant mods only?

If bug: The latest.log file

No response

Issue description

When looking at a fluid

[16Jun2022 19:24:25.525] [Render thread/ERROR] [net.minecraft.client.Minecraft/FATAL]: Unreported exception thrown!
java.lang.NoSuchMethodError: 'net.minecraftforge.fluids.FluidAttributes net.minecraft.world.level.material.Fluid.getAttributes()'
at snownee.jade.overlay.DisplayHelper.getStillFluidSprite(DisplayHelper.java:347) ~[jade-324717-3822958_mapped_official_1.19.jar%23101!/:7.2.0]
at snownee.jade.overlay.DisplayHelper.drawFluid(DisplayHelper.java:299) ~[jade-324717-3822958_mapped_official_1.19.jar%23101!/:7.2.0]
at snownee.jade.impl.ui.FluidStackElement.render(FluidStackElement.java:32) ~[jade-324717-3822958_mapped_official_1.19.jar%23101!/:7.2.0]
at snownee.jade.overlay.OverlayRenderer.renderOverlay(OverlayRenderer.java:148) ~[jade-324717-3822958_mapped_official_1.19.jar%23101!/:7.2.0]
at snownee.jade.overlay.OverlayRenderer.renderOverlay(OverlayRenderer.java:79) ~[jade-324717-3822958_mapped_official_1.19.jar%23101!/:7.2.0]
at snownee.jade.util.ClientPlatformProxy.onRenderTick(ClientPlatformProxy.java:106) ~[jade-324717-3822958_mapped_official_1.19.jar%23101!/:7.2.0]
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-6.0.0.jar%2310!/:?]
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-6.0.0.jar%2310!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-6.0.0.jar%2310!/:?]
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-6.0.0.jar%2310!/:?]
at net.minecraftforge.event.ForgeEventFactory.onRenderTickEnd(ForgeEventFactory.java:784) ~[forge-1.19-41.0.35_mapped_official_1.19-recomp.jar%2392%2399!/:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:1075) ~[forge-1.19-41.0.35_mapped_official_1.19-recomp.jar%2393!/:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:661) ~[forge-1.19-41.0.35_mapped_official_1.19-recomp.jar%2393!/:?]
at net.minecraft.client.main.Main.main(Main.java:205) ~[forge-1.19-41.0.35_mapped_official_1.19-recomp.jar%2393!/:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:25) ~[fmlloader-1.19-41.0.35.jar%230!/:?]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.1.jar%2311!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.1.jar%2311!/:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.1.jar%2311!/:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.1.jar%2311!/:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.1.jar%2311!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.1.jar%2311!/:?]
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.1.jar%2311!/:?]
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:155) [bootstraplauncher-1.1.0.jar:?]

You probably need to use RenderProperties.get(fluidStack.getFluid()).getStillTexture() instead