• Posts

    • Minecraft Version: {1.15.2} Forge Version: {31.2.46 and 31.2.47} Logs: ---- Minecraft Crash Report ---- // I bet Cylons wouldn't have this problem. Time: 12/3/20 7:52 AM Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraft.client.renderer.color.ItemColors.func_199877_a(ItemColors.java:95) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at shadows.apotheosis.potion.PotionModuleClient.colors(PotionModuleClient.java:13) ~[?:3.3.8] {re:classloading} at net.minecraftforge.eventbus.ASMEventHandler_167_PotionModuleClient_colors_Item.invoke(.dynamic) ~[?:?] {} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-2.2.1-service.jar:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-2.2.1-service.jar:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168) ~[?:31.2] {re:classloading} at net.minecraftforge.fml.ModLoader.lambda$postEvent$31(ModLoader.java:260) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader$$Lambda$4332/1995042520.accept(Unknown Source) ~[?:?] {} at java.util.HashMap.forEach(HashMap.java:1280) ~[?:1.8.0_51] {} at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:218) ~[?:?] {re:classloading} at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:260) ~[?:?] {re:classloading} at net.minecraftforge.client.ForgeHooksClient.onItemColorsInit(ForgeHooksClient.java:212) ~[?:?] {re:classloading} at net.minecraft.client.renderer.color.ItemColors.func_186729_a(ItemColors.java:84) ~[?:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.(Minecraft.java:420) [?:?] {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:51) [forge-1.15.2-31.2.46.jar:31.2] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$436/2036302615.call(Unknown Source) [forge-1.15.2-31.2.46.jar:31.2] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.2.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.2.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.2.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.2.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.2.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.renderer.color.ItemColors.func_199877_a(ItemColors.java:95) at shadows.apotheosis.potion.PotionModuleClient.colors(PotionModuleClient.java:13) at net.minecraftforge.eventbus.ASMEventHandler_167_PotionModuleClient_colors_Item.invoke(.dynamic) at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168) at net.minecraftforge.fml.ModLoader.lambda$postEvent$31(ModLoader.java:260) at net.minecraftforge.fml.ModLoader$$Lambda$4332/1995042520.accept(Unknown Source) at java.util.HashMap.forEach(HashMap.java:1280) at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:218) at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:260) at net.minecraftforge.client.ForgeHooksClient.onItemColorsInit(ForgeHooksClient.java:212) at net.minecraft.client.renderer.color.ItemColors.func_186729_a(ItemColors.java:84) at net.minecraft.client.Minecraft.(Minecraft.java:420) -- 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:51) at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$436/2036302615.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: 1253158896 bytes (1195 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB) CPUs: 6 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: 5.1.2+70+master.2845bb9 ModLauncher launch target: fmlclient ModLauncher naming: srg ModLauncher services: /mixin-0.8.2.jar mixin PLUGINSERVICE /eventbus-2.2.1-service.jar eventbus PLUGINSERVICE /forge-1.15.2-31.2.46.jar object_holder_definalize PLUGINSERVICE /forge-1.15.2-31.2.46.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-2.1.3-shadowed.jar accesstransformer PLUGINSERVICE /forge-1.15.2-31.2.46.jar capability_inject_definalize PLUGINSERVICE /forge-1.15.2-31.2.46.jar runtimedistcleaner PLUGINSERVICE /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE /forge-1.15.2-31.2.46.jar fml TRANSFORMATIONSERVICE FML: 31.2 Forge: net.minecraftforge:31.2.46 FML Language Providers: javafml@31.2 minecraft@1 kotlinfml@1.5.2 Mod List: forge-1.15.2-31.2.46-client.jar Minecraft {minecraft@1.15.2 CREATE_REGISTRIES} FarmersDelight-1.15.2-0.2.3.jar Farmer's Delight {farmersdelight@1.15.2-0.2.3 CREATE_REGISTRIES} useful_backpacks-1.15.2-1.10.3.77.jar Useful Backpacks {usefulbackpacks@1.10.3.77 CREATE_REGISTRIES} BiomesOPlenty-1.15.2-10.0.0.366-universal.jar Biomes O' Plenty {biomesoplenty@1.15.2-10.0.0.366 CREATE_REGISTRIES} valhelsia_structures-15.0.3a.jar Valhelsia Structures {valhelsia_structures@15.0.3a CREATE_REGISTRIES} jei-1.15.2-6.0.3.15.jar Just Enough Items {jei@6.0.3.15 CREATE_REGISTRIES} masonry-1.15.2-0.3.4.jar Masonry {masonry@NONE CREATE_REGISTRIES} Druidcraft-1.15-0.4.45.jar Druidcraft {druidcraft@0.4.45 CREATE_REGISTRIES} the-conjurer-1.15.2-1.0.13.jar The Conjurer {conjurer_illager@1.0.13 CREATE_REGISTRIES} fishtraps-forge-1.15.2-0.0.5.jar Fish Traps {fishtraps@1.14.4-0.0.4 CREATE_REGISTRIES} Abnormals-Core-1.15.2-1.0.6.jar Abnormals Core {abnormals_core@1.0.6 CREATE_REGISTRIES} Bamboo-Blocks-1.15.2-1.4.1.jar Bamboo Blocks {bambooblocks@NONE CREATE_REGISTRIES} Enhanced-Mushrooms-1.15.2-v1.2.2.jar Enhanced Mushrooms {enhanced_mushrooms@$1.1.0 CREATE_REGISTRIES} strawgolem-1.15.2-1.9.jar Straw Golem {strawgolem@1.15.2-1.9 CREATE_REGISTRIES} Bloomful-1.15.2-1.4.1.jar Bloomful {bloomful@NONE CREATE_REGISTRIES} extraboats-1.3.6-1.15.2.jar Extra Boats {extraboats@1.3.6 CREATE_REGISTRIES} Einsteinslibrary-1.4_MC1.15.2.jar Einstein's Library {einsteins_library@1.4 CREATE_REGISTRIES} BetterCaves-1.15.2-1.0.jar YUNG's Better Caves {bettercaves@1.15.2-1.0 CREATE_REGISTRIES} Waystones_1.15.2-6.0.2.jar Waystones {waystones@6.0.2 CREATE_REGISTRIES} XaerosWorldMap_1.11.1_Forge_1.15.2.jar Xaero's World Map {xaeroworldmap@1.11.1 CREATE_REGISTRIES} autumnity-1.3.3-1.15.2.jar Autumnity {autumnity@1.3.3 CREATE_REGISTRIES} Placebo-1.15.2-3.1.0.jar Placebo {placebo@3.1.0 CREATE_REGISTRIES} comforts-FORGE-1.15.2-2.0.0.4.jar Comforts {comforts@FORGE-1.15.2-2.0.0.4 CREATE_REGISTRIES} AutoRegLib-1.5-40.jar AutoRegLib {autoreglib@1.5-40 CREATE_REGISTRIES} NaturesCompass-1.15.2-1.8.5.jar Nature's Compass {naturescompass@1.15.2-1.8.5 CREATE_REGISTRIES} lanterncolors-1.15.2-1.0.1.jar Lantern Colors {lanterncolors@1.15.2-1.0.1 CREATE_REGISTRIES} gemsnjewels-1.15.2-0.15.2.jar Gems & Jewels {gemsnjewels@0.13.1 CREATE_REGISTRIES} DungeonCrawl-1.15.2-2.2.1.jar Dungeon Crawl {dungeoncrawl@2.2.1 CREATE_REGISTRIES} AttainedDrops-1.15.2-6.0.7.jar Attained Drops {attained_drops@6.0.7 CREATE_REGISTRIES} The-Endergetic-Expansion-1.15.2-v1.3.2.jar The Endergetic Expansion {endergetic@1.3.2 CREATE_REGISTRIES} u_team_core-1.15.2-3.0.2.169.jar U Team Core {uteamcore@3.0.2.169 CREATE_REGISTRIES} Apotheosis-1.15.2-3.3.8.jar Apotheosis {apotheosis@3.3.8 CREATE_REGISTRIES} furniture-7.0.0-pre16-1.15.1.jar MrCrayfish's Furniture Mod {cfm@7.0.0-pre16 CREATE_REGISTRIES} bedspreads-FORGE-1.15.2-3.0.0.1.jar Bedspreads {bedspreads@FORGE-1.15.2-3.0.0.1 CREATE_REGISTRIES} venture-1.0.0-1.15.2.jar Venture {venture@1.0.0 CREATE_REGISTRIES} Hwyla-forge-1.10.8-B72_1.15.2.jar Waila {waila@version CREATE_REGISTRIES} RosysPlaceableItems-1.15.2-0.5.jar Rosy's Placeable Items Mod {rosysupdate@0.5 CREATE_REGISTRIES} UsefulSlime-1.0_MC1.15.2.jar Useful Slime {usefulslime@1.0 CREATE_REGISTRIES} Swamp-Expansion-1.15.2-1.7.3.jar Swamp Expansion {swampexpansion@NONE CREATE_REGISTRIES} Charm-1.15.2-1.5.9.jar Charm {charm@1.15.2-1.5.9 CREATE_REGISTRIES} Strange-1.15.2-1.0.0-beta.5.hotfix1.jar Strange {strange@1.15.2-1.0.0-beta.5 ERROR} forge-1.15.2-31.2.46-universal.jar Forge {forge@31.2.46 CREATE_REGISTRIES} Bountiful-1.15.2-3.1.2.jar Bountiful {bountiful@1.15.2-3.1.2 CREATE_REGISTRIES} structure-gel-api-1.15.2-1.1.0.jar Structure Gel API {structure_gel@1.1.0 CREATE_REGISTRIES} ExtendedNetherBackport-1.15.2-Beta-4.3.2.jar Extended Nether Backport {extendednether@4.3.2 CREATE_REGISTRIES} Launched Version: 1.15.2-forge-31.2.46 Backend library: LWJGL version 3.2.2 build 10 Backend API: GeForce GTX 1060 3GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 457.30, 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: 6x Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz Steps to Reproduce: Download the forge version Download all the mods listed Run it Description of issue: Every time I run Minecraft it crashes and this appears The game crashed whilst initializing game Error: java.lang.NullPointerException: Initializing game Exit Code: -1
    • Ok so I think I figured it out, with a simple foreach loop, but I still can't make it works 😑   I made this : @SubscribeEvent public static void onBlockBreakEvent(BlockEvent.BreakEvent e) { PlayerEntity playerIn = e.getPlayer(); Block block = e.getState().getBlock(); IWorld world = e.getWorld(); if (e.getState().getBlock() instanceof OreBlock) { int radius = 3; int baseX = e.getPos().getX() - radius; int baseY = e.getPos().getY() - radius; int baseZ = e.getPos().getZ() - radius; int finalX = e.getPos().getX() + radius; int finalY = e.getPos().getY() + radius; int finalZ = e.getPos().getZ() + radius; BlockPos firstPos = new BlockPos(baseX, baseY, baseZ); BlockPos secondPos = new BlockPos(finalX, finalY, finalZ); Stream<BlockPos> blockList = BlockPos.getAllInBox(firstPos, secondPos); for ( BlockPos pos : blockList.collect(Collectors.toList()) ) { if (world.getBlockState(pos).getBlock() == block) { world.destroyBlock(pos, true); } } } }  
    • Okkk, thanks, indeed it was a pain making a such loop 😅, I am trying to find how BlockPos.getAllInBox(...) works, but I don't fully understand Have you got any advice ? 😅   I mean, I found out how to create the Stream with the two positions, but how can I use the Stream it creates ?
  • Topics

  • Who's Online (See full list)