GabrielOlvH / WirelessNetworks

Apache License 2.0
2 stars 7 forks source link

1.18.2 Crashes #21

Closed Drew-Chase closed 2 years ago

Drew-Chase commented 2 years ago

The mod works fine in 1.18.1 but for some reason not in 1.18.2

---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 4/3/22, 10:48 PM
Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'wirelessnetworks'!
    at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51)
    at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
    at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49)
    at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35)
    at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
    at net.minecraft.class_310.<init>(class_310.java:452)
    at net.minecraft.client.main.Main.main(Main.java:197)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/tool/attribute/v1/FabricToolTags
    at me.steven.wirelessnetworks.WirelessNetworks.<clinit>(WirelessNetworks.java:34)
    at java.base/java.lang.Class.forName0(Native Method)
    at java.base/java.lang.Class.forName(Class.java:467)
    at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50)
    at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117)
    at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)
    at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47)
    ... 19 more
Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.tool.attribute.v1.FabricToolTags
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:158)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
    ... 26 more

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

-- Head --
Thread: Render thread
Stacktrace:
    at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51)
    at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
    at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49)
    at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35)
    at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
    at net.minecraft.class_310.<init>(class_310.java:452)

-- Initialization --
Details:
    Modules: 
        ADVAPI32.dll:Advanced Windows 32 Base API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        COMCTL32.dll:User Experience Controls Library:6.10 (WinBuild.160101.0800):Microsoft Corporation
        CRYPT32.dll:Crypto API32:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        CRYPTBASE.dll:Base cryptographic API DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        CRYPTSP.dll:Cryptographic Service Provider API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        DBGHELP.DLL:Windows Image Helper:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        DNSAPI.dll:DNS Client API DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        GDI32.dll:GDI Client DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        IMM32.DLL:Multi-User Windows IMM32 API Client DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        IPHLPAPI.DLL:IP Helper API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        KERNEL32.DLL:Windows NT BASE API Client DLL:10.0.22000.434 (WinBuild.160101.0800):Microsoft Corporation
        KERNELBASE.dll:Windows NT BASE API Client DLL:10.0.22000.434 (WinBuild.160101.0800):Microsoft Corporation
        MpOav.dll:IOfficeAntiVirus Module:4.18.2202.4 (WinBuild.160101.0800):Microsoft Corporation
        NSI.dll:NSI User-mode interface DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        NTASN1.dll:Microsoft ASN.1 API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        Ole32.dll:Microsoft OLE for Windows:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        OleAut32.dll:OLEAUT32.DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        PSAPI.DLL:Process Status Helper:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        Pdh.dll:Windows Performance Data Helper DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        RPCRT4.dll:Remote Procedure Call Runtime:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        SHCORE.dll:SHCORE:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        SHELL32.dll:Windows Shell Common Dll:10.0.22000.184 (WinBuild.160101.0800):Microsoft Corporation
        UMPDC.dll:User Mode Power Dependency Coordinator:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        USER32.dll:Multi-User Windows USER API Client DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        USERENV.dll:Userenv:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        VCRUNTIME140.dll:Microsoft® C Runtime Library:14.29.30135.0 built by: vcwrkspc:Microsoft Corporation
        VERSION.dll:Version Checking and File Installation Libraries:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        WINHTTP.dll:Windows HTTP Services:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        WINMM.dll:MCI API DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        WS2_32.dll:Windows Socket 2.0 32-Bit DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        WSOCK32.dll:Windows Socket 32-Bit DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        amsi.dll:Anti-Malware Scan Interface:10.0.22000.120 (WinBuild.160101.0800):Microsoft Corporation
        bcrypt.dll:Windows Cryptographic Primitives Library:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        bcryptPrimitives.dll:Windows Cryptographic Primitives Library:10.0.22000.376 (WinBuild.160101.0800):Microsoft Corporation
        clbcatq.dll:COM+ Configuration Catalog:2001.12.10941.16384 (WinBuild.160101.0800):Microsoft Corporation
        combase.dll:Microsoft COM for Windows:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        dbgcore.DLL:Windows Core Debugging Helpers:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        dhcpcsvc.DLL:DHCP Client Service:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        dhcpcsvc6.DLL:DHCPv6 Client:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        fwpuclnt.dll:FWP/IPsec User-Mode API:10.0.22000.258 (WinBuild.160101.0800):Microsoft Corporation
        gdi32full.dll:GDI Client DLL:10.0.22000.527 (WinBuild.160101.0800):Microsoft Corporation
        java.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        javaw.exe:OpenJDK Platform binary:17.0.2.0:Microsoft
        jemalloc.dll
        jimage.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        jli.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        jna13387697020958866054.dll:JNA native library:6.1.2:Java(TM) Native Access (JNA)
        jsvml.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        jvm.dll:OpenJDK 64-Bit server VM:17.0.2.0:Microsoft
        kernel.appcore.dll:AppModel API Host:10.0.22000.71 (WinBuild.160101.0800):Microsoft Corporation
        lwjgl.dll
        management.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        management_ext.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        msvcp140.dll:Microsoft® C Runtime Library:14.29.30135.0 built by: vcwrkspc:Microsoft Corporation
        msvcp_win.dll:Microsoft® C Runtime Library:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        msvcrt.dll:Windows NT CRT DLL:7.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        mswsock.dll:Microsoft Windows Sockets 2.0 Service Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        napinsp.dll:E-mail Naming Shim Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        ncrypt.dll:Windows NCrypt Router:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        net.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        nio.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        ntdll.dll:NT Layer DLL:10.0.22000.434 (WinBuild.160101.0800):Microsoft Corporation
        perfos.dll:Windows System Performance Objects DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        pfclient.dll:SysMain Client:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        pnrpnsp.dll:PNRP Name Space Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        powrprof.dll:Power Profile Helper DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        profapi.dll:User Profile Basic API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        rasadhlp.dll:Remote Access AutoDial Helper:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        rsaenh.dll:Microsoft Enhanced Cryptographic Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        sechost.dll:Host for SCM/SDDL/LSA Lookup APIs:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        shlwapi.dll:Shell Light-weight Utility Library:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        sunmscapi.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        ucrtbase.dll:Microsoft® C Runtime Library:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        vcruntime140_1.dll:Microsoft® C Runtime Library:14.29.30135.0 built by: vcwrkspc:Microsoft Corporation
        verify.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
        win32u.dll:Win32u:10.0.22000.556 (WinBuild.160101.0800):Microsoft Corporation
        windows.storage.dll:Microsoft WinRT Storage API:10.0.22000.184 (WinBuild.160101.0800):Microsoft Corporation
        winrnr.dll:LDAP RnR Provider DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        wintypes.dll:Windows Base Types DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
        wshbth.dll:Windows Sockets Helper DLL:10.0.22000.41 (WinBuild.160101.0800):Microsoft Corporation
        zip.dll:OpenJDK Platform binary:17.0.2.0:Microsoft
Stacktrace:
    at net.minecraft.client.main.Main.main(Main.java:197)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)

-- System Details --
Details:
    Minecraft Version: 1.18.2
    Minecraft Version ID: 1.18.2
    Operating System: Windows 11 (amd64) version 10.0
    Java Version: 17.0.2, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Microsoft
    Memory: 2617438224 bytes (2496 MiB) / 3053453312 bytes (2912 MiB) up to 10737418240 bytes (10240 MiB)
    CPUs: 24
    Processor Vendor: AuthenticAMD
    Processor Name: AMD Ryzen 9 3900X 12-Core Processor            
    Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
    Microarchitecture: Zen 2
    Frequency (GHz): 3.79
    Number of physical packages: 1
    Number of physical CPUs: 12
    Number of logical CPUs: 24
    Graphics card #0 name: NVIDIA GeForce RTX 2060
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 4095.00
    Graphics card #0 deviceId: 0x1f08
    Graphics card #0 versionInfo: DriverVersion=30.0.15.1215
    Memory slot #0 capacity (MB): 16384.00
    Memory slot #0 clockSpeed (GHz): 2.40
    Memory slot #0 type: DDR4
    Memory slot #1 capacity (MB): 16384.00
    Memory slot #1 clockSpeed (GHz): 2.40
    Memory slot #1 type: DDR4
    Virtual memory max (MB): 37579.09
    Virtual memory used (MB): 26624.93
    Swap memory total (MB): 4864.00
    Swap memory used (MB): 48.31
    JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx10240m
    Fabric Mods: 
        blue_endless_jankson: jankson 1.2.1
        fabric: Fabric API 0.48.0+1.18.2
        fabric-api-base: Fabric API Base 0.4.4+d7c144a860
        fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.7+d7c144a860
        fabric-biome-api-v1: Fabric Biome API (v1) 8.0.3+801ec85b60
        fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.12+3ac43d9560
        fabric-command-api-v1: Fabric Command API (v1) 1.1.9+d7c144a860
        fabric-commands-v0: Fabric Commands (v0) 0.2.8+b4f4f6cd60
        fabric-containers-v0: Fabric Containers (v0) 0.1.21+d7c144a860
        fabric-content-registries-v0: Fabric Content Registries (v0) 3.0.2+d82b939260
        fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.11+3ac43d9560
        fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.17+2540745460
        fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.8+d7c144a860
        fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.19+d7c144a860
        fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.13+d7c144a860
        fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.13+d7c144a860
        fabric-item-api-v1: Fabric Item API (v1) 1.3.3+691a79b560
        fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.10+3ac43d9560
        fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.12+54e5b2ec60
        fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.10+b4f4f6cd60
        fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.0.2+2540745460
        fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.11+d7c144a860
        fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.0.4+d1027f7d60
        fabric-models-v0: Fabric Models (v0) 0.3.6+d7c144a860
        fabric-networking-api-v1: Fabric Networking API (v1) 1.0.21+d882b91560
        fabric-networking-v0: Fabric Networking (v0) 0.3.8+b4f4f6cd60
        fabric-object-builder-api-v1: Fabric Object Builder API (v1) 2.0.3+40c91ec860
        fabric-particles-v1: Fabric Particles (v1) 0.2.12+526dc1ac60
        fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.8+0d9ab37260
        fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.13+d882b91560
        fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.17+d8c7b9ae60
        fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.11+b4f4f6cd60
        fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.7+d7c144a860
        fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 2.0.2+54e5b2ec60
        fabric-rendering-v0: Fabric Rendering (v0) 1.1.13+b4f4f6cd60
        fabric-rendering-v1: Fabric Rendering (v1) 1.10.7+54e5b2ec60
        fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.2+d1027f7d60
        fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.18+2de5574560
        fabric-screen-api-v1: Fabric Screen API (v1) 1.0.10+d882b91560
        fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.14+40c91ec860
        fabric-textures-v0: Fabric Textures (v0) 1.0.12+3ac43d9560
        fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.14+cca23f9360
        fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.0.0+40c91ec860
        fabricloader: Fabric Loader 0.13.3
        jankson: Jankson 4.0.0+j1.2.0
        java: OpenJDK 64-Bit Server VM 17
        libgui: LibGui 5.0.0+1.18
        libninepatch: LibNinePatch 1.1.0
        minecraft: Minecraft 1.18.2
        team_reborn_energy: Energy 2.0.0-beta1
        wirelessnetworks: Wireless Networks 1.4.1
    Launched Version: MultiMC5
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: Unknown
    Window size: <not initialized>
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: <disabled>
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fabric'
    Type: Client (map_client.txt)
    CPU: <unknown>

The issue seems to be because of

public static final Block NODE_BLOCK = new NetworkBlock(FabricBlockSettings.of(Material.METAL).strength(2f).breakByTool(FabricToolTags.PICKAXES, 2).nonOpaque());

Fabric no longer supports the

breakByTool(FabricToolTags.PICKAXES, 2)

on line 34 of the WirelessNetworks.java file the Tool type instead needs to be in the json for the block