shiftthedev / MiniExtras

0 stars 0 forks source link

Crash on launch Minecraft 1.17 #8

Closed uselessknickknacks closed 3 years ago

uselessknickknacks commented 3 years ago

Mod Version: 1.3.0

How to replicate:

Extra info Using the original Minecraft Launcher.

---- Minecraft Crash Report ---- // I let you down. Sorry :(

Time: 2021-06-13 22:26 Description: Initializing game

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'miniextras'! at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:33) at net.minecraft.class_310.(class_310.java:459) at net.minecraft.client.main.Main.main(Main.java:179) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) Caused by: java.lang.NoClassDefFoundError: me/shedaniel/autoconfig/serializer/PartitioningSerializer$GlobalData at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1010) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:170) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at com.iamshift.miniextras.MiniExtras.(MiniExtras.java:22) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:466) at net.fabricmc.loader.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50) at net.fabricmc.loader.EntrypointStorage$NewEntry.lambda$getOrCreate$0(EntrypointStorage.java:106) at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1224) at net.fabricmc.loader.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:104) at net.fabricmc.loader.EntrypointStorage.lambda$getEntrypointContainers$1(EntrypointStorage.java:191) at net.fabricmc.loader.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:37) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:47) ... 11 more Caused by: java.lang.ClassNotFoundException: me.shedaniel.autoconfig.serializer.PartitioningSerializer$GlobalData at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:175) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) ... 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.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:33) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:33) at net.minecraft.class_310.(class_310.java:459)

-- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:179) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234) at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

-- System Details -- Details: Minecraft Version: 1.17 Minecraft Version ID: 1.17 Operating System: Windows 10 (amd64) version 10.0 Java Version: 16.0.1, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 594191080 bytes (566 MiB) / 1342177280 bytes (1280 MiB) up to 2147483648 bytes (2048 MiB) CPUs: 8 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz Identifier: Intel64 Family 6 Model 94 Stepping 3 Microarchitecture: Skylake (Client) Frequency (GHz): 4,01 Number of physical packages: 1 Number of physical CPUs: 4 Number of logical CPUs: 8 Graphics card #0 name: NVIDIA GeForce GTX 1080 Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095,00 Graphics card #0 deviceId: 0x1b80 Graphics card #0 versionInfo: DriverVersion=27.21.14.5671 Memory slot #0 capacity (MB): 8192,00 Memory slot #0 clockSpeed (GHz): 2,13 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192,00 Memory slot #1 clockSpeed (GHz): 2,13 Memory slot #1 type: DDR4 Virtual memory max (MB): 28973,96 Virtual memory used (MB): 25268,43 Swap memory total (MB): 12629,63 Swap memory used (MB): 337,12 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: fabric: Fabric API 0.35.1+1.17 fabric-api-base: Fabric API Base 0.3.0+a02b44633d fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.1.0+1d383bb63d fabric-biome-api-v1: Fabric Biome API (v1) 3.1.11+c345aea83d fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+a02b44633d fabric-command-api-v1: Fabric Command API (v1) 1.1.1+a02b44633d fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa3d fabric-containers-v0: Fabric Containers (v0) 0.1.12+a02b44633d fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.2+a02b44633d fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da3103d fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.10+a02b44633d fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+a02b44633d fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.8+a02b44633d fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa3d fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+a02b44633d fabric-item-api-v1: Fabric Item API (v1) 1.2.4+a02b44633d fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab61213d fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+a02b44633d fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+36b77c3e3d fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b44633d fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b44633d fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa3d fabric-models-v0: Fabric Models (v0) 0.3.0+a02b44633d fabric-networking-api-v1: Fabric Networking API (v1) 1.0.11+b7ab61213d fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b44633d fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afa3d fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+b7ab61213d fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b44633d fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b44633d fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee3d fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.3+676f40fa3d fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.8+a02b44633d fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.0+a02b44633d fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b44633d fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+a02b44633d fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+92519afa3d fabric-rendering-v1: Fabric Rendering (v1) 1.6.0+a02b44633d fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.7+b7ab61213d fabric-screen-api-v1: Fabric Screen API (v1) 1.0.4+198a96213d fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+a02b44633d fabric-structure-api-v1: Fabric Structure API (v1) 1.1.10+be9da3103d fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.4+a02b44633d fabric-textures-v0: Fabric Textures (v0) 1.0.6+a02b44633d fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab61213d fabricloader: Fabric Loader 0.11.5 java: OpenJDK 64-Bit Server VM 16 minecraft: Minecraft 1.17 miniextras: Mini Extras Mod 1.3.0 Launched Version: fabric-loader-0.11.5-1.17 Backend library: LWJGL version 3.2.2 build 10 Backend API: NO CONTEXT Window size: GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map_client.txt) CPU:

uselessknickknacks commented 3 years ago

The reason I installed it on client is because on server, things do not crash, so I figured id test it in single player to see if the same wierd things happen, but it simply crashed instead, on the server, several inconsistent things happening. Among them is the new models not showing up or entirely unrelated models showing up, or for example wall lanterns turning completely invisible to the point where the only thing that can remove them is removing their wall.

Oh and general feedback for both mods if you don't plan to open source: Please provide configs to turn on/off features on both of your mods. So many things are crazy OP or needs rebalancing. I can tone down the OP on some of the features simply by modifying the recipe jsons to return basically nothing, but things like beacon flight I'd need to decompile the code, figure out what it does and then modify it that way.

shiftthedev commented 3 years ago

All my mods have config files. The problem was that the Config API changed from 1.16 to 1.17 and I forgot to add it as a "Required Dependency". If using the Curse Launcher just remove / install the mod again should solve it. Or manually add Cloth Config API.

uselessknickknacks commented 3 years ago

Ahhh okay I see, I was a bit hasty. I see the config files now. But it seems like one has to have the mod installed on the client as well or the models stay invisible or act wierd. Isn't there a way to force them to download, not unlike a resourcepack? (I want to reiterate for future readers that by force I basically mean download or get kicked, not maliciously make them download things without accepting).

shiftthedev commented 3 years ago

I don't know if it's possible, never saw a mod with models work like that. If you seen it before, tell me where so I can take a look.

uselessknickknacks commented 3 years ago

Found a possibly way for servers to "detect" (more like a filter) if a player has not installed your mod. It's a very convoluted workaround: If you don't have the mod installed on your client, you cannot jump once you land on a wall lantern placed on a server that has the mod installed. See the two videos (first is without the mod installed on the client, jumping is impossible and thus you cannot reach the button that you see in the second video, pushing the button would be required to escape this test and enter the server proper). One would simply then spawn players first ontop of the wall lantern, requiring them to push the button, which can only be done by having your mod installed.

Like I said it's stupid, and if someone really wanted to, they could just remove the mod afterwards. Creative Fly allows one to escape this filter.

https://user-images.githubusercontent.com/59621139/121822657-2d2dbe80-cc98-11eb-999d-48f41c43964c.mp4

https://user-images.githubusercontent.com/59621139/121822664-34ed6300-cc98-11eb-9d47-b89e3ddbf1d0.mp4

uselessknickknacks commented 3 years ago

I asked on the fabric issues about the possibility for SHA2 verification and such to have something similar to "force resource pack", but a user there claims that you are "usually" supposed to get kicked if the server uses a mod that makes use of content that the client does not have. See: https://github.com/FabricMC/fabric/issues/1496 "Ghost blocks are not supposed to happen". Like I mentioned there, I wanted to tell you this so you can have a look at it.

Thanks for the help so far. 👍