Jump to content

The game crashed whilst initializing game


Rizkies

Recommended Posts

---- Minecraft Crash Report ---- // Don't do that. Time: 4/24/20 6:00 PM Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraft.client.Minecraft.func_213226_a(Minecraft.java:996) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:block_manipulation/MixinMinecraftClient_B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.MainWindow.func_198102_b(SourceFile:267) ~[?:?] {re:classloading} at net.minecraft.client.MainWindow$$Lambda$2035/2046967348.invoke(Unknown Source) ~[?:?] {} at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37) ~[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.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:98) ~[?:?] {re:classloading,re:mixin} at net.minecraft.client.MainWindow.func_227802_e_(SourceFile:301) ~[?:?] {re:classloading} at net.minecraftforge.fml.client.EarlyLoaderGUI.renderTick(EarlyLoaderGUI.java:79) ~[?:?] {re:classloading} at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2201/242596583.run(Unknown Source) ~[?:?] {} at net.minecraftforge.fml.ModLoader$$Lambda$2298/352938766.execute(Unknown Source) ~[?:?] {} at net.minecraftforge.fml.ModList.dispatchParallelEvent(ModList.java:136) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModList.lambda$static$2(ModList.java:98) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModList$$Lambda$2205/1331925151.dispatchEvent(Unknown Source) ~[?:?] {} at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) ~[?:?] {re:classloading} at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2118/626754729.run(Unknown Source) ~[?:?] {} at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2119/975724693.run(Unknown Source) ~[?:?] {} at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:block_manipulation/MixinMinecraftClient_B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(SourceFile:166) [?:?] {re:classloading} 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:56) [forge-1.15.2-31.1.48.jar:31.1] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$465/941403433.call(Unknown Source) [forge-1.15.2-31.1.48.jar:31.1] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraft.client.Minecraft.func_213226_a(Minecraft.java:996) at net.minecraft.client.MainWindow.func_198102_b(SourceFile:267) at net.minecraft.client.MainWindow$$Lambda$2035/2046967348.invoke(Unknown Source) at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:98) at net.minecraft.client.MainWindow.func_227802_e_(SourceFile:301) at net.minecraftforge.fml.client.EarlyLoaderGUI.renderTick(EarlyLoaderGUI.java:79) at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2201/242596583.run(Unknown Source) at net.minecraftforge.fml.ModLoader$$Lambda$2298/352938766.execute(Unknown Source) at net.minecraftforge.fml.ModList.dispatchParallelEvent(ModList.java:136) at net.minecraftforge.fml.ModList.lambda$static$2(ModList.java:98) at net.minecraftforge.fml.ModList$$Lambda$2205/1331925151.dispatchEvent(Unknown Source) at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71) at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197) at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2118/626754729.run(Unknown Source) at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2119/975724693.run(Unknown Source) at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) -- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(SourceFile:166) 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:56) at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$465/941403433.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) -- System Details -- Details: Minecraft Version: 1.15.2 Minecraft Version ID: 1.15.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: 7281234896 bytes (6943 MB) / 8589934592 bytes (8192 MB) up to 8589934592 bytes (8192 MB) CPUs: 12 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M ModLauncher: 5.0.0-milestone.4+67+b1a340b ModLauncher launch target: fmlclient ModLauncher naming: srg ModLauncher services: /eventbus-2.0.0-milestone.1-service.jar eventbus PLUGINSERVICE /forge-1.15.2-31.1.48.jar object_holder_definalize PLUGINSERVICE /forge-1.15.2-31.1.48.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-2.0.4-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.15.2-31.1.48.jar capability_inject_definalize PLUGINSERVICE /forge-1.15.2-31.1.48.jar runtimedistcleaner PLUGINSERVICE /forge-1.15.2-31.1.48.jar fml TRANSFORMATIONSERVICE /MixinBootstrap-1.0.3.jar mixinbootstrap TRANSFORMATIONSERVICE /MixinBootstrap-1.0.3.jar mixin PLUGINSERVICE /MixinBootstrap-1.0.3.jar mixinbootstrap PLUGINSERVICE FML: 31.1 Forge: net.minecraftforge:31.1.48 FML Language Providers: javafml@31.1 minecraft@1 kotlinforforge@1.2.1 Mod List: forge-1.15.2-31.1.48-client.jar Minecraft {minecraft@1.15.2 CREATE_REGISTRIES} inftrading_1.15.2-1.0.jar Infinite Trading {inftrading@1.0 CREATE_REGISTRIES} useful_backpacks-1.15.2-1.9.4.63.jar Useful Backpacks {usefulbackpacks@1.9.4.63 CREATE_REGISTRIES} AmbientSounds_v3.0.19_mc1.15.2.jar Ambient Sounds {ambientsounds@3.0.3 CREATE_REGISTRIES} torchslabmod-1.15.2_v1.6.8.jar Torch Slab Mod {torchslabmod@1.6.8 CREATE_REGISTRIES} valhelsia_structures-15.0.2a.jar Valhelsia Structures {valhelsia_structures@15.0.2a CREATE_REGISTRIES} GoodSkeletonDontStrafe-v1.1.2-1.15.1.jar Good Skeletons Don't Strafe {goodskeletonsdontstrafe@1.1.2 CREATE_REGISTRIES} jei-1.15.2-6.0.0.3.jar Just Enough Items {jei@6.0.0.3 CREATE_REGISTRIES} futuremc-1.15.2-1.0.0.jar Future MC {futuremc@1.15.2-1.0.0 CREATE_REGISTRIES} DoggyTalents-1.15.2-1.15.2.3.jar Doggy Talents {doggytalents@1.15.2.3 CREATE_REGISTRIES} extrabows-v1.15.2 b2.jar Extra Bows {extrabows@v1.15.2 b2 CREATE_REGISTRIES} Craftable Saddles [1.15.2]-1.3.jar Craftable Saddles {craftable_saddles@1.3 CREATE_REGISTRIES} Neat 1.6-20.jar Neat {neat@1.6-20 CREATE_REGISTRIES} CoffeeSpawner-1.15.1-6.0.0.jar Coffee Spawner {coffeespawner@1.15.1-6.0.0 CREATE_REGISTRIES} gravestone-1.17.3.jar Gravestone Mod {gravestone@1.17.3 CREATE_REGISTRIES} Clumps-5.0.2.jar Clumps {clumps@5.0.2 CREATE_REGISTRIES} performant-1.15-2.08m.jar Performant {performant@2.08m CREATE_REGISTRIES} obfuscate-0.4.2-1.15.2.jar Obfuscate {obfuscate@0.4.2 CREATE_REGISTRIES} vehicle-mod-0.43.5-1.15.2.jar MrCrayfish's Vehicle Mod {vehicle@0.43.5 CREATE_REGISTRIES} u_team_core-1.15.2-2.11.0.156.jar U Team Core {uteamcore@2.11.0.156 CREATE_REGISTRIES} furniture-7.0.0-pre16-1.15.1.jar MrCrayfish's Furniture Mod {cfm@7.0.0-pre16 CONSTRUCT} immersive-portals-0.16(forMc1.15withForge).jar Immersive Portals {immersive_portals@0.16 CREATE_REGISTRIES} XL-Food-Mod-1.15.2-2.2.2.jar XL Food Mod {xlfoodmod@2.2.2 CREATE_REGISTRIES} forge-1.15.2-31.1.48-universal.jar Forge {forge@31.1.48 CREATE_REGISTRIES} FastLeafDecay-v22.jar FastLeafDecay {fastleafdecay@v22 CREATE_REGISTRIES} quickhomes-1.15.2-1.2.5.jar QuickHomes {quickhomes@1.2.5 CREATE_REGISTRIES} Launched Version: forge-31.1.48 Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 1070 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, 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) CPU: 12x Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz

