Siphalor / mouse-wheelie

"Small" Minecraft mod focusing on inventory utilities, like scrolling, sorting and auto refilling of items
https://modrinth.com/mod/mouse-wheelie
Apache License 2.0
109 stars 42 forks source link

java.lang.IllegalArgumentException: Load factor must be greater than 0 and smaller than 1 [bug] #234

Closed C7ZFN closed 1 year ago

C7ZFN commented 1 year ago

Minecraft version: 1.20.1 Mod version: 1.10.1

I can start the game normally and go into the game. But as soon as I want to enter a command, the game crashes for example if i write... "# mine ...". Only "#help" works

I dont know how to reproduce the bug.

I used to be able to use baritone on my old PC without any problems. Now it's like I can't use baritone at all anymore. The game starts and I can go into the world. But as soon as I try to enter a command, the game crashes. (YouTube: https://youtu.be/wXpPyu-bh5I)

Log: The game crashed whilst unexpected error Error: java.lang.IllegalArgumentException: Load factor must be greater than 0 and smaller than 1

---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward.

Time: 2023-07-04 21:25:14 Description: Unexpected error

java.lang.IllegalArgumentException: Load factor must be greater than 0 and smaller than 1 at it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap.(Long2ObjectOpenHashMap.java:96) at baritone.bs.(Unknown Source) at baritone.br.(Unknown Source) at baritone.h.a(Unknown Source) at baritone.h.a(Unknown Source) at baritone.h.a(Unknown Source) at baritone.h.onTick(Unknown Source) at baritone.bq.a(Unknown Source) at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807) at baritone.bq.onTick(Unknown Source) at net.minecraft.class_310.handler$zzh000$baritone$runTick(class_310.java) at net.minecraft.class_310.method_1574(class_310.java:1874) at net.minecraft.class_310.method_1523(class_310.java:1181) at net.minecraft.class_310.method_1514(class_310.java:802) at net.minecraft.client.main.Main.main(Main.java:250) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

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

-- Head -- Thread: Render thread Stacktrace: at it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap.(Long2ObjectOpenHashMap.java:96) at baritone.bs.(Unknown Source) at baritone.br.(Unknown Source) at baritone.h.a(Unknown Source) at baritone.h.a(Unknown Source) at baritone.h.a(Unknown Source) at baritone.h.onTick(Unknown Source) at baritone.bq.a(Unknown Source) at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807) at baritone.bq.onTick(Unknown Source) at net.minecraft.class_310.handler$zzh000$baritone$runTick(class_310.java)

-- Affected level -- Details: All players: 1 total; [class_746['Refilln'/44, l='ClientLevel', x=1127.26, y=64.00, z=-1109.39]] Chunk stats: 1521, 1021 Level dimension: minecraft:overworld Level spawn location: World: (160,63,-176), Section: (at 0,15,0 in 10,3,-11; chunk contains blocks 160,-64,-176 to 175,319,-161), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,-64,-512 to 511,319,-1) Level time: 308440 game time, 3260 day time Server brand: fabric Server type: Integrated singleplayer server Stacktrace: at net.minecraft.class_638.method_8538(class_638.java:458) at net.minecraft.class_310.method_1587(class_310.java:2406) at net.minecraft.class_310.method_1514(class_310.java:826) at net.minecraft.client.main.Main.main(Main.java:250) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Last reload -- Details: Reload number: 1 Reload reason: initial Finished: Yes Packs: vanilla, fabric, file/Refilln 1.20.1v1.5 - Kopie.zip

