Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatibility with optifabric #47

Open
polko00 opened this issue Nov 14, 2023 · 0 comments
Open

incompatibility with optifabric #47

polko00 opened this issue Nov 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@polko00
Copy link

polko00 commented Nov 14, 2023

After installing blanket and fabric api i started the game and all text was replaced by rectangles, when i start any world the game crashes.

Steps to reproduce the behavior:

  1. place optifabric and optifine(forge) of the correct version in the mod folder with blanket and fabric api
  2. start game
  3. load any world

Expected behavior:
the game will start normaly, on the main menu you'll notice that text is now "broken" and replaced by rectangles, after loading any world the game will crash

Desktop:

  • Minecraft version 1.20.1
  • Mod version 1.1.4

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

Time: 2023-11-14 15:36:58
Description: Unexpected error

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_897.method_24088(net.minecraft.class_1297, float)" because the return value of "net.minecraft.class_898.method_3953(net.minecraft.class_1297)" is null
at net.minecraft.class_898.method_23839(class_898.java:95)
at net.optifine.shaders.Shaders.beginRender(Shaders.java:4904)
at net.minecraft.class_757.method_3188(class_757.java:1584)
at net.minecraft.class_757.method_3192(class_757.java:1279)
at net.minecraft.class_310.method_1523(class_310.java:1219)
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:470)
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 net.minecraft.class_898.method_23839(class_898.java:95)
at net.optifine.shaders.Shaders.beginRender(Shaders.java:4904)
at net.minecraft.class_757.method_3188(class_757.java:1584)

-- Affected level --
Details:
All players: 1 total; [class_746['Polko00'/19, l='ClientLevel', x=220.47, y=125.08, z=169.30]]
Chunk stats: 2209, 1275
Level dimension: minecraft:overworld
Level spawn location: World: (8,-64,8), Section: (at 8,0,8 in 0,-4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 13543 game time, 13543 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:590)
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:470)
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: No
Packs: vanilla, fabric
Recovery: Yes
Recovery reason: java.util.concurrent.CompletionException: java.lang.AbstractMethodError: Receiver class net.minecraft.class_1088$class_7778 does not define or inherit an implementation of the resolved method 'abstract java.util.function.Function getModelTextureGetter()' of interface net.minecraftforge.client.extensions.IForgeModelBaker.
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.AbstractMethodError: Receiver class net.minecraft.class_1088$class_7778 does not define or inherit an implementation of the resolved method 'abstract java.util.function.Function getModelTextureGetter()' of interface net.minecraftforge.client.extensions.IForgeModelBaker.
at net.minecraft.class_806.(class_806.java:49)
at net.minecraft.class_793.method_3440(class_793.java:143)
at net.minecraft.class_793.method_3446(class_793.java:213)
at net.minecraft.class_1088$class_7778.redirect$zfj000$fabric-model-loading-api-v1$invokeModifyAfterBake(class_1088.java:565)
at net.minecraft.class_1088$class_7778.method_45873(class_1088.java:423)
at net.minecraft.class_1088.method_45877(class_1088.java:211)
at java.base/java.util.HashMap$KeySet.forEach(Unknown Source)
at net.minecraft.class_1088.method_45876(class_1088.java:206)
at net.minecraft.class_1092.method_45883(class_1092.java:145)
at net.minecraft.class_1092.method_45885(class_1092.java:92)
... 7 more