Link to comment
Share on other sites

Do you still have the issue without immersive portals installed?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/: 100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

[16:50:23] [main/INFO]: ModLauncher running: args [--username, Rizkies, --version, forge-31.1.50, --gameDir, C:\Users\Joey-PC\Twitch\Minecraft\Instances\1.15.2 survival, --assetsDir, C:\Users\Joey-PC\Twitch\Minecraft\Install\assets, --assetIndex, 1.15, --uuid, 4714085600f84cc8a454597e73834f17, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 2560, --height, 1440, --launchTarget, fmlclient, --fml.forgeVersion, 31.1.50, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20200414.225201]
[16:50:23] [main/INFO]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 1.8.0_51 by Oracle Corporation
[16:50:24] [main/INFO]: Added Lets Encrypt root certificates as additional trust
[16:50:24] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/C:/Users/Joey-PC/Twitch/Minecraft/Instances/1.15.2%20survival/mods/MixinBootstrap-1.0.3.jar Service=ModLauncher Env=CLIENT
[16:50:25] [main/INFO]: Successfully loaded Mixin Connector [com.qouteall.hiding_in_the_bushes.MyMixinConnector]
[16:50:25] [main/INFO]: Successfully loaded Mixin Connector [com.performant.coremod.mixin.Connector]
[16:50:25] [main/INFO]: Invoking Mixin Connector
[16:50:25] [main/ERROR]: Mixin config assets/immersive_portals/immersive_portals.mixins.json does not specify "minVersion" property
[16:50:25] [main/ERROR]: Mixin config assets/immersive_portals/immersive_portals.mixins_ma.json does not specify "minVersion" property
[16:50:25] [main/ERROR]: Mixin config assets/immersive_portals/immersive_portals.mixins_client.json does not specify "minVersion" property
[16:50:25] [main/ERROR]: Mixin config assets/immersive_portals/immersive_portals.mixins_ma_client.json does not specify "minVersion" property
[16:50:25] [main/INFO]: Launching target 'fmlclient' with arguments [--version, forge-31.1.50, --gameDir, C:\Users\Joey-PC\Twitch\Minecraft\Instances\1.15.2 survival, --assetsDir, C:\Users\Joey-PC\Twitch\Minecraft\Install\assets, --uuid, 4714085600f84cc8a454597e73834f17, --username, Rizkies, --assetIndex, 1.15, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 2560, --height, 1440]
[16:50:25] [main/INFO]: Performant configs loaded
[16:50:28] [Render thread/INFO]: Setting user: Rizkies
[16:50:33] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[16:50:35] [Render thread/WARN]: No data fixer registered for entity clumps:xp_orb_big
[16:50:35] [modloading-worker-2/INFO]: Forge mod loading, version 31.1.50, for MC 1.15.2 with MCP 20200414.225201
[16:50:35] [modloading-worker-2/INFO]: MinecraftForge v31.1.50 Initialized
[16:50:35] [modloading-worker-10/INFO]: Mod uteamcore is signed with a valid certificate.
[16:50:35] [modloading-worker-8/INFO]: Mod usefulbackpacks is signed with a valid certificate.
[16:50:36] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with ancient_debris
[16:50:36] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with ancient_debris_generates
[16:50:36] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with netherite
[16:50:36] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with smithing_table
[16:50:36] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with locate_biome_command
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:atv
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:dune_buggy
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:go_kart
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:shopping_cart
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:mini_bike
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:bumper_car
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:jet_ski
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:speed_boat
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:aluminum_boat
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:smart_car
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:lawn_mower
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:moped
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:sports_plane
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:golf_cart
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:off_roader
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:tractor
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:mini_bus
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:vehicle_trailer
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:storage_trailer
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:fluid_trailer
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:seeder
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:fertilizer
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:couch
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:bath
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity vehicle:sofacopter
[16:50:36] [modloading-worker-3/WARN]: No data fixer registered for entity jack
[16:50:37] [Render thread/INFO]: [net.minecraft.util.registry.Bootstrap:func_179870_a:103]: ---- Minecraft Crash Report ----
// Uh... Did I do that?

