Jump to content

Recommended Posts

Posted

So, I got another crash error in RL Craft (Usually from over-rendering or generally doing too many things), but this time I can't fix it. Crash log; 

 

 

 

---- Minecraft Crash Report ----

WARNING: coremods are present:
  Inventory Tweaks Coremod (InventoryTweaks-1.64+dev.151.jar)
  TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)
  LibLoader (# LibLoader.jar)
  CreativePatchingLoader (CreativeCore_v1.9.90_mc1.12.2.jar)
  SSLoadingPlugin (SereneSeasons-1.12.2-1.2.18-universal.jar)
  ForgelinPlugin (Forgelin-1.8.4.jar)
  CoreMod (TickProfiler-1.12-0.0.10.jar)
  CorePlugin (ForgeEndertech-1.12.2-4.5.2.0-build.0459.jar)
  BaseMetals (BaseMetals-1.12.2.jar)
  Born in a Barn (Born In A Barn V1.8-1.12-1.1.jar)
  LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)
  llibrary (llibrary-core-1.0.11-1.12.2.jar)
  ItemPatchingLoader (ItemPhysic_Full_1.4.28_mc1.12.2.jar)
  PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)
  MMFMLCorePlugin (MultiMine-1.12.2.jar)
  Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.10-1.12.2.jar)
  LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)
  BetterFoliageLoader (BetterFoliage-MC1.12-2.2.0.jar)
  IvToolkit (IvToolkit-1.3.3-1.12.jar)
  LoadingPlugin (Reskillable-1.12.2-1.13.0.jar)
  WolfArmorCore (wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar)
  TNTUtilities Core (tnt_utilities-mc1.12-1.2.3.jar)
  LoadingPlugin (ChunkAnimator-MC1.12-1.2.jar)
Contact their authors BEFORE contacting forge

// Don't be sad, have a hug! <3

Time: 7/24/20 6:42 AM
Description: Ticking memory connection

java.lang.ArithmeticException: / by zero
    at codersafterdark.reskillable.api.data.PlayerSkillInfo.respec(PlayerSkillInfo.java:126)
    at codersafterdark.reskillable.api.data.PlayerSkillInfo.<init>(PlayerSkillInfo.java:32)
    at codersafterdark.reskillable.api.data.PlayerData.lambda$new$0(PlayerData.java:37)
    at codersafterdark.reskillable.api.data.PlayerData$$Lambda$2082/355137220.accept(Unknown Source)
    at com.google.common.collect.Maps$KeySet.lambda$forEach$0(Maps.java:3822)
    at com.google.common.collect.Maps$KeySet$$Lambda$410/1380715224.accept(Unknown Source)
    at com.google.common.collect.HashBiMap$Inverse.lambda$forEach$0(HashBiMap.java:693)
    at com.google.common.collect.HashBiMap$Inverse$$Lambda$1761/355031294.accept(Unknown Source)
    at com.google.common.collect.HashBiMap.forEach(HashBiMap.java:528)
    at com.google.common.collect.HashBiMap$Inverse.forEach(HashBiMap.java:693)
    at com.google.common.collect.Maps$KeySet.forEach(Maps.java:3822)
    at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)
    at codersafterdark.reskillable.api.data.PlayerData.<init>(PlayerData.java:37)
    at codersafterdark.reskillable.api.data.PlayerDataHandler.get(PlayerDataHandler.java:35)
    at codersafterdark.reskillable.api.data.PlayerDataHandler$EventHandler.onPlayerLogin(PlayerDataHandler.java:92)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_531_EventHandler_onPlayerLogin_PlayerLoggedInEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:575)
    at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:219)
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:255)
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:72)
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:205)
    at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)
    at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Thread.java:745)


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

-- Head --
Thread: Server thread
Stacktrace:
    at codersafterdark.reskillable.api.data.PlayerSkillInfo.respec(PlayerSkillInfo.java:126)
    at codersafterdark.reskillable.api.data.PlayerSkillInfo.<init>(PlayerSkillInfo.java:32)
    at codersafterdark.reskillable.api.data.PlayerData.lambda$new$0(PlayerData.java:37)
    at codersafterdark.reskillable.api.data.PlayerData$$Lambda$2082/355137220.accept(Unknown Source)
    at com.google.common.collect.Maps$KeySet.lambda$forEach$0(Maps.java:3822)
    at com.google.common.collect.Maps$KeySet$$Lambda$410/1380715224.accept(Unknown Source)
    at com.google.common.collect.HashBiMap$Inverse.lambda$forEach$0(HashBiMap.java:693)
    at com.google.common.collect.HashBiMap$Inverse$$Lambda$1761/355031294.accept(Unknown Source)
    at com.google.common.collect.HashBiMap.forEach(HashBiMap.java:528)
    at com.google.common.collect.HashBiMap$Inverse.forEach(HashBiMap.java:693)
    at com.google.common.collect.Maps$KeySet.forEach(Maps.java:3822)
    at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080)
    at codersafterdark.reskillable.api.data.PlayerData.<init>(PlayerData.java:37)
    at codersafterdark.reskillable.api.data.PlayerDataHandler.get(PlayerDataHandler.java:35)
    at codersafterdark.reskillable.api.data.PlayerDataHandler$EventHandler.onPlayerLogin(PlayerDataHandler.java:92)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_531_EventHandler_onPlayerLogin_PlayerLoggedInEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:575)
    at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:219)
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:255)
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:72)
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:205)
    at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)

-- Ticking connection --
Details:
    Connection: net.minecraft.network.NetworkManager@5933fc85
Stacktrace:
    at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
    Minecraft Version: 1.12.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: 886130424 bytes (845 MB) / 2471493632 bytes (2357 MB) up to 3008888832 bytes (2869 MB)
    JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx3228m -Xms256m -XX:PermSize=256m
    IntCache: cache: 1, tcache: 1, allocated: 12, tallocated: 94
    FML: MCP 9.42 Powered by Forge 14.23.5.2838 Optifine OptiFine_1.12.2_HD_U_F5 132 mods loaded, 132 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State  | ID                          | Version              | Source                                        | Signature                                |
    |:------ |:--------------------------- |:-------------------- |:--------------------------------------------- |:---------------------------------------- |
    | LCHIJA | minecraft                   | 1.12.2               | minecraft.jar                                 | None                                     |
    | LCHIJA | mcp                         | 9.42                 | minecraft.jar                                 | None                                     |
    | LCHIJA | FML                         | 8.0.99.99            | forge-1.12.2-14.23.5.2838.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge                       | 14.23.5.2838         | forge-1.12.2-14.23.5.2838.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | creativecoredummy           | 1.0.0                | minecraft.jar                                 | None                                     |
    | LCHIJA | itemphysic                  | 1.4.0                | minecraft.jar                                 | None                                     |
    | LCHIJA | ivtoolkit                   | 1.3.3-1.12           | minecraft.jar                                 | None                                     |
    | LCHIJA | foamfixcore                 | 7.7.4                | minecraft.jar                                 | None                                     |
    | LCHIJA | tnt_utilities_core          | 1.2.3                | minecraft.jar                                 | None                                     |
    | LCHIJA | forgeendertech              | 1.12.2-4.5.2.0       | ForgeEndertech-1.12.2-4.5.2.0-build.0459.jar  | None                                     |
    | LCHIJA | adhooks                     | 1.12.2-3.2.3.0       | AdHooks-1.12.2-3.2.3.0-build.0435.jar         | None                                     |
    | LCHIJA | advanced-fishing            | 1.3.3                | Advanced-Fishing-1.12.2-1.3.3.jar             | None                                     |
    | LCHIJA | aireducer                   | 0.1.3                | AIReducer-1.12.2-0.1.3.jar                    | None                                     |
    | LCHIJA | alcatrazcore                | 1.0.4                | alcatrazcore-1.0.4.jar                        | 3c2d6be715971d1ed58a028cdb3fae72987fc934 |
    | LCHIJA | antiqueatlas                | 4.6.3                | antiqueatlas-1.12.2-4.6.3.jar                 | None                                     |
    | LCHIJA | antiqueatlasoverlay         | 1.2                  | antiqueatlas-1.12.2-4.6.3.jar                 | None                                     |
    | LCHIJA | anvilpatch                  | 1.0.0                | anvilpatch-1.0.0.jar                          | None                                     |
    | LCHIJA | aquaculture                 | 1.6.8                | Aquaculture-1.12.2-1.6.8.jar                  | None                                     |
    | LCHIJA | carrots                     | 1.0.0b1              | carrotslib-mc1.12.2-1.0.0b1.jar               | None                                     |
    | LCHIJA | armorunder                  | 1.0.0                | armorunder-mc1.12.2-1.0.0.jar                 | None                                     |
    | LCHIJA | autoreglib                  | 1.3-32               | AutoRegLib-1.3-32.jar                         | None                                     |
    | LCHIJA | bacodifficulty              | 1.0.3                | BacoDifficulty-1.0.3.jar                      | None                                     |
    | LCHIJA | basemetals                  | 2.5.0-beta6          | BaseMetals-1.12.2.jar                         | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LCHIJA | battletowers                | 1.6.5                | BattleTowers-1.12.2.jar                       | None                                     |
    | LCHIJA | baubles                     | 1.5.2                | Baubles-1.12-1.5.2.jar                        | None                                     |
    | LCHIJA | baubleshud                  | 5.0.2                | BaublesHud-1.12.2-5.0.2.jar                   | None                                     |
    | LCHIJA | mujmajnkraftsbettersurvival | 1.4.1                | better_survival-1.4.1.jar                     | None                                     |
    | LCHIJA | bettercombatmod             | 1.5.6                | BetterCombat-1.12.2-1.5.6.jar                 | None                                     |
    | LCHIJA | forgelin                    | 1.8.4                | Forgelin-1.8.4.jar                            | None                                     |
    | LCHIJA | betterfoliage               | 2.2.0                | BetterFoliage-MC1.12-2.2.0.jar                | None                                     |
    | LCHIJA | bloodmoon                   | 1.5.3                | Bloodmoon-MC1.12.2-1.5.3.jar                  | d72e0dd57935b3e9476212aea0c0df352dd76291 |
    | LCHIJA | bnbgaminglib                | 2.17.6               | BNBGamingLib-1.12.2-2.17.6.jar                | None                                     |
    | LCHIJA | bountifulbaubles            | 0.0.1                | Bountiful Baubles-1.12.2-0.1.5.jar            | None                                     |
    | LCHIJA | campfire                    | 1.2                  | campfire-1.12-v1.2.jar                        | None                                     |
    | LCHIJA | carryon                     | 1.12.3               | CarryOn MC1.12.2 v1.12.3.jar                  | 55e88f24d04398481ae6f1ce76f65fd776f14227 |
    | LCHIJA | chunkanimator               | 1.2                  | ChunkAnimator-MC1.12-1.2.jar                  | None                                     |
    | LCHIJA | toughasnails                | 3.1.0.141            | ToughAsNails-1.12.2-3.1.0.141-universal.jar   | None                                     |
    | LCHIJA | comforts                    | 1.4.1.3              | comforts-1.12.2-1.4.1.3.jar                   | 2484ef4d131fdc0dca0647aa21b7b944ddb935a1 |
    | LCHIJA | reskillable                 | 1.12.2-1.13.0        | Reskillable-1.12.2-1.13.0.jar                 | None                                     |
    | LCHIJA | compatskills                | 1.12.2-1.17.0        | CompatSkills-1.12.2-1.17.0.jar                | None                                     |
    | LCHIJA | coralreef                   | 2.0                  | CoralReef-2.5-1.12.2.jar                      | None                                     |
    | LCHIJA | wearablebackpacks           | 3.1.4                | WearableBackpacks-1.12.2-3.1.4.jar            | None                                     |
    | LCHIJA | corpsecomplex               | 1.0.10.1             | corpsecomplex-1.12.2-1.0.10.1.jar             | 2484ef4d131fdc0dca0647aa21b7b944ddb935a1 |
    | LCHIJA | craftablechainmail          | 1.0                  | craftablechainmail-1.0.jar                    | None                                     |
    | LCHIJA | craftablehorsearmour        | 1.3                  | CraftableHorseArmour-1.3.0-1.12.jar           | None                                     |
    | LCHIJA | crafttweaker                | 4.1.20               | CraftTweaker2-1.12-4.1.20.jar                 | None                                     |
    | LCHIJA | ctgui                       | 1.0.0                | CraftTweaker2-1.12-4.1.20.jar                 | None                                     |
    | LCHIJA | jei                         | 4.15.0.291           | jei_1.12.2-4.15.0.291.jar                     | None                                     |
    | LCHIJA | crafttweakerjei             | 2.0.3                | CraftTweaker2-1.12-4.1.20.jar                 | None                                     |
    | LCHIJA | creativecore                | 1.9.9                | CreativeCore_v1.9.90_mc1.12.2.jar             | None                                     |
    | LCHIJA | custommainmenu              | 2.0.9.1              | CustomMainMenu-MC1.12.2-2.0.9.1.jar           | None                                     |
    | LCHIJA | defiledlands                | 1.4.3                | defiledlands-1.12.2-1.4.3.jar                 | None                                     |
    | LCHIJA | disenchanter                | 1.6                  | disenchanter-[1.12]1.6.jar                    | None                                     |
    | LCHIJA | divinerpg                   | 1.6.4.1              | DivineRPG-1.6.4.1.jar                         | None                                     |
    | LCHIJA | dldungeonsjbg               | 1.13.2               | DoomlikeDungeons-1.13.2-MC1.12.2.jar          | None                                     |
    | LCHIJA | reccomplex                  | 1.4.8.2              | RecurrentComplex-1.4.8.2.jar                  | None                                     |
    | LCHIJA | dynamictrees                | 1.12.2-0.9.7         | DynamicTrees-1.12.2-0.9.7.jar                 | None                                     |
    | LCHIJA | traverse                    | 1.6.0                | Traverse-1.12.2-1.6.0-69.jar                  | None                                     |
    | LCHIJA | dttraverse                  | 1.5                  | dttraverse-1.5.jar                            | None                                     |
    | LCHIJA | sereneseasons               | 1.2.18               | SereneSeasons-1.12.2-1.2.18-universal.jar     | None                                     |
    | LCHIJA | orelib                      | 3.6.0.1              | OreLib-1.12.2-3.6.0.1.jar                     | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCHIJA | dsurround                   | 3.6.1.0              | DynamicSurroundings-1.12.2-3.6.1.0.jar        | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCHIJA | enchdesc                    | 1.1.20               | EnchantmentDescriptions-1.12.2-1.1.20.jar     | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LCHIJA | enhancedvisuals             | 1.0                  | EnhancedVisuals_v1.2.7_mc1.12.2.jar           | None                                     |
    | LCHIJA | familiarfauna               | 1.0.11               | FamiliarFauna-1.12.2-1.0.11.jar               | None                                     |
    | LCHIJA | fbp                         | 2.4.1                | FancyBlockParticles-1.12.x-2.4.1.jar          | None                                     |
    | LCHIJA | firstaid                    | 1.6.13               | firstaid-1.6.14.jar                           | 7904c4e13947c8a616c5f39b26bdeba796500722 |
    | LCHIJA | foamfix                     | 0.10.10-1.12.2       | foamfix-0.10.10-1.12.2.jar                    | None                                     |
    | LCHIJA | foodexpansion               | 1.3                  | FoodExpansion1.3.3-1.12.2.jar                 | None                                     |
    | LCHIJA | tschipplib                  | 1.1.3                | TschippLib MC1.12.2 v1.1.3.jar                | None                                     |
    | LCHIJA | forgottenitems              | 1.2.1                | ForgottenItems MC1.12.2 v1.2.1.jar            | None                                     |
    | LCHIJA | friendlyendermite           | 1.0                  | FriendlyEndermite_v1.0.1_mc1.12.2.jar         | None                                     |
    | LCHIJA | globalgamerules             | 2.2                  | GlobalGameRules-1.12.2-2.2.7.jar              | None                                     |
    | LCHIJA | grapplemod                  | 1.12.2-v11.1         | grapplemod-v11.1-1.12.2.jar                   | None                                     |
    | LCHIJA | llibrary                    | 1.7.19               | llibrary-1.7.19-1.12.2.jar                    | b9f30a813bee3b9dd5652c460310cfcd54f6b7ec |
    | LCHIJA | iceandfire                  | 1.7.1                | iceandfire-1.7.1-1.12.2.jar                   | None                                     |
    | LCHIJA | infernalmobs                | 1.7.6                | InfernalMobs-1.12.2.jar                       | None                                     |
    | LCHIJA | inventorytweaks             | 1.64+dev.151.822d839 | InventoryTweaks-1.64+dev.151.jar              | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |
    | LCHIJA | iseedragons                 | 0.12                 | ISeeDragons-0.12.jar                          | None                                     |
    | LCHIJA | itlt                        | 1.0.0                | itlt-1.12.2-1.0.2.jar                         | None                                     |
    | LCHIJA | levelup2                    | ${version}           | Level Up! 2-1.1.23-1.12.jar                   | None                                     |
    | LCHIJA | loadingscreens              | 0.3.1                | LoadingScreens-1.12.2-0.3.1.jar               | None                                     |
    | LCHIJA | lostcities                  | 2.0.22               | lostcities-1.12-2.0.22.jar                    | None                                     |
    | LCHIJA | lostsouls                   | 1.1.4                | lostsouls-1.12-1.1.4.jar                      | None                                     |
    | LCHIJA | lycanitesmobs               | 2.0.7.1 - MC 1.12.2  | lycanitesmobs-1.12.2-2.0.7.1.jar              | None                                     |
    | LCHIJA | reborncore                  | 3.19.3.524           | RebornCore-1.12.2-3.19.3.524-universal.jar    | 8727a3141c8ec7f173b87aa78b9b9807867c4e6b |
    | LCHIJA | mainmenuscale               | 1.0                  | MainMenuScale-1.3.2.jar                       | None                                     |
    | LCHIJA | orespawn                    | 3.3.1                | MMD-OreSpawn-1.12.2.jar                       | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LCHIJA | mobends                     | 0.24                 | mobends-0.24_for_MC-1.12.jar                  | None                                     |
    | LCHIJA | mousetweaks                 | 2.10                 | MouseTweaks-2.10-mc1.12.2.jar                 | None                                     |
    | LCHIJA | multimine                   | 1.6.2                | MultiMine-1.12.2.jar                          | None                                     |
    | LCHIJA | neat                        | 1.4-17               | Neat 1.4-17.jar                               | None                                     |
    | LCHIJA | notreepunching              | 2.0.20               | notreepunching-2.0.20.jar                     | 3c2d6be715971d1ed58a028cdb3fae72987fc934 |
    | LCHIJA | potioncore                  | 1.9_for_1.12.2       | PotionCore-1.9_for_1.12.2.jar                 | None                                     |
    | LCHIJA | potionfingers               | r1.0-8               | PotionFingers-r1.0-8.jar                      | None                                     |
    | LCHIJA | qualitytools                | 1.0.7_for_1.12.2     | QualityTools-1.0.7_for_1.12.2.jar             | None                                     |
    | LCHIJA | realistictorches            | 2.1.1                | RealisticTorches-1.12.2-2.1.1.jar             | None                                     |
    | LCHIJA | resourceloader              | 1.5.3                | ResourceLoader-MC1.12.1-1.5.3.jar             | d72e0dd57935b3e9476212aea0c0df352dd76291 |
    | LCHIJA | rltweaker                   | 0.3.0                | RLTweaker-1.12.2-0.3.0.jar                    | None                                     |
    | LCHIJA | roguelike                   | 1.8.0                | RoguelikeDungeons-1.12.2-1.8.0.jar            | None                                     |
    | LCHIJA | roughtweaks                 | 1.0                  | roughTweaks0.2.4-1.12.2.jar                   | None                                     |
    | LCHIJA | ruins                       | 17.2                 | Ruins-1.12.2.jar                              | None                                     |
    | LCHIJA | silentlib                   | 3.0.13               | SilentLib-1.12.2-3.0.14+168.jar               | None                                     |
    | LCHIJA | scalinghealth               | 1.3.37               | ScalingHealth-1.12.2-1.3.42+147.jar           | None                                     |
    | LCHIJA | sit                         | v1.3                 | sit-1.12.2-v1.3.jar                           | None                                     |
    | LCHIJA | somanyenchantments          | 0.4.4                | So Many Enchantments V0.4.4.jar               | None                                     |
    | LCHIJA | soundfilters                | 0.12_for_1.12        | SoundFilters-0.12_for_1.12.jar                | None                                     |
    | LCHIJA | spartanweaponry             | beta 1.3.8           | SpartanWeaponry-1.12.2-beta-1.3.8.jar         | None                                     |
    | LCHIJA | spartanfire                 | 0.05                 | spartanfire-0.05.jar                          | None                                     |
    | LCHIJA | spartanshields              | 1.5.4                | SpartanShields-1.12.2-1.5.4.jar               | None                                     |
    | LCHIJA | spawnercontrol              | 1.6.3b               | SpawnerControl-1.6.3b.jar                     | None                                     |
    | LCHIJA | spectrite                   | 1.7.1                | spectrite-1.7.1.jar                           | 00119cfc089819bbcd2f9166a50c7f3df88ded78 |
    | LCHIJA | stg                         | 1.12.2-1.2.3         | stg-1.12.2-1.2.3.jar                          | None                                     |
    | LCHIJA | switchbow                   | 1.5.7                | switchbow-1.5.7.jar                           | None                                     |
    | LCHIJA | tammodized                  | 0.15.6               | TamModized-1.12.2.jar                         | None                                     |
    | LCHIJA | tanspit                     | 1.12.2-1.3           | tanspit-1.12.2-1.4.jar                        | None                                     |
    | LCHIJA | tickprofiler                | 1.12-0.0.10          | TickProfiler-1.12-0.0.10.jar                  | None                                     |
    | LCHIJA | tnt_utilities               | 1.2.3                | tnt_utilities-mc1.12-1.2.3.jar                | None                                     |
    | LCHIJA | toolbelt                    | 1.9.12               | ToolBelt-1.12.2-1.9.12.jar                    | None                                     |
    | LCHIJA | seltaks_weapon_pack         | 1.0.0                | TooManyWeapons_Mod_Gaia_Edition.jar           | None                                     |
    | LCHIJA | xat                         | 0.29.2               | Trinkets and Baubles-1.12.2-0.29.2.jar        | None                                     |
    | LCHIJA | trumpetskeleton             | 1.12-1.0.2.1         | trumpetskeleton-1.12-1.0.2.1.jar              | None                                     |
    | LCHIJA | tumbleweed                  | 1.12-0.4.7           | tumbleweed-1.12-0.4.7.jar                     | None                                     |
    | LCHIJA | variedcommodities           | 1.12.2               | VariedCommodities_1.12.2(21nov19).jar         | None                                     |
    | LCHIJA | voidcraft                   | 0.26.5               | VoidCraft-1.12.1-0.26.5.jar                   | None                                     |
    | LCHIJA | waystones                   | 4.1.0                | Waystones_1.12.2-4.1.0.jar                    | None                                     |
    | LCHIJA | wolfarmor                   | 3.4.1.1              | wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar | None                                     |
    | LCHIJA | xpfromharvest               | 1.1.0                | xpfromharvest-1.12.2-1.1.0.jar                | None                                     |
    | LCHIJA | xpbook                      | v1.1.4               | xptome-1.12.2-v1.1.4.jar                      | None                                     |
    | LCHIJA | dshuds                      | 3.6.0.0              | DynamicSurroundingsHuds-1.12.2-3.6.0.0.jar    | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCHIJA | phosphor-lighting           | 1.12.2-0.2.6         | phosphor-1.12.2-0.2.6+build50-universal.jar   | f0387d288626cc2d937daa504e74af570c52a2f1 |
    | LCHIJA | snowrealmagic               | 0.3.3                | SnowRealMagic-0.3.3.jar                       | None                                     |

    Loaded coremods (and transformers): 
