Carpenter's Blocks

Carpenter's Blocks

24M Downloads

Crash with Routable Fluids and Flux goo...

Gorgok opened this issue ยท 3 comments

commented

Flux goo landed on my roof, caused crash until routable fluids turned off, then was able to find and remove goo. Could we have a white/black list of fluids to do the routable thing on, if some things are sensitive like this?

Haven't checked if some of the other mods mentioned in the crash are required for it to crash with that cause.

java.lang.NullPointerException: Unexpected error
at net.minecraft.block.BlockLiquid.REPLACED_getFlowDirection(BlockLiquid.java:463)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at farseek.util.Reflection$MethodValue$.apply$extension(Reflection.scala:59)
at farseek.core.ReplacedMethod.apply(MethodReplacer.scala:105)
at streams.block.BlockLiquidExtensions$.getFlowDirection(BlockLiquidExtensions.scala:22)
at streams.block.BlockLiquidExtensions.getFlowDirection(BlockLiquidExtensions.scala)
at net.minecraft.block.BlockLiquid.func_149802_a(BlockLiquid.java)
at com.carpentersblocks.renderer.helper.RoutableFluidsHelper.renderLiquidSurface(RoutableFluidsHelper.java:180)
at com.carpentersblocks.renderer.helper.RoutableFluidsHelper.render(RoutableFluidsHelper.java:93)
at com.carpentersblocks.renderer.BlockHandlerBase.renderWorldBlock(BlockHandlerBase.java:132)
at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:118)
at FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:53)
at net.minecraft.client.renderer.RenderBlocks.func_147805_b(RenderBlocks.java:296)
at net.minecraft.client.renderer.WorldRenderer.func_147892_a(WorldRenderer.java:181)
at fastcraft.a.o.a(F:101)
at fastcraft.Hooks.t(F:147)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1187)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1011)
at net.minecraft.client.Minecraft.func_71411_J(Unknown Source)
at net.minecraft.client.Minecraft.func_99999_d(Unknown Source)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

commented

Well at least it shows why it crashed: REPLACE_'d methods are likely to have problems. I'd be more concerned with whatever mod feels the need to modify vanilla flow code.

commented

That would probably be streams http://minecraft.curseforge.com/mc-mods/229769-streams, which is what the farseek api is supporting. Its quite neat, though I havent actually seen if its 'flowing' blocks have an issue with routable fluids. Should test that too i guess.

commented

Just tried it, it is a neat mod. It didn't seem to crash with water, so it might be something related to the flux.