Time: 4/26/20 4:50 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at net.minecraft.client.Minecraft.func_213226_a(Minecraft.java:996) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:block_manipulation/MixinMinecraftClient_B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.MainWindow.func_198102_b(SourceFile:267) ~[?:?] {re:classloading}
    at net.minecraft.client.MainWindow$$Lambda$2019/1666456788.invoke(Unknown Source) ~[?:?] {}
    at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37) ~[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.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:105) ~[?:?] {re:classloading,re:mixin}
    at net.minecraft.client.MainWindow.func_227802_e_(SourceFile:301) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.EarlyLoaderGUI.renderTick(EarlyLoaderGUI.java:79) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2185/328246330.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.ModLoader$$Lambda$2282/1187741707.execute(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.ModList.dispatchParallelEvent(ModList.java:136) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModList.lambda$static$2(ModList.java:98) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModList$$Lambda$2189/437839498.dispatchEvent(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2102/807771233.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2103/869304868.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:block_manipulation/MixinMinecraftClient_B,pl:mixin:APP:assets/immersive_portals/immersive_portals.mixins_client.json:MixinMinecraftClient,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:166) [?:?] {re:classloading}
    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:56) [forge-1.15.2-31.1.50.jar:31.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$465/941403433.call(Unknown Source) [forge-1.15.2-31.1.50.jar:31.1] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.jar:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.client.Minecraft.func_213226_a(Minecraft.java:996)
    at net.minecraft.client.MainWindow.func_198102_b(SourceFile:267)
    at net.minecraft.client.MainWindow$$Lambda$2019/1666456788.invoke(Unknown Source)
    at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:105)
    at net.minecraft.client.MainWindow.func_227802_e_(SourceFile:301)
    at net.minecraftforge.fml.client.EarlyLoaderGUI.renderTick(EarlyLoaderGUI.java:79)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2185/328246330.run(Unknown Source)
    at net.minecraftforge.fml.ModLoader$$Lambda$2282/1187741707.execute(Unknown Source)
    at net.minecraftforge.fml.ModList.dispatchParallelEvent(ModList.java:136)
    at net.minecraftforge.fml.ModList.lambda$static$2(ModList.java:98)
    at net.minecraftforge.fml.ModList$$Lambda$2189/437839498.dispatchEvent(Unknown Source)
    at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71)
    at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197)
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2102/807771233.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2103/869304868.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:393)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:166)
    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:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$465/941403433.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)