Inventory Tweaks Coremod (InventoryTweaks-1.64+dev.151.jar)
  invtweaks.forge.asm.ContainerTransformer
TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)
  
LibLoader (# LibLoader.jar)
  
CreativePatchingLoader (CreativeCore_v1.9.90_mc1.12.2.jar)
  
SSLoadingPlugin (SereneSeasons-1.12.2-1.2.18-universal.jar)
  sereneseasons.asm.transformer.EntityRendererTransformer
  sereneseasons.asm.transformer.WorldTransformer
ForgelinPlugin (Forgelin-1.8.4.jar)
  
CoreMod (TickProfiler-1.12-0.0.10.jar)
  
CorePlugin (ForgeEndertech-1.12.2-4.5.2.0-build.0459.jar)
  
BaseMetals (BaseMetals-1.12.2.jar)
  
Born in a Barn (Born In A Barn V1.8-1.12-1.1.jar)
  com.chocohead.biab.BornInABarn
LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)
  lumien.bloodmoon.asm.ClassTransformer
llibrary (llibrary-core-1.0.11-1.12.2.jar)
  net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
  net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
ItemPatchingLoader (ItemPhysic_Full_1.4.28_mc1.12.2.jar)
  com.creativemd.itemphysic.ItemTransformer
PhosphorFMLLoadingPlugin (phosphor-1.12.2-0.2.6+build50-universal.jar)
  
