Universal Graves

Universal Graves

3M Downloads

Crash when breaking player grave/head (1.18 only)

saransh323 opened this issue ยท 2 comments

commented

I get a weird crash when I try to break my player grave/head on 1.18 experimental snapshot 2. I know that version is not supported, and I have made all required version changes to the mod files. Any help would be appreciated!

Edited .jar file: graves-1.0.7+1.17.1 - Edited.zip

Description: Ticking entity

java.lang.NoSuchMethodError: 'void net.minecraft.class_2716.<init>(it.unimi.dsi.fastutil.ints.IntList)'
	at eu.pb4.holograms.api.elements.AbstractHologramElement.createRemovePackets(AbstractHologramElement.java:40)
	at eu.pb4.holograms.api.holograms.AbstractHologram.hide(AbstractHologram.java:304)
	at eu.pb4.holograms.api.holograms.WorldHologram.hide(WorldHologram.java:41)
	at eu.pb4.graves.grave.GraveBlockEntity.onBroken(GraveBlockEntity.java:115)
	at eu.pb4.graves.grave.GraveBlock.method_9536(GraveBlock.java:54)
	at net.minecraft.class_4970$class_4971.method_26197(class_4970.java:914)
	at net.minecraft.class_2818.method_12010(class_2818.java:299)
	at net.minecraft.class_1937.method_30092(class_1937.java:211)
	at net.minecraft.class_1937.method_8652(class_1937.java:196)
	at net.minecraft.class_1937.method_8650(class_1937.java:271)
	at net.minecraft.class_3225.method_14266(class_3225.java:249)
	at net.minecraft.class_3225.method_21717(class_3225.java:221)
	at net.minecraft.class_3225.handler$zcl000$breakIfTakingTooLong(class_3225.java:554)
	at net.minecraft.class_3225.method_21716(class_3225.java:127)
	at net.minecraft.class_3225.method_14264(class_3225.java:113)
	at net.minecraft.class_3222.method_5773(class_3222.java:425)
	at net.minecraft.class_3218.method_18762(class_3218.java:655)
	at net.minecraft.class_1937.method_18472(class_1937.java:483)
	at net.minecraft.class_3218.method_31420(class_3218.java:417)
	at net.minecraft.class_5574.method_31791(class_5574.java:54)
	at net.minecraft.class_3218.method_18765(class_3218.java:392)
	at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:936)
	at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:876)
	at net.minecraft.class_1132.method_3748(class_1132.java:96)
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:724)
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:280)
	at java.base/java.lang.Thread.run(Thread.java:831)
commented

Yeah this version is unsupported. 1.18-exp is based on version between 1.17 and 1.17.1, which have few breaking changes. You might be able to fix that by adding https://maven.nucleoid.xyz/eu/pb4/hologram-api/0.1.1%2B1.17/hologram-api-0.1.1%2B1.17.jar to your mods folder (but it might or might not work)

commented

Nope, it just made it worse :P
Instead of crashing when you break the player head, it now crashes when you die.
Thanks a lot for your help tho!