-- System Details --
Details:
    Minecraft Version: 1.15.2
    Minecraft Version ID: 1.15.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: 1073274984 bytes (1023 MB) / 3456630784 bytes (3296 MB) up to 8589934592 bytes (8192 MB)
    CPUs: 12
    JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx9216m -Xms256m -XX:PermSize=256m
    ModLauncher: 5.1.0+69+master.79f13f7
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services:
        /eventbus-2.1.0-service.jar eventbus PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar object_holder_definalize PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar runtime_enum_extender PLUGINSERVICE
        /accesstransformers-2.1.1-shadowed.jar accesstransformer PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar capability_inject_definalize PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar runtimedistcleaner PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar fml TRANSFORMATIONSERVICE
        /MixinBootstrap-1.0.3.jar mixinbootstrap TRANSFORMATIONSERVICE
        /MixinBootstrap-1.0.3.jar mixin PLUGINSERVICE
        /MixinBootstrap-1.0.3.jar mixinbootstrap PLUGINSERVICE
    FML: 31.1
    Forge: net.minecraftforge:31.1.50
    FML Language Providers:
        javafml@31.1
        minecraft@1
        kotlinforforge@1.2.1
    Mod List:
        forge-1.15.2-31.1.50-client.jar Minecraft {minecraft@1.15.2 CREATE_REGISTRIES}
        inftrading_1.15.2-1.0.jar Infinite Trading {inftrading@1.0 CREATE_REGISTRIES}
        useful_backpacks-1.15.2-1.9.4.63.jar Useful Backpacks {usefulbackpacks@1.9.4.63 CREATE_REGISTRIES}
        AmbientSounds_v3.0.19_mc1.15.2.jar Ambient Sounds {ambientsounds@3.0.3 CREATE_REGISTRIES}
        torchslabmod-1.15.2_v1.6.8.jar Torch Slab Mod {torchslabmod@1.6.8 CREATE_REGISTRIES}
        valhelsia_structures-15.0.2a.jar Valhelsia Structures {valhelsia_structures@15.0.2a CREATE_REGISTRIES}
        GoodSkeletonDontStrafe-v1.1.2-1.15.1.jar Good Skeletons Don't Strafe {goodskeletonsdontstrafe@1.1.2 CREATE_REGISTRIES}
        jei-1.15.2-6.0.0.3.jar Just Enough Items {jei@6.0.0.3 CREATE_REGISTRIES}
        futuremc-1.15.2-1.0.0.jar Future MC {futuremc@1.15.2-1.0.0 CONSTRUCT}
        DoggyTalents-1.15.2-1.15.2.3.jar Doggy Talents {doggytalents@1.15.2.3 CREATE_REGISTRIES}
        extrabows-v1.15.2 b2.jar Extra Bows {extrabows@v1.15.2 b2 CREATE_REGISTRIES}
        Craftable Saddles [1.15.2]-1.3.jar Craftable Saddles {craftable_saddles@1.3 CREATE_REGISTRIES}
        Neat 1.6-20.jar Neat {neat@1.6-20 CREATE_REGISTRIES}
        CoffeeSpawner-1.15.1-6.0.0.jar Coffee Spawner {coffeespawner@1.15.1-6.0.0 CREATE_REGISTRIES}
        gravestone-1.17.3.jar Gravestone Mod {gravestone@1.17.3 CREATE_REGISTRIES}
        Clumps-5.0.2.jar Clumps {clumps@5.0.2 CREATE_REGISTRIES}
        performant-1.15-2.08m.jar Performant {performant@2.08m CREATE_REGISTRIES}
        obfuscate-0.4.2-1.15.2.jar Obfuscate {obfuscate@0.4.2 CREATE_REGISTRIES}
        vehicle-mod-0.43.5-1.15.2.jar MrCrayfish's Vehicle Mod {vehicle@0.43.5 CREATE_REGISTRIES}
        u_team_core-1.15.2-2.11.0.156.jar U Team Core {uteamcore@2.11.0.156 CREATE_REGISTRIES}
        furniture-7.0.0-pre16-1.15.1.jar MrCrayfish's Furniture Mod {cfm@7.0.0-pre16 CONSTRUCT}
        immersive-portals-0.16(forMc1.15withForge).jar Immersive Portals {immersive_portals@0.16 CREATE_REGISTRIES}
        XL-Food-Mod-1.15.2-2.2.2.jar XL Food Mod {xlfoodmod@2.2.2 CREATE_REGISTRIES}
        forge-1.15.2-31.1.50-universal.jar Forge {forge@31.1.50 CREATE_REGISTRIES}
        FastLeafDecay-v22.jar FastLeafDecay {fastleafdecay@v22 CREATE_REGISTRIES}
        quickhomes-1.15.2-1.2.5.jar QuickHomes {quickhomes@1.2.5 CREATE_REGISTRIES}
    Launched Version: forge-31.1.50
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce GTX 1070 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, 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)
    CPU: 12x Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[16:50:37] [Render thread/INFO]: [net.minecraft.util.registry.Bootstrap:func_179870_a:103]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Joey-PC\Twitch\Minecraft\Instances\1.15.2 survival\crash-reports\crash-2020-04-26_16.50.37-client.txt