-- 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.1, Eclipse Adoptium
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Eclipse Adoptium
Memory: 1361537912 bytes (1298 MiB) / 2768240640 bytes (2640 MiB) up to 14956888064 bytes (14264 MiB)
CPUs: 12
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 5 5600X 6-Core Processor
Identifier: AuthenticAMD Family 25 Model 33 Stepping 2
Microarchitecture: Zen 3
Frequency (GHz): 3.69
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: AMD Radeon RX 6600
Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x73ff
Graphics card #0 versionInfo: DriverVersion=31.0.14051.1000
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): 27040.18
Virtual memory used (MB): 17112.84
Swap memory total (MB): 10752.00
Swap memory used (MB): 99.17
JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx14263m -Xms14263m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms256m
Fabric Mods:
blanket-client-tweaks: Blanket Client-tweaks 1.1.4
cloth-config: Cloth Config v11 11.0.99
cloth-basic-math: cloth-basic-math 0.6.1
fabric-api: Fabric API 0.90.7+1.20.1
fabric-api-base: Fabric API Base 0.4.30+7abfd51577
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.35+4d8536c977
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.12+215bbe9677
fabric-block-api-v1: Fabric Block API (v1) 1.0.10+92a0d36777
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.0+92a0d36777
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.40+b3afc78b77
fabric-client-tags-api-v1: Fabric Client Tags 1.1.1+97bb207577
fabric-command-api-v1: Fabric Command API (v1) 1.2.33+f71b366f77
fabric-command-api-v2: Fabric Command API (v2) 2.2.12+b3afc78b77
fabric-commands-v0: Fabric Commands (v0) 0.2.50+df3654b377
fabric-containers-v0: Fabric Containers (v0) 0.1.63+df3654b377
fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.10+57aed33f77
fabric-convention-tags-v1: Fabric Convention Tags 1.5.4+a1a980da77
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.3.2+d7b148e077
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.53+8536527b77
fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.22+b3afc78b77
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.1+e91849a877
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.62+df3654b377
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.39+ae9f657a77
fabric-item-api-v1: Fabric Item API (v1) 2.1.27+b3afc78b77
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.11+d7b148e077
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.21+b3afc78b77
fabric-loot-api-v2: Fabric Loot API (v2) 1.2.0+96dfa95977
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.44+9e7660c677
fabric-message-api-v1: Fabric Message API (v1) 5.1.8+d7b148e077
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.49+b3afc78b77
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.2+709a987177
fabric-models-v0: Fabric Models (v0) 0.4.1+9386d8a777
fabric-networking-api-v1: Fabric Networking API (v1) 1.3.10+eeb8eb3677
fabric-networking-v0: Fabric Networking (v0) 0.3.50+df3654b377
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.1.2+4ee0bc6077
fabric-particles-v1: Fabric Particles (v1) 1.1.1+201a23a077
fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.20+b3afc78b77
fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.3.2+4df89eb277
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.0+39a511ba77
fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.0+39a511ba77
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.45+df3654b377
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.36+92a0d36777
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.27+b3afc78b77
fabric-rendering-v0: Fabric Rendering (v0) 1.1.48+df3654b377
fabric-rendering-v1: Fabric Rendering (v1) 3.0.7+b3afc78b77
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.6+d7b148e077
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.9+132c48c177
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.7+b3afc78b77
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.29+b3afc78b77
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.12+b3afc78b77
fabric-transfer-api-v1: Fabric Transfer API (v1) 3.3.2+1bc31aeb77
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.3.0+6c31357e77
fabricloader: Fabric Loader 0.14.24
java: OpenJDK 64-Bit Server VM 17
litematica: Litematica 0.15.3
malilib: MaLiLib 0.16.3
minecraft: Minecraft 1.20.1
minihud: MiniHUD 0.27.0
optifabric: OptiFabric 1.13.25
mm: Manningham Mills 2.3
worldedit: WorldEdit 7.2.15+6463-5ca4dff
Launched Version: 1.20.1
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: AMD Radeon RX 6600 GL version 3.2.0 Core Profile Context 23.4.2.230412, ATI Technologies Inc.
Window size: 854x480
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'optifine'; Server brand changed to 'fabric'
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Resource Packs:
Current Language: en_us
CPU: 12x AMD Ryzen 5 5600X 6-Core Processor
Server Running: true
Player Count: 1 / 8; [class_3222['Polko00'/19, l='ServerLevel[New World]', x=220.47, y=125.08, z=169.30]]
Data Packs: vanilla, fabric
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
OptiFine Version: OptiFine_1.20.1_HD_U_I6_pre6
OptiFine Build: 20230727-130058
Render Distance Chunks: 20
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: (internal)
OpenGlVersion: 3.2.0 Core Profile Context 23.4.2.230412
OpenGlRenderer: AMD Radeon RX 6600
OpenGlVendor: ATI Technologies Inc.
CpuCount: 12

-- OptiFabric --
Details:
OptiFine jar designed for: 1.20.1
OptiFine jar version: OptiFine_1.20.1_HD_U_I6_pre6
OptiFine jar status: Valid OptiFine mod
OptiFine remapped jar: ../../instances/1.20.1 fabric/.optifine/OptiFine_1.20.1_HD_U_I6_pre6/Optifine-mapped.jar
OptiFabric error:
]

Additional context
it's a shame that these 2 mods are incompatible becouse with the combination of the 2 it becomes possible to make custom model mincarts just with a resourcepack, since optifine implements custom entity models and blanket fixes the weird minecart rotation.

@polko00 polko00 added the bug Something isn't working label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant