
Nicholas Hammond
Members-
Posts
47 -
Joined
-
Last visited
Everything posted by Nicholas Hammond
-
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
I've stopped, but I've kept the code it already created -
My biome and dimension are registered correctly and work independently of each other. I can assign any biome to my custom dimension except the biome I created for it. My biome works if you add it manually (i.e. WorldEdit //setbiome) in both the Overworld and custom dimension. However, whenever I assign it to my dimension through the BiomeProvider it crashes (it's not my BiomeProvider that isn't working, I even used pre-made ones like SingleBiomeProvider and it didn't work). Any idea how I can fix this issue? I've literally been working on it all day. May I also add, if I create a superflat world mimicking the world-type of my dimension and assign it to the custom dimension, it works perfectly. crash-2020-06-08_23.41.48-client.txt BackroomsLevel0Biome.java Level0Dimension.java Level0ChunkGenerator.java Level0ModDimension.java
-
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
Well this part isnt actually coded with MCreator, it's my own code. Main point is however I don't understand why my dimension is crashing when I apply my biome (both of these elements were code by me) -
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
Most of my code is prewritten using MCreator. -
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
Like I converted my mod into a jar and went to my Minecraft Forge with world edit and I was able to convert a section of land into my custom biome without any crashes or anything and the debug menu showed I was inside of the biome -
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
Level0BiomeProvider.java -
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
I actually just did a test and found out that my biome is in fact registered and I think it may be an issue with the dimension trying to provide the biome -
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
From my understanding the crash report is saying there's an issue with my ambient music -
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
BackroomsLevel0Biome.java -
Custom biome causes game to crash
Nicholas Hammond replied to Nicholas Hammond's topic in Modder Support
My biome is registered and I even used the PlainsBiome() presets as a test, yet it still crashes. It doesn't crash when I use Biomes.PLAINS however, even though the code I used in my Biome should theoretically be the exact same as Biomes.PLAINS -
---- Minecraft Crash Report ---- // On the bright side, I bought you a teddy bear! Time: 6/8/20 3:03 PM Description: Unexpected error java.lang.NullPointerException: Unexpected error at net.minecraft.client.Minecraft.getAmbientMusicType(Minecraft.java:2016) ~[forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.audio.MusicTicker.tick(MusicTicker.java:23) ~[forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runTick(Minecraft.java:1407) ~[forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:904) ~[forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:384) ~[forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:128) ~[forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_251] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_251] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_251] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_251] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraft.client.Minecraft.getAmbientMusicType(Minecraft.java:2016) at net.minecraft.client.audio.MusicTicker.tick(MusicTicker.java:23) -- Affected level -- Details: All players: 1 total; [ClientPlayerEntity['Dev'/1, l='MpServer', x=-116.00, y=5.00, z=-56.50]] Chunk stats: Client Chunk Cache: 169, 10 Level dimension: DimensionType{backrooms:level_0} Level name: MpServer Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: {} Level spawn location: World: (-112,4,-64), Chunk: (at 0,0,0 in -7,-4; contains blocks -112,0,-64 to -97,255,-49), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 245 game time, 245 day time Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Server brand: forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.world.ClientWorld.fillCrashReport(ClientWorld.java:425) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:1824) at net.minecraft.client.Minecraft.run(Minecraft.java:405) at net.minecraft.client.main.Main.main(Main.java:128) 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:498) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) 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) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) -- System Details -- Details: Minecraft Version: 1.14.4 Minecraft Version ID: 1.14.4 Operating System: Mac OS X (x86_64) version 10.13.6 Java Version: 1.8.0_251, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1197590504 bytes (1142 MB) / 2127036416 bytes (2028 MB) up to 3817865216 bytes (3641 MB) CPUs: 8 JVM Flags: 1 total; -Xss1M ModLauncher: 4.1.0+62+5bfa59b ModLauncher launch target: fmluserdevclient ModLauncher naming: mcp ModLauncher services: /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE /forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-launcher.jar object_holder_definalize PLUGINSERVICE /forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-launcher.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-1.0.5-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-launcher.jar capability_inject_definalize PLUGINSERVICE /forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-launcher.jar runtimedistcleaner PLUGINSERVICE /forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-launcher.jar fml TRANSFORMATIONSERVICE FML: 28.2 Forge: net.minecraftforge:28.2.16 FML Language Providers: [email protected] minecraft@1 Mod List: client-extra.jar Minecraft {[email protected] DONE} forge-1.14.4-28.2.16_mapped_snapshot_20190719-1.14.3-recomp.jar Forge {[email protected] DONE} main Backrooms {[email protected] DONE} Launched Version: MOD_DEV LWJGL: 3.2.1 build 12 OpenGL: AMD Radeon R9 M370X OpenGL Engine GL version 2.1 ATI-1.68.20, ATI Technologies Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Resource Packs: Current Language: English (US) CPU: 8x Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
-
Eclipse Folder Not Showing in MDK
Nicholas Hammond replied to Yoshifan100's topic in Support & Bug Reports
When you did all this, did eclipse have your MDK file on the package explorer? Mine is blank and asks me to import a project even though I opened up the program using my project folder