Link to comment
Share on other sites

If you're saying "Yes I still have the issue without Immersive Portals installed", can you provide a log without immersive portals installed?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/: 100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

On 4/29/2020 at 1:17 AM, DaemonUmbra said:

If you're saying "Yes I still have the issue without Immersive Portals installed", can you provide a log without immersive portals installed?

[18:03:26] [main/INFO]: ModLauncher running: args [--username, Rizkies, --version, forge-31.1.50, --gameDir, C:\Users\Joey-PC\Twitch\Minecraft\Instances\1.15.2 survival, --assetsDir, C:\Users\Joey-PC\Twitch\Minecraft\Install\assets, --assetIndex, 1.15, --uuid, 4714085600f84cc8a454597e73834f17, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768, --launchTarget, fmlclient, --fml.forgeVersion, 31.1.50, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20200414.225201]
[18:03:26] [main/INFO]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 1.8.0_51 by Oracle Corporation
[18:03:26] [main/INFO]: Added Lets Encrypt root certificates as additional trust
[18:03:26] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/C:/Users/Joey-PC/Twitch/Minecraft/Instances/1.15.2%20survival/mods/MixinBootstrap-1.0.3.jar Service=ModLauncher Env=CLIENT
[18:03:27] [main/INFO]: Successfully loaded Mixin Connector [com.performant.coremod.mixin.Connector]
[18:03:27] [main/INFO]: Launching target 'fmlclient' with arguments [--version, forge-31.1.50, --gameDir, C:\Users\Joey-PC\Twitch\Minecraft\Instances\1.15.2 survival, --assetsDir, C:\Users\Joey-PC\Twitch\Minecraft\Install\assets, --uuid, 4714085600f84cc8a454597e73834f17, --username, Rizkies, --assetIndex, 1.15, --accessToken, ????????, --userType, mojang, --versionType, release, --width, 1024, --height, 768]
[18:03:27] [main/INFO]: Performant configs loaded
[18:03:29] [Render thread/INFO]: Setting user: Rizkies
[18:03:35] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 build 10
[18:03:36] [Render thread/WARN]: No data fixer registered for entity clumps:xp_orb_big
[18:03:36] [modloading-worker-13/INFO]: Mod usefulbackpacks is signed with a valid certificate.
[18:03:36] [modloading-worker-3/INFO]: Forge mod loading, version 31.1.50, for MC 1.15.2 with MCP 20200414.225201
[18:03:36] [modloading-worker-3/INFO]: MinecraftForge v31.1.50 Initialized
[18:03:36] [modloading-worker-2/INFO]: Mod uteamcore is signed with a valid certificate.
[18:03:37] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with ancient_debris
[18:03:37] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with ancient_debris_generates
[18:03:37] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with netherite
[18:03:37] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with smithing_table
[18:03:37] [modloading-worker-11/INFO]: [thedarkcolour.futuremc.config.Holder:category:27]: built with locate_biome_command
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:atv
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:dune_buggy
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:go_kart
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:shopping_cart
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:mini_bike
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:bumper_car
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:jet_ski
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:speed_boat
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:aluminum_boat
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:smart_car
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:lawn_mower
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:moped
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:sports_plane
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:golf_cart
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:off_roader
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:tractor
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:mini_bus
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:vehicle_trailer
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:storage_trailer
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:fluid_trailer
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:seeder
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:fertilizer
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:couch
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:bath
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity vehicle:sofacopter
[18:03:38] [modloading-worker-12/WARN]: No data fixer registered for entity jack
[18:03:39] [Render thread/INFO]: [net.minecraft.util.registry.Bootstrap:func_179870_a:103]: ---- Minecraft Crash Report ----
// There are four lights!

