Jump to content

Recommended Posts

Posted

Hello, my game crash while i'm with my little brother, here the logs :


WARNING: coremods are present:
  llibrary (llibrary-core-1.0.11-1.12.2.jar)
  Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
  AstralCore (astralsorcery-1.12.2-1.10.19.jar)
  midnight (themidnight-0.3.5.jar)
  FMLPlugin (albedo-0.1.3.jar)
  wings (wings-1.0.6-1.12.2.jar)
  IvToolkit (IvToolkit-1.3.3-1.12.jar)
  iceandfire (iceandfire-1.9.1-1.12.2.jar)
Contact their authors BEFORE contacting forge

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

Time: 11/10/20 7:56 PM
Description: Ticking player

java.lang.ArrayIndexOutOfBoundsException: 6
    at com.thexfactor117.lsc.loot.Rarity.getRarity(Rarity.java:73)
    at com.thexfactor117.lsc.events.EventContainerOpen.generate(EventContainerOpen.java:71)
    at com.thexfactor117.lsc.events.EventContainerOpen.onContainerOpen(EventContainerOpen.java:53)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_87_EventContainerOpen_onContainerOpen_PlayerContainerEvent.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.minecraft.entity.player.EntityPlayerMP.func_71128_l(EntityPlayerMP.java:1023)
    at net.minecraft.entity.player.EntityPlayerMP.func_71053_j(EntityPlayerMP.java:1009)
    at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:328)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
    at net.minecraft.world.World.func_72870_g(World.java:1955)
    at net.minecraft.world.WorldServer.func_184147_l(WorldServer.java:642)
    at net.minecraft.world.World.func_72939_s(World.java:1734)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
    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 com.thexfactor117.lsc.loot.Rarity.getRarity(Rarity.java:73)
    at com.thexfactor117.lsc.events.EventContainerOpen.generate(EventContainerOpen.java:71)
    at com.thexfactor117.lsc.events.EventContainerOpen.onContainerOpen(EventContainerOpen.java:53)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_87_EventContainerOpen_onContainerOpen_PlayerContainerEvent.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.minecraft.entity.player.EntityPlayerMP.func_71128_l(EntityPlayerMP.java:1023)
    at net.minecraft.entity.player.EntityPlayerMP.func_71053_j(EntityPlayerMP.java:1009)
    at net.minecraft.entity.player.EntityPlayerMP.func_70071_h_(EntityPlayerMP.java:328)
    at net.minecraft.world.World.func_72866_a(World.java:1993)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
    at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Player being ticked --
Details:
    Entity Type: null (net.minecraft.entity.player.EntityPlayerMP)
    Entity ID: 12607
    Entity Name: xBulley
    Entity's Exact location: -154.30, 28.96, 302.33
    Entity's Block location: World: (-155,28,302), Chunk: (at 5,1,14 in -10,18; contains blocks -160,0,288 to -145,255,303), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Entity's Momentum: 0.00, -0.05, -0.18
    Entity's Passengers: []
    Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
    at net.minecraft.world.WorldServer.func_184147_l(WorldServer.java:642)
    at net.minecraft.world.World.func_72939_s(World.java:1734)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)