-- System Details -- Details: Minecraft Version: 1.20.1 Minecraft Version ID: 1.20.1 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: 1151149224 bytes (1097 MiB) / 2147483648 bytes (2048 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 12 Processor Vendor: GenuineIntel Processor Name: 12th Gen Intel(R) Core(TM) i5-12400F Identifier: Intel64 Family 6 Model 151 Stepping 2 Microarchitecture: Alder Lake Frequency (GHz): 2.50 Number of physical packages: 1 Number of physical CPUs: 6 Number of logical CPUs: 12 Graphics card #0 name: NVIDIA GeForce GTX 1050 Ti Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x1c82 Graphics card #0 versionInfo: DriverVersion=31.0.15.2756 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 3.60 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 3.60 Memory slot #1 type: DDR4 Memory slot #2 capacity (MB): 8192.00 Memory slot #2 clockSpeed (GHz): 3.60 Memory slot #2 type: DDR4 Memory slot #3 capacity (MB): 8192.00 Memory slot #3 clockSpeed (GHz): 3.60 Memory slot #3 type: DDR4 Virtual memory max (MB): 37445.42 Virtual memory used (MB): 17854.10 Swap memory total (MB): 4864.00 Swap memory used (MB): 1.25 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Fabric Mods: baritone: Baritone 1.10.1 fabric-api: Fabric API 0.85.0+1.20.1 fabric-api-base: Fabric API Base 0.4.29+b04edc7a77 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.34+4d8536c977 fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+b3afc78b77 fabric-block-api-v1: Fabric Block API (v1) 1.0.9+e022e5d177 fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.39+b3afc78b77 fabric-client-tags-api-v1: Fabric Client Tags 1.1.0+97bb207577 fabric-command-api-v1: Fabric Command API (v1) 1.2.32+f71b366f77 fabric-command-api-v2: Fabric Command API (v2) 2.2.11+b3afc78b77 fabric-commands-v0: Fabric Commands (v0) 0.2.49+df3654b377 fabric-containers-v0: Fabric Containers (v0) 0.1.61+df3654b377 fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.8+b3afc78b77 fabric-convention-tags-v1: Fabric Convention Tags 1.5.3+b3afc78b77 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.18+aeb40ebe77 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.1.12+b3afc78b77 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.51+b3afc78b77 fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.21+b3afc78b77 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.0+b3afc78b77 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.61+df3654b377 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.38+b04edc7a77 fabric-item-api-v1: Fabric Item API (v1) 2.1.26+b3afc78b77 fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.8+40e50c4677 fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.36+fb8d95da77 fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.34+df3654b377 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.20+b3afc78b77 fabric-loot-api-v2: Fabric Loot API (v2) 1.1.38+b3afc78b77 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.42+9e7660c677 fabric-message-api-v1: Fabric Message API (v1) 5.1.6+b3afc78b77 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.48+b3afc78b77 fabric-models-v0: Fabric Models (v0) 0.3.35+b3afc78b77 fabric-networking-api-v1: Fabric Networking API (v1) 1.3.8+b3afc78b77 fabric-networking-v0: Fabric Networking (v0) 0.3.48+df3654b377 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.1.0+6beca84877 fabric-particles-v1: Fabric Particles (v1) 1.1.0+201a23a077 fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.18+b3afc78b77 fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.2.6+b3afc78b77 fabric-renderer-api-v1: Fabric Renderer API (v1) 3.1.0+c154966e77 fabric-renderer-indigo: Fabric Renderer - Indigo 1.4.0+c154966e77 fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.44+df3654b377 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.33+b3afc78b77 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.26+b3afc78b77 fabric-rendering-v0: Fabric Rendering (v0) 1.1.47+df3654b377 fabric-rendering-v1: Fabric Rendering (v1) 3.0.6+b3afc78b77 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.5+ea08f9d877 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.8+e3d6ed2577 fabric-screen-api-v1: Fabric Screen API (v1) 2.0.6+b3afc78b77 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.27+b3afc78b77 fabric-sound-api-v1: Fabric Sound API (v1) 1.0.12+b3afc78b77 fabric-transfer-api-v1: Fabric Transfer API (v1) 3.2.3+43a3fedd77 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.2.0+b3afc78b77 fabricloader: Fabric Loader 0.14.21 java: OpenJDK 64-Bit Server VM 17 minecraft: Minecraft 1.20.1 Launched Version: fabric-loader-0.14.21-1.20.1 Backend library: LWJGL version 3.3.1 SNAPSHOT Backend API: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 527.56, NVIDIA Corporation Window size: 1920x1017 GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric' Type: Integrated Server (map_client.txt) Graphics mode: fancy Resource Packs: vanilla, fabric, file/Refilln 1.20.1v1.5 - Kopie.zip Current Language: en_us CPU: 12x 12th Gen Intel(R) Core(TM) i5-12400F Server Running: true Player Count: 1 / 8; [class_3222['Refilln'/44, l='ServerLevel[1.20.1 Creative]', x=1127.26, y=64.00, z=-1109.39]] Data Packs: vanilla, fabric Enabled Feature Flags: minecraft:vanilla World Generation: Stable

I only tested it with Fabric on 1.20.1

Siphalor commented 1 year ago

Hi, I think you accidentally opened an issue at the wrong project. This is the repository for Mouse Wheelie which you don't have to seem installed ;)

For Baritone see here.