MMFMLCorePlugin (MultiMine-1.12.2.jar)
  atomicstryker.multimine.common.fmlmagic.MMTransformer
Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.10-1.12.2.jar)
  pl.asie.foamfix.coremod.FoamFixTransformer
LoadingPlugin (ResourceLoader-MC1.12.1-1.5.3.jar)
  lumien.resourceloader.asm.ClassTransformer
BetterFoliageLoader (BetterFoliage-MC1.12-2.2.0.jar)
  mods.betterfoliage.loader.BetterFoliageTransformer
IvToolkit (IvToolkit-1.3.3-1.12.jar)
  
LoadingPlugin (Reskillable-1.12.2-1.13.0.jar)
  codersafterdark.reskillable.base.asm.ClassTransformer
WolfArmorCore (wolfarmor-1.12.2-3.4.1.1-UNIVERSAL-signed.jar)
  
TNTUtilities Core (tnt_utilities-mc1.12-1.2.3.jar)
  ljfa.tntutils.asm.ExplosionTransformer
LoadingPlugin (ChunkAnimator-MC1.12-1.2.jar)
  lumien.chunkanimator.asm.ClassTransformer
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    RebornCore: 
        Plugin Engine: 0
        RebornCore Version: 3.19.3.524
        Runtime Debofucsation 1
        RenderEngine: 1
    Profiler Position: N/A (disabled)
    Player Count: 1 / 8; [EntityPlayerMP['Duc_k'/192, l='Hohoho yhea', x=-3618.05, y=109.71, z=3637.48]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    OptiFine Version: OptiFine_1.12.2_HD_U_F5
    OptiFine Build: 20191204-141934
    Render Distance Chunks: 5
    Mipmaps: 1
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: Sildurs Vibrant Shaders v1.23 Medium.zip
    OpenGlVersion: 4.6.0 NVIDIA 442.80
    OpenGlRenderer: GeForce GTX 1070/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 12

 

 

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRandomChanceWithEnchantedBonusCondition constructor needs a Holder<Enchantment> and I am unable to use the getOrThrow() method on the custom enchantment declared in my mod's enchantments class. Here is what I have so far in the GLM:   protected void start(HolderLookup.Provider registries) { HolderLookup.RegistryLookup<Enchantment> registrylookup = registries.lookupOrThrow(Registries.ENCHANTMENT); LootItemRandomChanceWithEnchantedBonusCondition lootItemRandomChanceWithEnchantedBonusCondition = new LootItemRandomChanceWithEnchantedBonusCondition(0.0f, LevelBasedValue.perLevel(0.07f), registrylookup.getOrThrow(*enchantment here*)); this.add("nebu_from_deepslate", new AddItemModifier(new LootItemCondition[]{ LootItemBlockStatePropertyCondition.hasBlockStateProperties(Blocks.DEEPSLATE).build(), LootItemRandomChanceCondition.randomChance(0.25f).build(), lootItemRandomChanceWithEnchantedBonusCondition }, OrichalcumItems.NEBU.get())); }   Inserting Enchantments.[vanilla enchantment here] actually works but trying to declare an enchantment from my custom enchantments class as [mod enchantment class].[custom enchantment] does not work even though they are both a ResourceKey and are registered in Registries.ENCHANTMENT. Basically, how would I go about making it so that a custom enchantment declared as a ResourceKey<Enchantment> of value ResourceKey.create(Registries.ENCHANTMENT, ResourceLocation.fromNamespaceAndPath([modid], [name])), declared in a seperate enchantments class, can be used in the LootItemRandomChanceWithEnchantedBonusCondition constructor as a Holder? I can't use getOrThrow() because there is no level or block entity/entity in the start() method and it is running as datagen. It's driving me nuts.
    • Hi here is an update. I was able to fix the code so my mod does not crash Minecraft. Please understand that I am new to modding but I honestly am having a hard time understanding how anyone can get this to work without having extensive programming and debugging experience as well as searching across the Internet, multiple gen AI bots (claude, grok, openai), and examining source code hidden in the gradle directory and in various github repositories. I guess I am wrong because clearly there are thousands of mods so maybe I am just a newbie. Ok, rant over, here is a step by step summary so others can save the 3 days it took me to figure this out.   1. First, I am using forge 54.1.0 and Minecraft 1.21.4 2. I am creating a mod to add a shotgun to Minecraft 3. After creating the mod and compiling it, I installed the .jar file to the proper directory in Minecraft and used 1.21.4-forge-54.1.0 4. The mod immediately crashed with the error: Caused by: java.lang.NullPointerException: Item id not set 5. Using the stack trace, I determined that the Exception was being thrown from the net.minecraft.world.item.Item.Properties class 6. It seems that there are no javadocs for this class, so I used IntelliJ which was able to provide a decompiled version of the class, which I then examined to see the source of the error. Side question: Are there javadocs? 7. This method, specifically, was the culprit: protected String effectiveDescriptionId() {      return this.descriptionId.get(Objects.requireNonNull(this.id, "Item id not set"));  } 8. Now my quest was to determine how to set this.id. Looking at the same source file, I determined there was another method:  public Item.Properties setId(ResourceKey<Item> pId) {             this.id = pId;             return this;   } 9. So now, I need to figure out how to call setId(). This required working backwards a bit. Starting from the constructor, I stubbed out the variable p which is of type Item.Properties public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); Rather than putting this all on one line, I split it up for readability like this: private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); Here is was the missing function, setId(), which takes a type of ResourceKey<Item>. My next problem is that due to the apparent lack of documentation (I tried searching the docs on this site) I could not determine the full import path to ResourceKey. I did some random searching on the Internet and stumbled across a Github repository which gave two clues: import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; Then I created the rk variable like this: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); And now putting it all together in order: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); This compiled and the mod no longer crashes. I still have more to do on it, but hopefully this will save someone hours. I welcome any feedback and if I missed some obvious modding resource or tutorial that has this information. If not, I might suggest we add it somewhere for people trying to write a mod that doesn't crash. Thank you !!!  
    • I will keep adding to this thread with more information in case anyone can help, or at the very least I can keep my troubleshooting organized. I decided to downgrade to 54.1.0 in the hopes that this would fix the issue but it didn't. At least now I am on a "recommended" version. The crash report did confirm my earlier post that the Exception is coming from effectiveDescriptionId(). I'll continue to see if I can find a way to set the ID manually.   Caused by: java.lang.NullPointerException: Item id not set         at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item$Properties.effectiveDescriptionId(Item.java:465) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item.<init>(Item.java:111) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ShotgunItem.<init>(ShotgunItem.java:19) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ModItems.lambda$static$0(ModItems.java:15) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister$EventDispatcher.lambda$handleEvent      
    • It just randomly stop working after a rebooted my dedicated server PLEASE HELP!   com.google.gson   Failed to start the minecraft server com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $  
  • Topics

×
×
  • Create New...

Important Information

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