NBT Tooltip

NBT Tooltip

72.4k Downloads

Doesn't work on 20w20b

PyPylia opened this issue ยท 2 comments

commented

I posted the same thing in the comments of curseforge but just for good measure I'll post it here as well:

I tried it on 20w20b but it just crashed, I deleted all my other mods and it still did (I kept Fabric API obviously) and when I deleted this mod it didn't crash, here's my crash report:

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 20/05/20 8:46 PM
Description: Unexpected error

java.lang.NoSuchMethodError: net.minecraft.class_437.hasShiftDown()Z
	at net.minecraft.class_310.handler$zbj000$injectOnTick(class_310.java:3594)
	at net.minecraft.class_310.method_1574(class_310.java)
	at net.minecraft.class_310.method_1523(class_310.java:980)
	at net.minecraft.class_310.method_1514(class_310.java:630)
	at net.minecraft.client.main.Main.main(Main.java:204)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
	at org.multimc.EntryPoint.listen(EntryPoint.java:143)
	at org.multimc.EntryPoint.main(EntryPoint.java:34)


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

-- System Details --
Details:
	Minecraft Version: 20w20b
	Minecraft Version ID: 20w20b
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_202, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 889294872 bytes (848 MB) / 2022703104 bytes (1929 MB) up to 3817865216 bytes (3641 MB)
	CPUs: 12
	JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4096m
	Fabric Mods: 
		fabric: Fabric API 0.10.9+build.346-1.16
		fabric-api-base: Fabric API Base 0.1.3+12a8474c16
		fabric-biomes-v1: Fabric Biomes (v1) 0.2.3+6d41837a16
		fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+c6a8ea8916
		fabric-command-api-v1: Fabric Command API (v1) 1.0.2+fbdec54816
		fabric-commands-v0: Fabric Commands (v0) 0.2.0+52d3083616
		fabric-containers-v0: Fabric Containers (v0) 0.1.7+d249f7b616
		fabric-content-registries-v0: Fabric Content Registries (v0) 0.1.5+88afe60716
		fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d16
		fabric-dimensions-v1: fabric-dimensions-v1 0.4.2+6d41837a16
		fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.3.1+6d41837a16
		fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.1.2+1a47cd7816
		fabric-item-groups-v0: Fabric Item Groups (v0) 0.1.12+63435d4b16
		fabric-keybindings-v0: Fabric Key Bindings (v0) 0.1.1+dfdb52d616
		fabric-loot-tables-v1: Fabric Loot Tables (v1) 0.1.7+6d41837a16
		fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+b764ce9916
		fabric-models-v0: Fabric Models (v0) 0.1.0+dfdb52d616
		fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+b50ffc7b16
		fabric-networking-v0: Fabric Networking (v0) 0.1.9+1a47cd7816
		fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.3.1+6d41837a16
		fabric-object-builders-v0: Fabric Object Builders (v0) 0.5.2+6d41837a16
		fabric-particles-v1: fabric-particles-v1 0.1.2+12a8474c16
		fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.3.2+d1e1b46c16
		fabric-renderer-api-v1: Fabric Renderer API (v1) 0.2.13+eae12eb816
		fabric-renderer-indigo: Fabric Renderer - Indigo 0.2.29+6c0e72df16
		fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.0.1+5a0f9a6016
		fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.3+b7f9825d16
		fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.7+12a8474c16
		fabric-rendering-v0: Fabric Rendering (v0) 1.1.0+5341049016
		fabric-rendering-v1: Fabric Rendering (v1) 1.1.0+304e48eb16
		fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.1.14+2fd224ca16
		fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 0.2.4+2fd224ca16
		fabric-textures-v0: Fabric Textures (v0) 1.0.4+eae12eb816
		fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.1.0+c8964fcb16
		fabricloader: Fabric Loader 0.8.4+build.198
		litematica: Litematica 0.0.0-dev.20200515.220215
		malilib: MaLiLib 0.10.0-dev.21+beta.1
		minecraft: Minecraft 1.16-alpha.20.20.b
		minihud: MiniHUD 0.19.0-dev.20200515.220306
		nbttooltip: NBT Tooltip 1.14-1.0.3
	Launched Version: MultiMC5
	Backend library: LWJGL version 3.2.2 build 10
	Backend API: GeForce GTX 1660/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, NVIDIA Corporation
	GL Caps: Using framebuffer using OpenGL 3.0
	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fabric'
	Type: Client (map_client.txt)
	Resource Packs: 
	Current Language: ~~ERROR~~ NullPointerException: null
	CPU: 12x AMD Ryzen 5 2600 Six-Core Processor
commented

This crash actually began occurring in 20w10a. This is due to the fact that most of the Screen code became obfuscated in 20w10a. NBTTooltip is looking for the yarn method hasShiftDown(), which no longer exists after 20w09a because it has been replaced by the intermediary name method_25442.

Unfortunately, my testing has shown that it is not as simple as updating the mod to use 1.16 mappings, as a lot of the chat code has changed substantially between 1.14.2 and 20w10a. I will be trying to update the mod, but don't expect anything as I have no education in Java programming.

commented

I was planning on doing some maintenance tonight actually, I'll sort this out