Jump to content

Forge 1.19 - 41.1.0 crashes on startup / Bad local variable type


Sorrat

Recommended Posts

probably some mod when

I start without any mod, it works normally
but would they have a solution?

The game crashed whilst initializing game Error: java.lang.VerifyError: Bad local variable type

---- Minecraft Crash Report ----
// My bad.

Time: 13/08/2022 22:01
Description: Initializing game

java.lang.VerifyError: Bad local variable type
Exception Details:
  Location:
    net/minecraft/client/gui/Gui.m_93028_(Lcom/mojang/blaze3d/vertex/PoseStack;)V @211: iload
  Reason:
    Type float (current frame, locals[12]) is not assignable to integer
  Current Frame:
    bci: @211
    flags: { }
    locals: { 'net/minecraft/client/gui/Gui', 'com/mojang/blaze3d/vertex/PoseStack', 'java/util/Collection', integer, integer, 'net/minecraft/client/resources/MobEffectTextureManager', 'java/util/ArrayList', 'java/util/Iterator', 'net/minecraft/world/effect/MobEffectInstance', 'net/minecraft/world/effect/MobEffect', integer, integer, float }
    stack: { }
  Bytecode:
    0000000: 2ab4 0089 b401 23b6 0372 4d2c b903 7501
    0000010: 009a 0021 2ab4 0089 b403 793a 0419 04c1
    0000020: 037b 9900 1119 04c0 037b 4e2d b603 7e99
    0000030: 0004 b1b8 00ec 033e 0336 042a b400 89b6
    0000040: 0382 3a05 2cb9 0289 0100 b803 883a 0603
    0000050: b203 8db8 01a2 b803 93b6 0396 2cb6 039a
    0000060: b903 9e01 003a 0719 07b9 03a3 0100 9901
    0000070: 3d19 07b9 03a6 0100 c003 a83a 0819 08b6
    0000080: 03ac 3a09 1908 b603 af99 011f 2ab4 00de
    0000090: 360a 0436 0b2a b400 89b6 01ef 9900 0684
    00000a0: 0b0f 1909 b603 b499 0012 8403 0115 0a10
    00000b0: 191d 6864 360a a700 1384 0401 150a 1019
    00000c0: 1504 6864 360a 840b 1a0c 0c0c 0cb8 00ff
    00000d0: 0c38 0c15 0c15 0d15 0415 0519 0ab8 03ba
    00000e0: 032e 360c 150c 150d 1504 1505 190a b803
    00000f0: ba04 2e36 0d19 08b6 03bd 9900 192a 2b15
    0000100: 0a15 0b11 00a5 1100 a610 1810 18b6 0327
    0000110: a700 6c2a 2b15 0a15 0b11 008d 1100 a610
    0000120: 1810 18b6 0327 1908 b603 c011 00c8 a300
    0000130: 4e10 0a19 08b6 03c0 1014 6c64 360d 1908
    0000140: b603 c086 1301 e66e 1233 6e13 0107 6a0b
    0000150: 1301 07b8 03c3 1908 b603 c086 1303 c46a
    0000160: 1233 6eb8 03c7 150d 8613 01e6 6e13 03c8
    0000170: 6a0b 1303 c8b8 03c3 6a62 380c 1905 1909
    0000180: b603 ce3a 0d15 0a36 0e15 0b36 0f17 0c38
    0000190: 1019 062a 190d 1710 2b15 0e15 0fba 03d8
    00001a0: 0000 b903 dc02 0057 a7fe bf19 06ba 03e9
    00001b0: 0000 b903 ed02 000c 0c0c 0cb8 00ff b1  
  Stackmap Table:
    append_frame(@50,Object[#646])
    append_frame(@51,Top,Object[#1015])
    full_frame(@103,{Object[#2],Object[#517],Object[#646],Integer,Integer,Object[#970],Object[#1017],Object[#928]},{})
    full_frame(@162,{Object[#2],Object[#517],Object[#646],Integer,Integer,Object[#970],Object[#1017],Object[#928],Object[#936],Object[#945],Integer,Integer},{})
    same_frame(@185)
    same_frame(@201)
    append_frame(@275,Integer,Integer)
    full_frame(@380,{Object[#2],Object[#517],Object[#646],Integer,Integer,Object[#970],Object[#1017],Object[#928],Object[#936],Object[#945],Integer,Integer,Top,Integer},{})
    full_frame(@424,{Object[#2],Object[#517],Object[#646],Integer,Integer,Object[#970],Object[#1017],Object[#928],Object[#936],Object[#945]},{})
    chop_frame(@427,2)

    at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.<init>(Minecraft.java:586)
    at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:198)
    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 MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
    at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)


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

-- Head --
Thread: Render thread
Stacktrace:
    at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.<init>(Minecraft.java:586)

-- Initialization --
Details:
    Modules: 
        ADVAPI32.dll:API de base do Windows 32 avançada:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        COMCTL32.dll:Biblioteca de Controles de Experiência do Usuário:6.10 (WinBuild.160101.0800):Microsoft Corporation
        CRYPT32.dll:Crypto API32:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        CRYPTBASE.dll:Base cryptographic API DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        CRYPTSP.dll:Cryptographic Service Provider API:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        ColorAdapterClient.dll:Microsoft Color Adapter Client:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        CoreMessaging.dll:Microsoft CoreMessaging Dll:10.0.19041.746:Microsoft Corporation
        CoreUIComponents.dll:Microsoft Core UI Components Dll:10.0.19041.546:Microsoft Corporation
        DBGHELP.DLL:Windows Image Helper:10.0.19041.867 (WinBuild.160101.0800):Microsoft Corporation
        DEVOBJ.dll:Device Information Set DLL:10.0.19041.1620 (WinBuild.160101.0800):Microsoft Corporation
        DNSAPI.dll:DLL da API de cliente DNS:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        GDI32.dll:GDI Client DLL:10.0.19041.1620 (WinBuild.160101.0800):Microsoft Corporation
        GLU32.dll:DLL da biblioteca de utilitários OpenGL:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        IMM32.DLL:Multi-User Windows IMM32 API Client DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        IPHLPAPI.DLL:API de Auxiliar de IP:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        KERNEL32.DLL:DLL cliente da API BASE do Windows NT:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        KERNELBASE.dll:DLL cliente da API BASE do Windows NT:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        MMDevApi.dll:API do MMDevice:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        MSCTF.dll:DLL de servidor MSCTF:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        MpOav.dll:IOfficeAntiVirus Module:4.18.2205.7 (WinBuild.160101.0800):Microsoft Corporation
        NLAapi.dll:Network Location Awareness 2:10.0.19041.1151 (WinBuild.160101.0800):Microsoft Corporation
        NSI.dll:NSI User-mode interface DLL:10.0.19041.610 (WinBuild.160101.0800):Microsoft Corporation
        NTASN1.dll:Microsoft ASN.1 API:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
        Ole32.dll:Microsoft OLE para Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        OleAut32.dll:OLEAUT32.DLL:10.0.19041.985 (WinBuild.160101.0800):Microsoft Corporation
        OpenAL.dll:Main implementation library:1.21.1:
        PROPSYS.dll:Sistema de Propriedades  Microsoft:7.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        PSAPI.DLL:Process Status Helper:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        Pdh.dll:DLL auxiliar de dados de desempenho do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        RPCRT4.dll:Tempo de Execução da Chamada de Procedimento Remoto:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        SETUPAPI.dll:API de instalação do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        SHCORE.dll:SHCORE:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        SHELL32.dll:DLL comum do Shell do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        UMPDC.dll
        USER32.dll:DLL de cliente API de usuário Windows para multiusuários:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        USERENV.dll:Userenv:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        VCRUNTIME140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation
        VERSION.dll:Version Checking and File Installation Libraries:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        WINHTTP.dll:Windows HTTP Services:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        WINMM.dll:MCI API DLL:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        WINSTA.dll:Winstation Library:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        WINTRUST.dll:Microsoft Trust Verification APIs:10.0.19041.1865 (WinBuild.160101.0800):Microsoft Corporation
        WS2_32.dll:DLL de 32 bits do Windows Socket 2.0:10.0.19041.1081 (WinBuild.160101.0800):Microsoft Corporation
        WSOCK32.dll:Windows Socket 32-Bit DLL:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        WTSAPI32.dll:Windows Remote Desktop Session Host Server SDK APIs:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        Wldp.dll:Política de Bloqueio do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        amsi.dll:Anti-Malware Scan Interface:10.0.19041.1620 (WinBuild.160101.0800):Microsoft Corporation
        bcrypt.dll:Biblioteca de Primitivos Criptografados do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        bcryptPrimitives.dll:Windows Cryptographic Primitives Library:10.0.19041.1415 (WinBuild.160101.0800):Microsoft Corporation
        cfgmgr32.dll:Configuration Manager DLL:10.0.19041.1620 (WinBuild.160101.0800):Microsoft Corporation
        clbcatq.dll:COM+ Configuration Catalog:2001.12.10941.16384 (WinBuild.160101.0800):Microsoft Corporation
        combase.dll:Microsoft COM para Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        cryptnet.dll:Crypto Network Related API:10.0.19041.906 (WinBuild.160101.0800):Microsoft Corporation
        dbgcore.DLL:Windows Core Debugging Helpers:10.0.19041.789 (WinBuild.160101.0800):Microsoft Corporation
        dhcpcsvc.DLL:Serviço do Cliente DHCP:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        dhcpcsvc6.DLL:Cliente DHCPv6:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        dinput8.dll:Microsoft DirectInput:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        drvstore.dll:Driver Store API:10.0.19041.1566 (WinBuild.160101.0800):Microsoft Corporation
        dwmapi.dll:API do Gerenciador de Janelas da Área de Trabalho Microsoft:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        dxcore.dll:DXCore:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        fwpuclnt.dll:API de Modo de Usuário FWP/IPsec:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        gdi32full.dll:GDI Client DLL:10.0.19041.1706 (WinBuild.160101.0800):Microsoft Corporation
        glfw.dll:GLFW 3.4.0 DLL:3.4.0:GLFW
        icm32.dll:Microsoft Color Management Module (CMM):10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        inputhost.dll:InputHost:10.0.19041.1741 (WinBuild.160101.0800):Microsoft Corporation
        java.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        javaw.exe:OpenJDK Platform binary:17.0.3.0:Microsoft
        jemalloc.dll
        jimage.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        jli.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        jna18085453431195747140.dll:JNA native library:6.1.2:Java(TM) Native Access (JNA)
        jsvml.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        jvm.dll:OpenJDK 64-Bit server VM:17.0.3.0:Microsoft
        kernel.appcore.dll:AppModel API Host:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        lwjgl.dll
        lwjgl_opengl.dll
        lwjgl_stb.dll
        management.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        management_ext.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        msasn1.dll:ASN.1 Runtime APIs:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        mscms.dll:DLL do Sistema de Correspondência de Cores Microsoft:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        msvcp140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation
        msvcp_win.dll:Microsoft® C Runtime Library:10.0.19041.789 (WinBuild.160101.0800):Microsoft Corporation
        msvcrt.dll:Windows NT CRT DLL:7.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        mswsock.dll:Provedor de serviços do Microsoft Windows Sockets 2.0:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        napinsp.dll:Provedor de Correção de Nomeação de Emails:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        ncrypt.dll:Roteador NCrypt do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        net.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        nio.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        ntdll.dll:DLL de nível do NT:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        ntmarta.dll:Provedor MARTA do Windows NT:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        nvoglv64.dll:NVIDIA Compatible OpenGL ICD:30.0.15.1215:NVIDIA Corporation
        opengl32.dll:OpenGL Client DLL:10.0.19041.1806 (WinBuild.160101.0800):Microsoft Corporation
        perfos.dll:DLL de objetos de desempenho de sistema do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        pnrpnsp.dll:PNRP Name Space Provider:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        powrprof.dll:DLL do Auxiliar do Perfil de Energia:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        profapi.dll:User Profile Basic API:10.0.19041.844 (WinBuild.160101.0800):Microsoft Corporation
        rasadhlp.dll:Remote Access AutoDial Helper:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        rsaenh.dll:Microsoft Enhanced Cryptographic Provider:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
        sechost.dll:Host for SCM/SDDL/LSA Lookup APIs:10.0.19041.1 (WinBuild.160101.0800):Microsoft Corporation
        shlwapi.dll:Biblioteca de utilitário abreviado para Shell:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        sunmscapi.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        textinputframework.dll:"TextInputFramework.DYNLINK":10.0.19041.1806 (WinBuild.160101.0800):Microsoft Corporation
        ucrtbase.dll:Microsoft® C Runtime Library:10.0.19041.789 (WinBuild.160101.0800):Microsoft Corporation
        uxtheme.dll:Biblioteca UxTheme Microsoft:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        vcruntime140_1.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation
        verify.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
        win32u.dll:Win32u:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        windows.storage.dll:API de Armazenamento Microsoft WinRT:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        winrnr.dll:LDAP RnR Provider DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        wintypes.dll:DLL dos Tipos de Base do Windows:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        wshbth.dll:Windows Sockets Helper DLL:10.0.19041.546 (WinBuild.160101.0800):Microsoft Corporation
        xinput1_4.dll:API do Controlador Comum da Microsoft:10.0.19041.1889 (WinBuild.160101.0800):Microsoft Corporation
        zip.dll:OpenJDK Platform binary:17.0.3.0:Microsoft
Stacktrace:
    at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:198)
    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 MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
    at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
    at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)

-- System Details --
Details:
    Minecraft Version: 1.19
    Minecraft Version ID: 1.19
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 17.0.3, Microsoft
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
    Memory: 631022592 bytes (601 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB)
    CPUs: 4
    Processor Vendor: GenuineIntel
    Processor Name: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
    Identifier: Intel64 Family 6 Model 94 Stepping 3
    Microarchitecture: Skylake (Client)
    Frequency (GHz): 2,71
    Number of physical packages: 1
    Number of physical CPUs: 4
    Number of logical CPUs: 4
    Graphics card #0 name: NVIDIA GeForce GTX 750 Ti
    Graphics card #0 vendor: NVIDIA (0x10de)
    Graphics card #0 VRAM (MB): 2048,00
    Graphics card #0 deviceId: 0x1380
    Graphics card #0 versionInfo: DriverVersion=30.0.15.1215
    Memory slot #0 capacity (MB): 4096,00
    Memory slot #0 clockSpeed (GHz): 2,13
    Memory slot #0 type: DDR4
    Virtual memory max (MB): 8400,63
    Virtual memory used (MB): 5573,13
    Swap memory total (MB): 4352,00
    Swap memory used (MB): 226,02
    JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2048M -Xms2048M
    Launched Version: 1.19-forge-41.1.0
    Backend library: LWJGL version 3.3.1 build 7
    Backend API: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 512.15, NVIDIA Corporation
    Window size: <not initialized>
    GL Caps: Using framebuffer using OpenGL 3.2
    GL debug messages: 
    Using VBOs: Yes
    Is Modded: Very likely; Client jar signature invalidated
    Type: Client (map_client.txt)
    CPU: 4x Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz

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

    • Yeah, Minecraft.getInstance().player only works on the client side. Is there a way to get the player from the NetworkEvent.Context?
    • I have tried multimc, prism, and curseforge. They all crash without creating any logs.
    • I play with friends a server with mods, funny enough im the only one getting the error. Link to the crash error:https://pastebin.com/Qgn57EXZ
    • I have a keybind where you spit like a llama. On singleplayer both the entity and particle spawn and it's sound is played (https://youtu.be/bpxnFDuWw_I). But on a server only the entity is spawned and nothing else (https://youtu.be/veVQ4zSqnIA), no particles nor sound. Upon starting the server I have noticed this error in the window (https://postimg.cc/K3KDCpMY), don't know if it's relevant. The server works fine but when I want to spit the following pops up in the serverlog '''Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER''' (https://postimg.cc/LqTDP1Sm). I have prepared the following code of the Server-to-Client packet class which I have made to spawn mentioned particles and sounds. package mett.palemannie.tabakmod.networking.packets; import net.minecraft.client.Minecraft; import net.minecraft.core.particles.ParticleTypes; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.sounds.SoundEvents; import net.minecraft.util.RandomSource; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class SpuckEffektS2CPacket { public SpuckEffektS2CPacket(){ } public SpuckEffektS2CPacket(FriendlyByteBuf buf){ } public void toBytes(FriendlyByteBuf buf){ } public boolean handle(Supplier<NetworkEvent.Context> supplier){ NetworkEvent.Context context = supplier.get(); context.enqueueWork(()-> { Player player = Minecraft.getInstance().player; //Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER Level level = Minecraft.getInstance().level; RandomSource rdm = RandomSource.create(); float r = rdm.nextInt(80, 120) / 100f; player.playSound(SoundEvents.LLAMA_SPIT, 1f, r); Vec3 MausPos = player.getEyePosition(); Vec3 SchauWinkel = player.getLookAngle(); level.addParticle(ParticleTypes.SPIT, true, MausPos.x, MausPos.y, MausPos.z, SchauWinkel.x/4, SchauWinkel.y/4, SchauWinkel.z/4); }); return true; } } Is there an alternative to Minecraft.getInstance().player;? dumb question. I have looked at other mods (MrCrayfish's Gun Mod, Ars Noveau, Apotheosis) on how they handle such server-to-client sound and particles but I haven't got any wiser.    
    • i keep getting error on minecraft when im trying to play modpack. When i go to logs folder i got this. 
  • Topics

×
×
  • Create New...

Important Information

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