OroArmor / BlockQuantityScanner

Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Mod crashes on 1.16.5 Fabric #2

Open tajnymag opened 3 years ago

tajnymag commented 3 years ago

On /scan_blocks and /scan_all_ores, Minecraft crashes with this crash log:

---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.

Time: 18.03.21 11:40
Description: Exception in server tick loop

java.lang.NoSuchMethodError: 'int net.minecraft.class_3218.method_31607()'
    at Not Enough Crashes deobfuscated stack trace.(1.16.5+build.5)
    at com.oroarmor.block_quantity_scanner.BlockQuantityScanner.scanBlocks(BlockQuantityScanner.java:73)
    at com.oroarmor.block_quantity_scanner.BlockQuantityScanner.lambda$registerCommand$2(BlockQuantityScanner.java:48)
    at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262)
    at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:176)
    at net.minecraft.server.command.CommandManager.execute(CommandManager:249)
    at net.minecraft.server.network.ServerPlayNetworkHandler.executeCommand(ServerPlayNetworkHandler:1211)
    at net.minecraft.server.network.ServerPlayNetworkHandler.method_31286(ServerPlayNetworkHandler:1198)
    at net.minecraft.server.network.ServerPlayNetworkHandler.onGameMessage(ServerPlayNetworkHandler:1177)
    at net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket.apply(ChatMessageC2SPacket:36)
    at net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket.apply(ChatMessageC2SPacket:9)
    at net.minecraft.network.NetworkThreadUtils.lambda$checkThreadAndEnqueue$0(NetworkThreadUtils:34)
    at net.minecraft.server.ServerTask.run(ServerTask:18)
    at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor:191)
    at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor:23)
    at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:761)
    at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer:155)
    at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor:153)
    at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer:743)
    at net.minecraft.server.MinecraftServer.runTask(MinecraftServer:737)
    at net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor:169)
    at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer:722)
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:674)
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:257)
    at java.lang.Thread.run(Thread.java:834)

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

