View Issue Details

IDProjectCategoryView StatusLast Update
0002787Industrial-Craft²general / otherpublic2022-10-19 15:58
Reportersubstanc3 Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Summary0002787: Opening GUI crashes game (Fabric)
DescriptionOn the fabric build of IC2 (1.19.2 0000015 - https://jenkins.ic2.player.to/job/IC2/job/1.19/15/) the game crashes when trying to open a block UI (for example Generator) with the following error:

java.lang.AbstractMethodError: Receiver class ic2.fabric.EnvProxyFabric$1 does not define or inherit an implementation of the resolved method 'abstract net.minecraft.class_2561 method_5476()' of interface net.minecraft.class_3908.
    at net.minecraft.class_3222.method_17355(class_3222.java:1047) ~[client-intermediary.jar:?]
    at ic2.fabric.EnvProxyFabric.openHandledScreen(EnvProxyFabric.java:274) ~[industrialcraft-2-2.9.15+ex119-1.19.2-fabric.jar:?]
    at ic2.core.IHasGui.openManagedBe(IHasGui.java:38) ~[industrialcraft-2-2.9.15+ex119-1.19.2-fabric.jar:?]
    at ic2.core.block.TileEntityBlock.onActivated(TileEntityBlock.java:638) ~[industrialcraft-2-2.9.15+ex119-1.19.2-fabric.jar:?]
    at ic2.core.block.BlockTileEntity.method_9534(BlockTileEntity.java:579) ~[industrialcraft-2-2.9.15+ex119-1.19.2-fabric.jar:?]
    at net.minecraft.class_4970$class_4971.method_26174(class_4970.java:964) ~[client-intermediary.jar:?]
    at net.minecraft.class_3225.method_14262(class_3225.java:338) ~[client-intermediary.jar:?]
    at net.minecraft.class_3244.method_12046(class_3244.java:1145) ~[client-intermediary.jar:?]
    at net.minecraft.class_2885.method_12547(class_2885.java:34) ~[client-intermediary.jar:?]
    at net.minecraft.class_2885.method_11054(class_2885.java:8) ~[client-intermediary.jar:?]
    at net.minecraft.class_2600.method_11072(class_2600.java:22) ~[client-intermediary.jar:?]
    at net.minecraft.class_3738.run(class_3738.java:18) ~[client-intermediary.jar:?]
    at net.minecraft.class_1255.method_18859(class_1255.java:157) ~[client-intermediary.jar:?]
    at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[client-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:776) ~[client-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:159) ~[client-intermediary.jar:?]
    at net.minecraft.class_1255.method_16075(class_1255.java:131) ~[client-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:758) ~[client-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:752) ~[client-intermediary.jar:?]
    at net.minecraft.class_1255.method_18857(class_1255.java:140) ~[client-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:737) ~[client-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:669) ~[client-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) ~[client-intermediary.jar:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]

The only mods installed are the ic2 build and fabric api 0.61.0+1.19.2

Patching EnvProxyFabric$1.class to rename "getDisplayName" to "method_5476" fixes the issue (though it feels this should be handled by the tooling?).
Steps To Reproduce1) Create a world in creative mode
2) Get a generator from the creative UI
3) Place it in the world
4) Right-click to open generator UI
Tags1.19.2, 1.19.2.15
Minecraft Version1.19.2

Activities

substanc3

2022-10-19 15:58

reporter   ~0006319

Fixed in build 21 - https://jenkins.ic2.player.to/job/IC2/job/1.19/21/

Issue History

Date Modified Username Field Change
2022-09-22 01:26 substanc3 New Issue
2022-09-22 01:26 substanc3 Tag Attached: 1.19.2
2022-09-22 01:26 substanc3 Tag Attached: 1.19.2.15
2022-10-19 15:58 substanc3 Note Added: 0006319