CoolMineman / Plant-In-A-Jar

Advanced micro-greenhouse fabric mod that can grow any kind of plant including trees.
GNU Lesser General Public License v3.0
2 stars 7 forks source link

1.19 #27

Open YukiKawaiiii opened 2 years ago

YukiKawaiiii commented 2 years ago

Hello, put the bucket in Jar was crash

Description: Rendering Block Entity

java.lang.NullPointerException: Cannot invoke "net.fabricmc.fabric.api.renderer.v1.Renderer.meshBuilder()" because "" is null at io.github.coolmineman.plantinajar.JarBlockEntityRenderer.renderFluid(JarBlockEntityRenderer.java:251) at io.github.coolmineman.plantinajar.JarBlockEntityRenderer.render(JarBlockEntityRenderer.java:119) at io.github.coolmineman.plantinajar.JarBlockEntityRenderer.method_3569(JarBlockEntityRenderer.java:44) at net.minecraft.class_824.method_23079(class_824.java:90) at net.minecraft.class_824.method_23081(class_824.java:79) at net.minecraft.class_824.method_3554(class_824.java:104) at net.minecraft.class_824.method_3555(class_824.java:79) at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.renderTileEntities(SodiumWorldRenderer.java:281) at net.minecraft.class_761.handler$cnl000$onRenderTileEntities(class_761.java:11613) at net.minecraft.class_761.method_22710(class_761.java:1363) at net.minecraft.class_757.method_3188(class_757.java:1039) at net.minecraft.class_757.method_3192(class_757.java:816) at net.minecraft.class_310.method_1523(class_310.java:1143) at net.minecraft.class_310.method_1514(class_310.java:734) at net.minecraft.client.main.Main.main(Main.java:237) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head -- Thread: Render thread Stacktrace: at io.github.coolmineman.plantinajar.JarBlockEntityRenderer.renderFluid(JarBlockEntityRenderer.java:251) at io.github.coolmineman.plantinajar.JarBlockEntityRenderer.render(JarBlockEntityRenderer.java:119) at io.github.coolmineman.plantinajar.JarBlockEntityRenderer.method_3569(JarBlockEntityRenderer.java:44) at net.minecraft.class_824.method_23079(class_824.java:90) at net.minecraft.class_824.method_23081(class_824.java:79) at net.minecraft.class_824.method_3554(class_824.java:104) at net.minecraft.class_824.method_3555(class_824.java:79) at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.renderTileEntities(SodiumWorldRenderer.java:281) at net.minecraft.class_761.handler$cnl000$onRenderTileEntities(class_761.java:11613) at net.minecraft.class_761.method_22710(class_761.java:1363) at net.minecraft.class_757.method_3188(class_757.java:1039)

-- Block Entity Details -- Details: Name: plantinajar:plant_jar // io.github.coolmineman.plantinajar.JarBlockEntity Block: Block{plantinajar:plant_jar} Block location: World: (3369,64,-393), Section: (at 9,0,7 in 210,4,-25; chunk contains blocks 3360,-64,-400 to 3375,319,-385), Region: (6,-1; contains chunks 192,-32 to 223,-1, blocks 3072,-64,-512 to 3583,319,-1) Block: Block{plantinajar:plant_jar} Block location: World: (3369,64,-393), Section: (at 9,0,7 in 210,4,-25; chunk contains blocks 3360,-64,-400 to 3375,319,-385), Region: (6,-1; contains chunks 192,-32 to 223,-1, blocks 3072,-64,-512 to 3583,319,-1) Stacktrace: at net.minecraft.class_824.method_3554(class_824.java:104) at net.minecraft.class_824.method_3555(class_824.java:79) at me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer.renderTileEntities(SodiumWorldRenderer.java:281) at net.minecraft.class_761.handler$cnl000$onRenderTileEntities(class_761.java:11613) at net.minecraft.class_761.method_22710(class_761.java:1363) at net.minecraft.class_757.method_3188(class_757.java:1039) at net.minecraft.class_757.method_3192(class_757.java:816) at net.minecraft.class_310.method_1523(class_310.java:1143) at net.minecraft.class_310.method_1514(class_310.java:734) at net.minecraft.client.main.Main.main(Main.java:237) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34)