-- System Details --
Details:
    Minecraft Version: 1.16.5
    Minecraft Version ID: 1.16.5
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 11.0.10, AdoptOpenJDK
    Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), AdoptOpenJDK
    Memory: 337090720 bytes (321 MB) / 1374683136 bytes (1311 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 8
    JVM Flags: 3 total; -Xmx2G -Xmn256M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
    Suspected Mods: Example Mod (block-quantity-scanner)
    Fabric Mods: 
        antiqueatlas: Antique Atlas 5.4.4-fabric
        autoconfig1u: Auto Config v1 Updated 3.3.1
        block-quantity-scanner: Example Mod 1.0.0
        cloth-basic-math: Cloth Basic Math 0.5.1
        cloth-config2: Cloth Config v4 4.11.15
        dynamicsoundfilters: Dynamic Sound Filters 1.2.0+1.16.5
        fabric: Fabric API 0.32.0+1.16
        fabric-api-base: Fabric API Base 0.2.1+9354966b7d
        fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.0.0+dc716ea17d
        fabric-biome-api-v1: Fabric Biome API (v1) 3.1.1+ca58154a7d
        fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+ca58154a7d
        fabric-command-api-v1: Fabric Command API (v1) 1.1.0+f9b3753b7d
        fabric-commands-v0: Fabric Commands (v0) 0.2.2+ca58154a7d
        fabric-containers-v0: Fabric Containers (v0) 0.1.11+9354966b7d
        fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.1+ca58154a7d
        fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.3+ca58154a7d
        fabric-dimensions-v1: fabric-dimensions-v1 2.0.6+9354966b7d
        fabric-entity-events-v1: Fabric Entity Events (v1) 1.0.3+ca58154a7d
        fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.2+ca58154a7d
        fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+ca58154a7d
        fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+ca58154a7d
        fabric-item-api-v1: Fabric Item API (v1) 1.2.1+ca58154a7d
        fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.3+ca58154a7d
        fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+9354966b7d
        fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.1+ca58154a7d
        fabric-language-scala: Fabric Language Scala 1.0.0
        fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.1+ca58154a7d
        fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.2+ca58154a7d
        fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+ca58154a7d
        fabric-models-v0: Fabric Models (v0) 0.2.1+ca58154a7d
        fabric-networking-api-v1: Fabric Networking API (v1) 1.0.1+ca58154a7d
        fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.8+ca58154a7d
        fabric-networking-v0: Fabric Networking (v0) 0.3.2+ca58154a7d
        fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.4+9354966b7d
        fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.2+ca58154a7d
        fabric-particles-v1: Fabric Particles (v1) 0.2.4+ca58154a7d
        fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.4+ca58154a7d
        fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.1+ca58154a7d
        fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.4+ca58154a7d
        fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.2.1+ca58154a7d
        fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+ca58154a7d
        fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+ca58154a7d
        fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+ca58154a7d
        fabric-rendering-v1: Fabric Rendering (v1) 1.5.1+ca58154a7d
        fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.2+ca58154a7d
        fabric-screen-api-v1: Fabric Screen API (v1) 1.0.0+c045166c7d
        fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.5+9354966b7d
        fabric-structure-api-v1: Fabric Structure API (v1) 1.1.4+ca58154a7d
        fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.1+ca58154a7d
        fabric-textures-v0: Fabric Textures (v0) 1.0.6+ca58154a7d
        fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.6+ca58154a7d
        fabricloader: Fabric Loader 0.11.2
        fallingleaves: Falling Leaves 1.5.0+1.16.5
        fallingtree: FallingTree 2.10.2
        harvest: Harvest 1.2.12
        imm_ptl_core: Immersive Portals Core 0.80
        immersive_portals: Immersive Portals 0.80
        inventorypause: Inventory Pause 1.0.6
        inventoryprofiles: Inventory Profiles 0.4.2
        java: OpenJDK 64-Bit Server VM 11
        mambience: MAmbience 3.1.0+1.16.5
        map_atlases: Map Atlases 1.2.5
        minecraft: Minecraft 1.16.5
        mm: Manningham Mills 2.2
        modmenu: Mod Menu 1.16.8
        notenoughcrashes: Not Enough Crashes 3.1.8
        optifabric: OptiFabric 1.9.6
        seamless_loading_screen: Seamless Loading Screen 1.3.2
        smoothboot: Smooth Boot 1.16.5-1.5.0
    Player Count: 1 / 8; [class_3222['tajnymag'/5067, l='ServerWorld minecraft:overworld Heart in Coar', x=61.70, y=11.00, z=54.70]]
    Data Packs: vanilla, Fabric Mods, file/unlock all recipes v2.0.1.zip
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fabric'
    OptiFine Version: OptiFine_1.16.5_HD_U_G7
    OptiFine Build: 20210219-144623
    Render Distance Chunks: 16
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: Enhanced Default v1.12.zip
    OpenGlVersion: 4.6.0 NVIDIA 461.09
    OpenGlRenderer: GeForce GTX 1660 Ti/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 8

-- OptiFabric --
Details:
    OptiFine jar designed for: 1.16.5
    OptiFine jar version: OptiFine_1.16.5_HD_U_G7
    OptiFine jar status: Valid OptiFine installer
    OptiFine remapped jar: C:\Users\marek\AppData\Roaming\.minecraft\.optifine\OptiFine_1.16.5_HD_U_G7\Optifine-mapped.jar
    OptiFabric error: <None>
OroArmor commented 3 years ago

This shouldn't even launch on 1.16.5.

OroArmor commented 3 years ago

Ah looks like I didn't add a minecraft version.

OroArmor commented 3 years ago

This only works on the snapshots, because it uses the new height code to make sure it scans the whole world

tajnymag commented 3 years ago

This only works on the snapshots, because it uses the new height code to make sure it scans the whole world

Ah, I see.