Time: 4/30/20 6:03 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at net.minecraft.client.Minecraft.func_213226_a(Minecraft.java:996) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.MainWindow.func_198102_b(SourceFile:267) ~[?:?] {re:classloading}
    at net.minecraft.client.MainWindow$$Lambda$2033/131553600.invoke(Unknown Source) ~[?:?] {}
    at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37) ~[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.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:105) ~[?:?] {re:classloading}
    at net.minecraft.client.MainWindow.func_227802_e_(SourceFile:301) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.EarlyLoaderGUI.renderTick(EarlyLoaderGUI.java:79) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2199/1340777656.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.ModLoader$$Lambda$2296/1387681307.execute(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.ModList.dispatchParallelEvent(ModList.java:136) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModList.lambda$static$2(ModList.java:98) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModList$$Lambda$2203/699449705.dispatchEvent(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2116/631436338.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2117/2130422201.run(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:393) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:166) [?:?] {re:classloading}
    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:56) [forge-1.15.2-31.1.50.jar:31.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$460/1275464847.call(Unknown Source) [forge-1.15.2-31.1.50.jar:31.1] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.jar:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.client.Minecraft.func_213226_a(Minecraft.java:996)
    at net.minecraft.client.MainWindow.func_198102_b(SourceFile:267)
    at net.minecraft.client.MainWindow$$Lambda$2033/131553600.invoke(Unknown Source)
    at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
    at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:105)
    at net.minecraft.client.MainWindow.func_227802_e_(SourceFile:301)
    at net.minecraftforge.fml.client.EarlyLoaderGUI.renderTick(EarlyLoaderGUI.java:79)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2199/1340777656.run(Unknown Source)
    at net.minecraftforge.fml.ModLoader$$Lambda$2296/1387681307.execute(Unknown Source)
    at net.minecraftforge.fml.ModList.dispatchParallelEvent(ModList.java:136)
    at net.minecraftforge.fml.ModList.lambda$static$2(ModList.java:98)
    at net.minecraftforge.fml.ModList$$Lambda$2203/699449705.dispatchEvent(Unknown Source)
    at net.minecraftforge.fml.LifecycleEventProvider.dispatch(LifecycleEventProvider.java:71)
    at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:197)
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:183)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$begin$2(ClientModLoader.java:97)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2116/631436338.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.lambda$createRunnableWithCatch$5(ClientModLoader.java:113)
    at net.minecraftforge.fml.client.ClientModLoader$$Lambda$2117/2130422201.run(Unknown Source)
    at net.minecraftforge.fml.client.ClientModLoader.begin(ClientModLoader.java:97)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:393)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:166)
    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:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$460/1275464847.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)