-- Affected level --
Details:
    Level name: New World
    All players: 2 total; [EntityPlayerMP['xBulley'/12607, l='New World', x=-154.30, y=28.96, z=302.33], EntityPlayerMP['Blastdoor'/5021, l='New World', x=-94.92, y=76.00, z=157.00]]
    Chunk stats: ServerChunkCache: 943 Drop: 0
    Level seed: 5788836052947386968
    Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: true
    Level generator options:
    Level spawn location: World: (-96,64,142), Chunk: (at 0,4,14 in -6,8; contains blocks -96,0,128 to -81,255,143), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Level time: 55560 game time, 55560 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 38892 (now: false), thunder time: 122706 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
    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: 1012551208 bytes (965 MB) / 2583691264 bytes (2464 MB) up to 6442450944 bytes (6144 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 104
    FML: MCP 9.42 Powered by Forge 14.23.5.2837 Optifine OptiFine_1.12.2_HD_U_F6_pre1 49 mods loaded, 49 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.2837.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge               | 14.23.5.2837             | forge-1.12.2-14.23.5.2837.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | ivtoolkit           | 1.3.3-1.12               | minecraft.jar                                 | None                                     |
    | LCHIJA | albedocore          | 0.1                      | minecraft.jar                                 | None                                     |
    | LCHIJA | albedo              | 0.1.3                    | albedo-0.1.3.jar                              | None                                     |
    | LCHIJA | baubles             | 1.5.2                    | Baubles-1.12-1.5.2.jar                        | None                                     |
    | LCHIJA | astralsorcery       | 1.10.19                  | astralsorcery-1.12.2-1.10.19.jar              | a0f0b759d895c15ceb3e3bcb5f3c2db7c582edf0 |
    | LCHIJA | battletowers        | 1.6.5                    | BattleTowers-1.12.2.jar                       | None                                     |
    | LCHIJA | betternether        | 0.1.8.6                  | Better-Nether-Mod-1.12.2.jar                  | None                                     |
    | LCHIJA | biomesoplenty       | 7.0.1.2441               | BiomesOPlenty-1.12.2-7.0.1.2441-universal.jar | None                                     |
    | LCHIJA | cursedlib           | 1.0.0                    | FlameLib-1.12.2-0.0.7.jar                     | None                                     |
    | LCHIJA | bountifulbaubles    | 0.0.1                    | Bountiful+Baubles-1.12.2-0.0.6.jar            | None                                     |
    | LCHIJA | castle_dungeons     | 1.2                      | Castle-Dungeons-Mod-1.12.2.jar                | None                                     |
    | LCHIJA | champions           | 1.12.2-1.0.10.1          | champions-1.12.2-1.0.10.1.jar                 | 5d5b8aee896a4f5ea3f3114784742662a67ad32f |
    | LCHIJA | classiccombat       | 1.0.0                    | ClassicCombat-1.12-1.0.0.jar                  | None                                     |
    | LCHIJA | customspawner       | 3.11.3                   | CustomMobSpawner-3.11.3.jar                   | None                                     |
    | LCHIJA | damageindicatorsmod | 1.0                      | Damage-Indicators-Mod-1.12.2.jar              | None                                     |
    | LCHIJA | doggytalents        | 1.15.1.5                 | DoggyTalents-1.12.2-1.15.1.5.jar              | None                                     |
    | LCHIJA | mocreatures         | 12.0.3                   | DrZharks MoCreatures Mod-12.0.3.jar           | None                                     |
    | LCHIJA | enhancedarmaments   | 1.3.15                   | EnhancedArmaments-1.3.15.jar                  | None                                     |
    | LCHIJA | grimoireofgaia      | 1.7.2                    | GrimoireOfGaia3-1.12.2-1.7.2.jar              | None                                     |
    | LCHIJA | waila               | 1.8.26                   | Hwyla-1.8.26-B41_1.12.2.jar                   | None                                     |
    | LCHIJA | llibrary            | 1.7.18                   | llibrary-1.7.18-1.12.2.jar                    | b9f30a813bee3b9dd5652c460310cfcd54f6b7ec |
    | LCHIJA | iceandfire          | 1.9.1                    | iceandfire-1.9.1-1.12.2.jar                   | None                                     |
    | LCHIJA | ichunutil           | 7.2.1                    | iChunUtil-1.12.2-7.2.1.jar                    | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCHIJA | increasemobs        | 1.1.0                    | IncreaseMobs_1.12.2-v1.1.0.jar                | None                                     |
    | LCHIJA | inventorytweaks     | 1.63+release.109.220f184 | InventoryTweaks-1.63.jar                      | 55d2cd4f5f0961410bf7b91ef6c6bf00a766dcbe |
    | LCHIJA | jei                 | 4.15.0.283               | jei_1.12.2-4.15.0.283.jar                     | None                                     |
    | LCHIJA | lsc                 | 0.6.2.2-alpha            | Loot-Slash-Conquer-Mod-1.12.2.jar             | None                                     |
    | LCHIJA | mantle              | 1.12-1.3.3.55            | Mantle-1.12-1.3.3.55.jar                      | None                                     |
    | LCHIJA | megaloot            | 0.1.4                    | megaloot-1.12.2-0.1.4.jar                     | None                                     |
    | LCHIJA | mobends             | 0.24                     | mobends-0.24_for_MC-1.12.jar                  | None                                     |
    | LCHIJA | portalgun           | 7.1.0                    | PortalGun-1.12.2-7.1.0.jar                    | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCHIJA | reccomplex          | 1.4.5                    | RecurrentComplex-1.4.5.1.jar                  | None                                     |
    | LCHIJA | ruins               | 17.2                     | Ruins-Mod-1.12.2.jar                          | None                                     |
    | LCHIJA | simplecore          | 1.7.3.4                  | simplecore-1.12.2-1.7.3.4.jar                 | None                                     |
    | LCHIJA | simpleores          | 1.11.2.2                 | simpleores-1.12.2-1.11.2.2.jar                | None                                     |
    | LCHIJA | xat                 | 0.25.1                   | Trinkets and Baubles-1.12.2-0.25.1.jar        | None                                     |
    | LCHIJA | twilightforest      | 3.8.689                  | twilightforest-1.12.2-3.8.689-universal.jar   | None                                     |
    | LCHIJA | uteamcore           | 2.2.4.94                 | U-Team-Core-1.12.2.jar                        | None                                     |
    | LCHIJA | usefulbackpacks     | 1.3.1.13                 | useful_backpacks-1.12.2-1.3.1.13.jar          | None                                     |
    | LCHIJA | waystones           | 4.0.72                   | Waystones_1.12.2-4.0.72.jar                   | None                                     |
    | LCHIJA | wings               | 1.0.6                    | wings-1.0.6-1.12.2.jar                        | None                                     |
    | LCHIJA | bauble_wings        | 1.0.0                    | wings-1.0.6-1.12.2.jar                        | None                                     |
    | LCHIJA | mobends_wings       | 1.0.0                    | wings-1.0.6-1.12.2.jar                        | None                                     |
    | LCHIJA | orelib              | 3.6.0.1                  | OreLib-1.12.2-3.6.0.1.jar                     | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCHIJA | midnight            | 0.3.5                    | themidnight-0.3.5.jar                         | None                                     |

    Loaded coremods (and transformers):
llibrary (llibrary-core-1.0.11-1.12.2.jar)
  net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
  net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
  invtweaks.forge.asm.ContainerTransformer
AstralCore (astralsorcery-1.12.2-1.10.19.jar)
 
midnight (themidnight-0.3.5.jar)
  com.mushroom.midnight.core.transformer.MidnightClassTransformer
FMLPlugin (albedo-0.1.3.jar)
  elucent.albedo.asm.ASMTransformer
wings (wings-1.0.6-1.12.2.jar)
  me.paulf.wings.server.asm.WingsRuntimePatcher
  me.paulf.wings.server.asm.mobends.WingsMoBendsRuntimePatcher
IvToolkit (IvToolkit-1.3.3-1.12.jar)
 
iceandfire (iceandfire-1.9.1-1.12.2.jar)
  com.github.alexthe666.iceandfire.patcher.IceAndFireRuntimePatcher
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    Profiler Position: N/A (disabled)
    Player Count: 2 / 8; [EntityPlayerMP['xBulley'/12607, l='New World', x=-154.30, y=28.96, z=302.33], EntityPlayerMP['Blastdoor'/5021, l='New World', x=-94.92, y=76.00, z=157.00]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    OptiFine Version: OptiFine_1.12.2_HD_U_F6_pre1
    OptiFine Build: 20191206-224929
    Render Distance Chunks: 12
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: KUDA-Shaders v6.1 Legacy.zip
    OpenGlVersion: 4.6.0 NVIDIA 456.71
    OpenGlRenderer: GeForce GTX 1070/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 4

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • 1) Update to the latest build of Forge for your MC version. The recommended build actually means minimum recommended. I can’t remember if it was backported to 1.20.1 or not, but we did clean up the early loading screen a bit in newer builds to look less cluttered. 2) Change the accessibility setting in game to black background. The early loading screen will then be black instead of red.
    • I'm sure this entire community knows exactly who you are, what mixin you're talking about, and how deer function in minecraft.  But being new here, and I am ignorant about all of those things. That said, I'd love to review your mixin.  I'm also having mixin issues, and I feel that if I can help you, perhaps both of our problems might get solved. Can you provide some links and context for people who aren't aware of your renown?  I'm asking humbly because I know you probably have better things to do, and you just want somebody to fix things for you.
    • I am working in the latest MDK.  Minecraft 1.21.4, Forge 54.1.0. I am trying to create a mixin.  The implementation doesn't matter.  Assume it is doing nothing more than logging to the console: @Mixin(LevelRenderer.class) public abstract class LevelRendererMixin { private static final Logger LOGGER = LogManager.getLogger("LevelRendererMixin"); @Inject(method = "renderLevel", at = @At("TAIL")) private void onRenderLevel( com.mojang.blaze3d.resource.GraphicsResourceAllocator allocator, net.minecraft.client.DeltaTracker deltaTracker, boolean someFlag, Camera camera, GameRenderer gameRenderer, Matrix4f matrix1, Matrix4f matrix2, CallbackInfo ci ) { Assuming my whole implementation is just to write something to console, it works perfectly fine in when I debug (runClient) in IntelliJ.  Whenever the Minecraft `renderLevel` runs every frame, my logging is overlaid at "TAIL". Yes, this spams the sht out of the console. But when I `build` and use the jar as a mod, it does not.  The mixin annotation processor shows to be loading, and my other parts of my mod work, but the nothing gets logged by my mixin. I am apparently generating a proper `refmap` and it's in the jar root.  Other files are also in the jar appropriately, including mods.toml.  And all the naming and reference paths are correct. I had to add this to my build.gradle to get my refmap into the jar ([name] obviously replaced): tasks.register("copyRefmap", Copy) { dependsOn tasks.named("compileJava") from("${project.buildDir}/tmp/compileJava") { include "mixins.[name].refmap.json" } into("${project.buildDir}/resources/main") } tasks.named("processResources", ProcessResources).configure { dependsOn(tasks.named("copyRefmap")) } tasks.named("jar", Jar).configure { // Include the generated refmap from build/resources/main into the jar. from("${project.buildDir}/resources/main") { include "mixins.[name].refmap.json" } }   Just for fun, here is my refmap in case something looks wrong to anybody:   { "mappings": { "com/[name]/mixin/LevelRendererMixin": { "renderLevel": "Lnet/minecraft/client/renderer/LevelRenderer;m_109599_(Lcom/mojang/blaze3d/resource/GraphicsResourceAllocator;Lnet/minecraft/client/DeltaTracker;ZLnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/GameRenderer;Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;)V" } }, "data": { "searge": { "com/[name]/mixin/LevelRendererMixin": { "renderLevel": "Lnet/minecraft/client/renderer/LevelRenderer;m_109599_(Lcom/mojang/blaze3d/resource/GraphicsResourceAllocator;Lnet/minecraft/client/DeltaTracker;ZLnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/GameRenderer;Lorg/joml/Matrix4f;Lorg/joml/Matrix4f;)V" } } } } TLDR; My mixin works in dev, but not when built and run in an official Forge/Minecraft environment.  Like it's not overlaying/replacing the minecraft function. What are some typical other things to check when a mixin works in dev, but not after build?
    • Thank you, Ugdhar.  But that only confirms the problem.  Both in the github and in my IDE, if I search for objects extended from net.minecraftforge.client.event, it isn't there.  Though the javadocs (at least at nekoyue) say it should be. Maybe since it definitely isn't there, is there some other way anybody knows to highlight some blocks (without mixins and drawing artificial faces on the camera).
  • Topics

×
×
  • Create New...

Important Information

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