• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Here is the crash log:       ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 9/18/20 5:16 PM Description: mouseClicked event handler java.lang.IllegalStateException: Missing: ResourceKey[minecraft:worldgen/biome / good_nights_sleep:sleepy_hills]     at net.minecraft.util.registry.Registry.func_243576_d(Registry.java:434)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset.lambda$null$0(DreamBiomeProvider.java:229)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset$$Lambda$4375/38073174.get(Unknown Source)     at net.minecraft.world.biome.provider.BiomeProvider$$Lambda$4369/1149922560.apply(Unknown Source)     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)     at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)     at net.minecraft.world.biome.provider.BiomeProvider.<init>(SourceFile:38)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider.<init>(DreamBiomeProvider.java:100)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider.<init>(DreamBiomeProvider.java:90)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset.lambda$static$3(DreamBiomeProvider.java:236)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset$$Lambda$4374/1921332678.apply(Unknown Source)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset.func_242619_a(DreamBiomeProvider.java:250)     at net.minecraft.world.DimensionType.registerDream(SourceFile:540)     at net.minecraft.world.DimensionType.handler$zzb000$func_242718_a(SourceFile:531)     at net.minecraft.world.DimensionType.func_242718_a(SourceFile:176)     at net.minecraft.world.gen.settings.DimensionGeneratorSettings.func_242751_a(SourceFile:101)     at net.minecraft.client.gui.screen.CreateWorldScreen.func_243425_a(CreateWorldScreen.java:113)     at net.minecraft.client.gui.screen.WorldSelectionScreen.func_214326_e(SourceFile:54)     at net.minecraft.client.gui.screen.WorldSelectionScreen$$Lambda$4334/1987887398.onPress(Unknown Source)     at net.minecraft.client.gui.widget.button.Button.func_230930_b_(SourceFile:33)     at net.minecraft.client.gui.widget.button.AbstractButton.func_230982_a_(SourceFile:16)     at net.minecraft.client.gui.widget.Widget.func_231044_a_(Widget.java:136)     at net.minecraft.client.gui.INestedGuiEventHandler.func_231044_a_(SourceFile:27)     at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:87)     at net.minecraft.client.MouseHelper$$Lambda$4292/773749702.run(Unknown Source)     at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:425)     at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:85)     at net.minecraft.client.MouseHelper.lambda$null$4(MouseHelper.java:175)     at net.minecraft.client.MouseHelper$$Lambda$4291/305700980.run(Unknown Source)     at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(ThreadTaskExecutor.java:104)     at net.minecraft.client.MouseHelper.lambda$registerCallbacks$5(MouseHelper.java:174)     at net.minecraft.client.MouseHelper$$Lambda$3863/398675554.invoke(Unknown Source)     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)     at org.lwjgl.system.JNI.invokeV(Native Method)     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174)     at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:127)     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976)     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:584)     at net.minecraft.client.main.Main.main(Main.java:184)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51)     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$428/334099170.call(Unknown Source)     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)     at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)     at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace:     at net.minecraft.util.registry.Registry.func_243576_d(Registry.java:434)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset.lambda$null$0(DreamBiomeProvider.java:229)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset$$Lambda$4375/38073174.get(Unknown Source)     at net.minecraft.world.biome.provider.BiomeProvider$$Lambda$4369/1149922560.apply(Unknown Source)     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)     at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)     at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)     at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)     at net.minecraft.world.biome.provider.BiomeProvider.<init>(SourceFile:38)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider.<init>(DreamBiomeProvider.java:100)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider.<init>(DreamBiomeProvider.java:90)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset.lambda$static$3(DreamBiomeProvider.java:236)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset$$Lambda$4374/1921332678.apply(Unknown Source)     at com.legacy.goodnightsleep.world.biome_provider.DreamBiomeProvider$DreamPreset.func_242619_a(DreamBiomeProvider.java:250)     at net.minecraft.world.DimensionType.registerDream(SourceFile:540)     at net.minecraft.world.DimensionType.handler$zzb000$func_242718_a(SourceFile:531)     at net.minecraft.world.DimensionType.func_242718_a(SourceFile:176)     at net.minecraft.world.gen.settings.DimensionGeneratorSettings.func_242751_a(SourceFile:101)     at net.minecraft.client.gui.screen.CreateWorldScreen.func_243425_a(CreateWorldScreen.java:113)     at net.minecraft.client.gui.screen.WorldSelectionScreen.func_214326_e(SourceFile:54)     at net.minecraft.client.gui.screen.WorldSelectionScreen$$Lambda$4334/1987887398.onPress(Unknown Source)     at net.minecraft.client.gui.widget.button.Button.func_230930_b_(SourceFile:33)     at net.minecraft.client.gui.widget.button.AbstractButton.func_230982_a_(SourceFile:16)     at net.minecraft.client.gui.widget.Widget.func_231044_a_(Widget.java:136)     at net.minecraft.client.gui.INestedGuiEventHandler.func_231044_a_(SourceFile:27)     at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:87)     at net.minecraft.client.MouseHelper$$Lambda$4292/773749702.run(Unknown Source) -- Affected screen -- Details:     Screen name: net.minecraft.client.gui.screen.WorldSelectionScreen Stacktrace:     at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:425) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:85) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHelper.lambda$null$4(MouseHelper.java:175) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHelper$$Lambda$4291/305700980.run(Unknown Source) ~[?:?] {}     at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(ThreadTaskExecutor.java:104) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}     at net.minecraft.client.MouseHelper.lambda$registerCallbacks$5(MouseHelper.java:174) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}     at net.minecraft.client.MouseHelper$$Lambda$3863/398675554.invoke(Unknown Source) ~[?:?] {}     at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {}     at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {}     at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) ~[lwjgl-glfw-3.2.2.jar:build 10] {}     at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:127) ~[?:?] {re:classloading}     at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:584) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}     at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}     at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) [forge-1.16.2-33.0.61.jar:33.0] {}     at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$428/334099170.call(Unknown Source) [forge-1.16.2-33.0.61.jar:33.0] {}     at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-7.0.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-7.0.1.jar:?] {}     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-7.0.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-7.0.1.jar:?] {}     at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-7.0.1.jar:?] {} -- System Details -- Details:     Minecraft Version: 1.16.2     Minecraft Version ID: 1.16.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 666334240 bytes (635 MB) / 2013265920 bytes (1920 MB) up to 2147483648 bytes (2048 MB)     CPUs: 8     JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     ModLauncher: 7.0.1+78+master.e9771d8     ModLauncher launch target: fmlclient     ModLauncher naming: srg     ModLauncher services:          /mixin-0.8.jar mixin PLUGINSERVICE          /eventbus-3.0.3-service.jar eventbus PLUGINSERVICE          /forge-1.16.2-33.0.61.jar object_holder_definalize PLUGINSERVICE          /forge-1.16.2-33.0.61.jar runtime_enum_extender PLUGINSERVICE          /accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE          /forge-1.16.2-33.0.61.jar capability_inject_definalize PLUGINSERVICE          /forge-1.16.2-33.0.61.jar runtimedistcleaner PLUGINSERVICE          /mixin-0.8.jar mixin TRANSFORMATIONSERVICE          /OptiFine_1.16.2_HD_U_G3.jar OptiFine TRANSFORMATIONSERVICE          /forge-1.16.2-33.0.61.jar fml TRANSFORMATIONSERVICE      FML: 33.0     Forge: net.minecraftforge:33.0.61     FML Language Providers:          javafml@33.0         minecraft@1     Mod List:          forge-1.16.2-33.0.61-client.jar Minecraft {minecraft@1.16.2 DONE}         good-nights-sleep-1.16.2-1.2.1.jar Good Night's Sleep {good_nights_sleep@1.2.1 DONE}         forge-1.16.2-33.0.61-universal.jar Forge {forge@33.0.61 DONE}     Launched Version: 1.16.2-forge-33.0.61     Backend library: LWJGL version 3.2.2 build 10     Backend API: GeForce RTX 2070 SUPER/PCIe/SSE2 GL version 4.6.0 NVIDIA 452.06, NVIDIA Corporation     GL Caps: Using framebuffer using OpenGL 3.0     Using VBOs: Yes     Is Modded: Definitely; Client brand changed to 'forge'     Type: Client (map_client.txt)     Graphics mode: fancy     Resource Packs: mod_resources, vanilla, programer_art, file/Xray_Ultimate_1.16_v3.5.5 - Tech Reborn ores addes.zip (incompatible)     Current Language: English (US)     CPU: 8x Intel(R) Core(TM) i7-9700F CPU @ 3.00GHz     OptiFine Version: OptiFine_1.16.2_HD_U_G3     OptiFine Build: 20200829-104659     Render Distance Chunks: 16     Mipmaps: 4     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: BSL_v7.2.zip     OpenGlVersion: 4.6.0 NVIDIA 452.06     OpenGlRenderer: GeForce RTX 2070 SUPER/PCIe/SSE2     OpenGlVendor: NVIDIA Corporation     CpuCount: 8
    • In my mod I am changing the state of a large number of blocks every so often. I have noticed that with the greater number of blocks that I change the state, the laggier it gets. I'm currently calling world.setBlockState for every block I want to change. Is there a way I can batch block state updates to the world?
    • You have to set the correct render layer for your block with: RenderTypeLookup.setRenderLayer(your_block, RenderType.getTranslucent()); Note that this has to be set in your client setup event
    • I've been trying to make a block transparent and I've added a few methods like getOpacity, isTransparent, and isVariableOpacity, but I don't understand what's wrong. 
  • Topics

  • Who's Online (See full list)