-- System Details --
Details:
    Minecraft Version: 1.15.2
    Minecraft Version ID: 1.15.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: 2269599920 bytes (2164 MB) / 3366453248 bytes (3210 MB) up to 8589934592 bytes (8192 MB)
    CPUs: 12
    JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx9216m -Xms256m -XX:PermSize=256m
    ModLauncher: 5.1.0+69+master.79f13f7
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services:
        /eventbus-2.1.0-service.jar eventbus PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar object_holder_definalize PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar runtime_enum_extender PLUGINSERVICE
        /accesstransformers-2.1.1-shadowed.jar accesstransformer PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar capability_inject_definalize PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar runtimedistcleaner PLUGINSERVICE
        /forge-1.15.2-31.1.50.jar fml TRANSFORMATIONSERVICE
        /MixinBootstrap-1.0.3.jar mixinbootstrap TRANSFORMATIONSERVICE
        /MixinBootstrap-1.0.3.jar mixin PLUGINSERVICE
        /MixinBootstrap-1.0.3.jar mixinbootstrap PLUGINSERVICE
    FML: 31.1
    Forge: net.minecraftforge:31.1.50
    FML Language Providers:
        javafml@31.1
        minecraft@1
        kotlinforforge@1.2.1
    Mod List:
        forge-1.15.2-31.1.50-client.jar Minecraft {minecraft@1.15.2 CREATE_REGISTRIES}
        performant-1.15-2.08m.jar Performant {performant@2.08m CREATE_REGISTRIES}
        inftrading_1.15.2-1.0.jar Infinite Trading {inftrading@1.0 CREATE_REGISTRIES}
        useful_backpacks-1.15.2-1.9.4.63.jar Useful Backpacks {usefulbackpacks@1.9.4.63 CREATE_REGISTRIES}
        obfuscate-0.4.2-1.15.2.jar Obfuscate {obfuscate@0.4.2 CREATE_REGISTRIES}
        AmbientSounds_v3.0.19_mc1.15.2.jar Ambient Sounds {ambientsounds@3.0.3 CREATE_REGISTRIES}
        torchslabmod-1.15.2_v1.6.8.jar Torch Slab Mod {torchslabmod@1.6.8 CREATE_REGISTRIES}
        u_team_core-1.15.2-2.11.0.156.jar U Team Core {uteamcore@2.11.0.156 CREATE_REGISTRIES}
        valhelsia_structures-15.0.2a.jar Valhelsia Structures {valhelsia_structures@15.0.2a CREATE_REGISTRIES}
        GoodSkeletonDontStrafe-v1.1.2-1.15.1.jar Good Skeletons Don't Strafe {goodskeletonsdontstrafe@1.1.2 CREATE_REGISTRIES}
        furniture-7.0.0-pre16-1.15.1.jar MrCrayfish's Furniture Mod {cfm@7.0.0-pre16 CONSTRUCT}
        vehicle-mod-0.43.5-1.15.2.jar MrCrayfish's Vehicle Mod {vehicle@0.43.5 CREATE_REGISTRIES}
        jei-1.15.2-6.0.0.3.jar Just Enough Items {jei@6.0.0.3 CREATE_REGISTRIES}
        futuremc-1.15.2-1.0.0.jar Future MC {futuremc@1.15.2-1.0.0 CONSTRUCT}
        DoggyTalents-1.15.2-1.15.2.3.jar Doggy Talents {doggytalents@1.15.2.3 CREATE_REGISTRIES}
        XL-Food-Mod-1.15.2-2.2.2.jar XL Food Mod {xlfoodmod@2.2.2 CREATE_REGISTRIES}
        extrabows-v1.15.2 b2.jar Extra Bows {extrabows@v1.15.2 b2 CREATE_REGISTRIES}
        forge-1.15.2-31.1.50-universal.jar Forge {forge@31.1.50 CREATE_REGISTRIES}
        Craftable Saddles [1.15.2]-1.3.jar Craftable Saddles {craftable_saddles@1.3 CREATE_REGISTRIES}
        FastLeafDecay-v22.jar FastLeafDecay {fastleafdecay@v22 CREATE_REGISTRIES}
        Neat 1.6-20.jar Neat {neat@1.6-20 CREATE_REGISTRIES}
        CoffeeSpawner-1.15.1-6.0.0.jar Coffee Spawner {coffeespawner@1.15.1-6.0.0 CREATE_REGISTRIES}
        gravestone-1.17.3.jar Gravestone Mod {gravestone@1.17.3 CREATE_REGISTRIES}
        Clumps-5.0.2.jar Clumps {clumps@5.0.2 CREATE_REGISTRIES}
        quickhomes-1.15.2-1.2.5.jar QuickHomes {quickhomes@1.2.5 CREATE_REGISTRIES}
    Launched Version: forge-31.1.50
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce GTX 1070 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, 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)
    CPU: 12x Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[18:03:39] [Render thread/INFO]: [net.minecraft.util.registry.Bootstrap:func_179870_a:103]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Joey-PC\Twitch\Minecraft\Instances\1.15.2 survival\crash-reports\crash-2020-04-30_18.03.39-client.txt

Link to comment
Share on other sites

Does anything change if you try the most recent version of Forge?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/: 100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.