Comforts (Fabric 1.16.5 - 1.19.2)

Comforts (Fabric 1.16.5 - 1.19.2)

9M Downloads

[Bug]: Crash on Mob Conversion Due to Outdated Cardinal Components in Comforts 1.21.4

Closed this issue · 2 comments

commented

Minecraft Version

1.21.4

What happened?

Hi! im running Minecraft 1.21.4 with fabric, and I encountered a crash when conversions was taking place (eg zombie to drowned or villager to zombie). After some investigation, I found the crash is caused by an AbstractMethodError related to the ServerLivingEntityEvents.MOB_CONVERSION event, triggered by Fabric Entity Events API.

From what I can tell the crash appears to be caused by comforts bundling an outdated version of Cardinal Components API.

Crash caused by - org.ladysanke.cca.internal.entity.-CardinalComponentsEntity missing onConversion method

Crash fixed by - Manually installing the latest version of Cardinal-Components-API

Please it would be amazing if you could update Comforts dependency or bundled version of Cardinal Components API to version 6.2.2 for game versions 1.21.2-1.21.4 which includes the required OnConverstion implementation for Fabric Entity events.

Thank you for maintaining Comforts and getting it onto 1.21.4 - Its a great mod like many of your others! I look forward to hopefully seeing some more of your mods on 1.21.4 soon!

Thank you.

Relevant Log Outputs

No response

commented

I can second this issue on my fabric server.

Keep me posted we want this mod, it's so wonderful!

// Would you like a cupcake?

Time: 2025-05-30 04:06:37
Description: Ticking entity

java.lang.AbstractMethodError: Receiver class org.ladysnake.cca.internal.entity.CardinalComponentsEntity$$Lambda/0x0000009001c18210 does not define or inherit an implementation of the resolved method 'abstract void onConversion(net.minecraft.class_1308, net.minecraft.class_1308, net.minecraft.class_10179)' of interface net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents$MobConversion.
	at knot//net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.lambda$static$8(ServerLivingEntityEvents.java:105)
	at knot//net.minecraft.class_1308.modify$baa000$fabric-entity-events-v1$afterEntityConverted(class_1308.java:1670)
	at knot//net.minecraft.class_1308.method_63631(class_1308.java:1357)
	at knot//net.minecraft.class_1621.method_5650(class_1621.java:224)
	at knot//net.minecraft.class_1309.method_6108(class_1309.java:587)
	at knot//net.minecraft.class_1309.method_5670(class_1309.java:489)
	at knot//net.minecraft.class_1308.method_5670(class_1308.java:301)
	at knot//net.minecraft.class_1297.method_5773(class_1297.java:508)
	at knot//net.minecraft.class_1309.method_5773(class_1309.java:2567)
	at knot//net.minecraft.class_1308.method_5773(class_1308.java:366)
	at knot//net.minecraft.class_1621.method_5773(class_1621.java:149)
	at knot//net.minecraft.class_3218.method_18762(class_3218.java:762)
	at knot//net.minecraft.class_1937.method_18472(class_1937.java:502)
	at knot//net.minecraft.class_3218.method_31420(class_3218.java:407)
	at knot//net.minecraft.class_5574.method_31791(class_5574.java:54)
	at knot//net.minecraft.class_3218.method_18765(class_3218.java:377)
	at knot//net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1069)
	at knot//net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:953)
	at knot//net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:713)
	at knot//net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:292)
	at java.base/java.lang.Thread.run(Thread.java:1583)


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

-- Head --
Thread: Server thread
Stacktrace:
	at knot//net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents.lambda$static$8(ServerLivingEntityEvents.java:105)
	at knot//net.minecraft.class_1308.modify$baa000$fabric-entity-events-v1$afterEntityConverted(class_1308.java:1670)
	at knot//net.minecraft.class_1308.method_63631(class_1308.java:1357)
	at knot//net.minecraft.class_1621.method_5650(class_1621.java:224)
	at knot//net.minecraft.class_1309.method_6108(class_1309.java:587)
	at knot//net.minecraft.class_1309.method_5670(class_1309.java:489)
	at knot//net.minecraft.class_1308.method_5670(class_1308.java:301)
	at knot//net.minecraft.class_1297.method_5773(class_1297.java:508)
	at knot//net.minecraft.class_1309.method_5773(class_1309.java:2567)
	at knot//net.minecraft.class_1308.method_5773(class_1308.java:366)
	at knot//net.minecraft.class_1621.method_5773(class_1621.java:149)
	at knot//net.minecraft.class_3218.method_18762(class_3218.java:762)
	at knot//net.minecraft.class_1937.method_18472(class_1937.java:502)
	at knot//net.minecraft.class_3218.method_31420(class_3218.java:407)
	at knot//net.minecraft.class_5574.method_31791(class_5574.java:54)

-- Entity being ticked --
Details:
	Entity Type: minecraft:slime (net.minecraft.class_1621)
	Entity ID: 127
	Entity Name: Slime
	Entity's Exact location: -375.77, 10.44, -727.39
	Entity's Block location: World: (-376,10,-728), Section: (at 8,10,8 in -24,0,-46; chunk contains blocks -384,-64,-736 to -369,319,-721), Region: (-1,-2; contains chunks -32,-64 to -1,-33, blocks -512,-64,-1024 to -1,319,-513)
	Entity's Momentum: 0.00, -0.08, 0.00
	Entity's Passengers: []
	Entity's Vehicle: null
Stacktrace:
	at knot//net.minecraft.class_1937.method_18472(class_1937.java:502)
	at knot//net.minecraft.class_3218.method_31420(class_3218.java:407)
	at knot//net.minecraft.class_5574.method_31791(class_5574.java:54)
	at knot//net.minecraft.class_3218.method_18765(class_3218.java:377)
	at knot//net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1069)
	at knot//net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:953)
	at knot//net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:713)
	at knot//net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:292)
	at java.base/java.lang.Thread.run(Thread.java:1583)

-- Affected level --
Details:
	All players: 1 total; [class_3222['WiseNoodle'/1, l='ServerLevel[world]', x=-354.82, y=64.00, z=-760.58]]
	Chunk stats: 166
	Level dimension: minecraft:overworld
	Level spawn location: World: (48,70,32), Section: (at 0,6,0 in 3,4,2; chunk contains blocks 48,-64,32 to 63,319,47), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
	Level time: 616515941 game time, 29227 day time
	Level name: world
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Commands: false
	Level weather: Rain time: 4291 (now: true), thunder time: 57160 (now: false)
	Known server brands: fabric
	Removed feature flags: 
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
	Loaded entity count: 220
Stacktrace:
	at knot//net.minecraft.class_3218.method_8538(class_3218.java:1744)
	at knot//net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:1072)
	at knot//net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:953)
	at knot//net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:713)
	at knot//net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:292)
	at java.base/java.lang.Thread.run(Thread.java:1583)

-- System Details --
Details:
	Minecraft Version: 1.21.4
	Minecraft Version ID: 1.21.4
	Operating System: Linux (aarch64) version 6.8.0-1026-oracle
	Java Version: 21.0.7, Ubuntu
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Ubuntu
	Memory: 578813952 bytes (552 MiB) / 1291845632 bytes (1232 MiB) up to 8589934592 bytes (8192 MiB)
	CPUs: 4
	Processor Vendor: ARM
	Processor Name: Neoverse-N1
	Identifier: ARM Family 8 Model 0xd0c Stepping r3p1
	Microarchitecture: unknown
	Frequency (GHz): -0.00
	Number of physical packages: 1
	Number of physical CPUs: 4
	Number of logical CPUs: 4
	Graphics card #0 name: Virtio 1.0 GPU
	Graphics card #0 vendor: Red Hat, Inc.
	Graphics card #0 VRAM (MiB): 0.00
	Graphics card #0 deviceId: unknown
	Graphics card #0 versionInfo: version: 01
	Virtual memory max (MiB): 11989.50
	Virtual memory used (MiB): 5852.46
	Swap memory total (MiB): 0.00
	Swap memory used (MiB): 0.00
	Space in storage for jna.tmpdir (MiB): <path not set>
	Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): <path not set>
	Space in storage for io.netty.native.workdir (MiB): <path not set>
	Space in storage for java.io.tmpdir (MiB): available: 27936.83, total: 46041.01
	Space in storage for workdir (MiB): available: 27936.83, total: 46041.01
	JVM Flags: 2 total; -Xms1024M -Xmx8192M
	Fabric Mods: 
		antixray: AntiXray 1.4.9
			fabric-permissions-api-v0: fabric-permissions-api 0.3.3
		architectury: Architectury 15.0.3
		areas: Areas 6.1
		bookshelfinspector: Bookshelf Inspector 1.11+1.21.4
			org_yaml_snakeyaml: snakeyaml 2.4
		c2me: Concurrent Chunk Management Engine 0.3.1.1.0+1.21.4
			c2me-base: Concurrent Chunk Management Engine (Base) 0.3.1.1.0+1.21.4
			c2me-fixes-chunkio-threading-issues: Concurrent Chunk Management Engine (Fixes/Chunk IO/Threading Issues) 0.3.1.1.0+1.21.4
			c2me-fixes-general-threading-issues: Concurrent Chunk Management Engine (Fixes/General/Threading Issues) 0.3.1.1.0+1.21.4
			c2me-fixes-worldgen-threading-issues: Concurrent Chunk Management Engine (Fixes/WorldGen/Threading Issues) 0.3.1.1.0+1.21.4
			c2me-fixes-worldgen-vanilla-bugs: Concurrent Chunk Management Engine (Fixes/WorldGen/Vanilla Bugs) 0.3.1.1.0+1.21.4
			c2me-notickvd: Concurrent Chunk Management Engine (No Tick View Distance) 0.3.1.1.0+1.21.4
			c2me-opts-allocs: Concurrent Chunk Management Engine (Optimizations/Memory Allocations) 0.3.1.1.0+1.21.4
			c2me-opts-chunkio: Concurrent Chunk Management Engine (Optimizations/Chunk IO) 0.3.1.1.0+1.21.4
			c2me-opts-dfc: Concurrent Chunk Management Engine (Optimizations/Density Function Compiler) 0.3.1.1.0+1.21.4
			c2me-opts-math: Concurrent Chunk Management Engine (Optimizations/Math) 0.3.1.1.0+1.21.4
			c2me-opts-scheduling: Concurrent Chunk Management Engine (Optimizations/Scheduling) 0.3.1.1.0+1.21.4
			c2me-opts-worldgen-general: Concurrent Chunk Management Engine (Optimizations/General WorldGen) 0.3.1.1.0+1.21.4
			c2me-opts-worldgen-vanilla: Concurrent Chunk Management Engine (Optimizations/Vanilla WorldGen) 0.3.1.1.0+1.21.4
			c2me-rewrites-chunk-serializer: Concurrent Chunk Management Engine (Rewrites/Chunk Serializer) 0.3.1.1.0+1.21.4
			c2me-rewrites-chunk-system: Concurrent Chunk Management Engine (Rewrites/Chunk System) 0.3.1.1.0+1.21.4
			c2me-rewrites-chunkio: Concurrent Chunk Management Engine (Rewrites/Chunk IO) 0.3.1.1.0+1.21.4
			c2me-server-utils: Concurrent Chunk Management Engine (Server Utils) 0.3.1.1.0+1.21.4
			c2me-threading-lighting: Concurrent Chunk Management Engine (Threading/Lighting) 0.3.1.1.0+1.21.4
			com_ibm_async_asyncutil: asyncutil 0.1.0
			io_reactivex_rxjava3_rxjava: rxjava 3.1.8
			mixinsquared: MixinSquared 0.2.0-beta.6
			net_objecthunter_exp4j: exp4j 0.4.8
			org_jctools_jctools-core: jctools-core 4.0.5
			org_reactivestreams_reactive-streams: reactive-streams 1.0.4
		camerapture: Camerapture 1.10.1
			io_github_darkxanter_webp-imageio: webp-imageio 0.3.2
		cloth-config: Cloth Config v17 17.0.144
			cloth-basic-math: cloth-basic-math 0.6.1
		collective: Collective 8.3
		comforts: Comforts 10.0.0+1.21.4
			cardinal-components-base: Cardinal Components API (base) 6.1.2
			cardinal-components-entity: Cardinal Components API (entities) 6.1.2
			spectrelib: SpectreLib 0.17.2+1.21
		compostableflesh: Compostable Flesh 1.1
		cropsloverain: Crops Love Rain 2.4.1
			midnightlib: MidnightLib 1.6.7
		customizableelytra: Customizable Elytra 2.2.8
		customtimecycle: Custom Time Cycle 0.1.4-1.21.4
		cyclepaintings: Cycle Paintings 4.1
		doubledoors: Double Doors 7.0
		easyanvils: Easy Anvils 21.4.1
		enchanted_bookshelves: Enchanted Bookshelves 1.0
		fabric-api: Fabric API 0.119.2+1.21.4
			fabric-api-base: Fabric API Base 0.4.54+b47eab6b04
			fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.86+b1caf1e904
			fabric-biome-api-v1: Fabric Biome API (v1) 15.0.6+b1c29d8e04
			fabric-block-api-v1: Fabric Block API (v1) 1.0.31+7feeb73304
			fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.20+9c49cc8c04
			fabric-command-api-v1: Fabric Command API (v1) 1.2.62+f71b366f04
			fabric-command-api-v2: Fabric Command API (v2) 2.2.41+e496eb1504
			fabric-commands-v0: Fabric Commands (v0) 0.2.79+df3654b304
			fabric-content-registries-v0: Fabric Content Registries (v0) 9.1.19+25d1a67604
			fabric-convention-tags-v1: Fabric Convention Tags 2.1.20+7f945d5b04
			fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.14.1+1edcd29104
			fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.3.6+7feeb73304
			fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.6.2+e99da0f704
			fabric-data-generation-api-v1: Fabric Data Generation API (v1) 22.3.1+0f4e5f5504
			fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.10+7feeb73304
			fabric-entity-events-v1: Fabric Entity Events (v1) 2.0.15+62245bef04
			fabric-events-interaction-v0: Fabric Events Interaction (v0) 4.0.4+a4eebcf004
			fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.63+7d48d43904
			fabric-item-api-v1: Fabric Item API (v1) 11.3.0+ee91fa1f04
			fabric-item-group-api-v1: Fabric Item Group API (v1) 4.2.2+fcb9601404
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.5.4+bf2a60eb04
			fabric-loot-api-v2: Fabric Loot API (v2) 3.0.38+3f89f5a504
			fabric-loot-api-v3: Fabric Loot API (v3) 1.0.26+203e6b2304
			fabric-message-api-v1: Fabric Message API (v1) 6.0.25+7feeb73304
			fabric-networking-api-v1: Fabric Networking API (v1) 4.4.0+db5e668204
			fabric-object-builder-api-v1: Fabric Object Builder API (v1) 18.0.14+38b0d59804
			fabric-particles-v1: Fabric Particles (v1) 4.0.14+7feeb73304
			fabric-recipe-api-v1: Fabric Recipe API (v1) 8.1.1+640e77ae04
			fabric-registry-sync-v0: Fabric Registry Sync (v0) 6.1.11+4a9c1ece04
			fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.58+73761d2e04
			fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.19+7feeb73304
			fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 5.0.13+203e6b2304
			fabric-resource-loader-v0: Fabric Resource Loader (v0) 3.1.1+360374ac04
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.118+7feeb73304
			fabric-tag-api-v1: Fabric Tag API (v1) 1.0.7+7d48d43904
			fabric-transfer-api-v1: Fabric Transfer API (v1) 5.4.9+efa825c904
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.3.2+56e78b9b04
		fabric-language-kotlin: Fabric Language Kotlin 1.13.2+kotlin.2.1.20
			org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 2.1.20
			org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 2.1.20
			org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 2.1.20
			org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 2.1.20
			org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.27.0
			org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.10.1
			org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.10.1
			org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.6.2
			org_jetbrains_kotlinx_kotlinx-io-bytestring-jvm: kotlinx-io-bytestring-jvm 0.7.0
			org_jetbrains_kotlinx_kotlinx-io-core-jvm: kotlinx-io-core-jvm 0.7.0
			org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.8.0
			org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.8.0
			org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.8.0
		fabric_tps: Fabric TPS 1.21.1-1.5.0
		fabricloader: Fabric Loader 0.16.14
			mixinextras: MixinExtras 0.4.1
		fabricproxy-lite: FabricProxy Lite 2.9.0
			com_moandjiezana_toml_toml4j: toml4j 0.7.2
		fastitemframes: Fast Item Frames 21.4.3
		ferritecore: FerriteCore 7.1.1
		forgeconfigapiport: Forge Config API Port 21.4.1
			com_electronwill_night-config_core: core 3.8.1
			com_electronwill_night-config_toml: toml 3.8.1
		glitchcore: GlitchCore 2.3.0.4
		java: OpenJDK 64-Bit Server VM 21
		krypton: Krypton 0.2.8
			com_velocitypowered_velocity-native: velocity-native 3.3.0-SNAPSHOT
		lithium: Lithium 0.15.1+mc1.21.4
		long_books: Long Books 1.0
		minecraft: Minecraft 1.21.4
		mr_craftable_nametag: Craftable Nametag 61.1
		mr_death_count: Death Count 1.0
		mr_no_endermangrief: No Enderman Grief 1-v.2.1.2
		mr_oszoukauas_beesmall: oSzoukaua's: Bee Small 1.2
		nochatreports: No Chat Reports 1.21.4-v2.11.0
		owo: oωo 0.12.20+1.21.4
			blue_endless_jankson: jankson 1.2.2
			io_wispforest_endec: endec 0.1.9
			io_wispforest_endec_gson: gson 0.1.6
			io_wispforest_endec_jankson: jankson 0.1.6
			io_wispforest_endec_netty: netty 0.1.5
		puzzleslib: Puzzles Lib 21.4.13
		randomvillagenames: Random Village Names 3.8
		resource_backpacks: Resource Backpacks 1.1.0
		resourceconfigapi: Resource Config API 1.21.4-3.6.1
		resourcelibrary: Resource Library 1.21.4-2.5.0
		roughlyenoughitems: Roughly Enough Items 18.0.800
			error_notifier: Error Notifier 1.0.11
		sereneseasons: SereneSeasons 10.4.0.6
			net_jodah_typetools: typetools 0.6.3
		snowyleavesplus: SnowyLeavesPlus 0.1.13
		soaring_phantoms: Soaring Phantoms 1.0.0+1.21.1
		spark: spark 1.10.129
		undeadleather: UndeadLeather 1.0.2
		villagernames: Villager Names 8.2
		voicechat: Simple Voice Chat 1.21.4-2.5.26
	Server Running: true
	Player Count: 1 / 20; [class_3222['WiseNoodle'/1, l='ServerLevel[world]', x=-354.82, y=64.00, z=-760.58]]
	Active Data Packs: vanilla, fabric, bookshelfinspector, camerapture, collective (incompatible), comforts (incompatible), customizableelytra (incompatible), easyanvils (incompatible), fabric-convention-tags-v2, fastitemframes (incompatible), mr_craftable_nametag, mr_death_count (incompatible), mr_no_endermangrief (incompatible), mr_oszoukauas_beesmall, resource_backpacks (incompatible), sereneseasons, undeadleather
	Available Data Packs: bookshelfinspector, camerapture, collective (incompatible), comforts (incompatible), customizableelytra (incompatible), easyanvils (incompatible), fabric, fabric-convention-tags-v2, fastitemframes (incompatible), minecart_improvements, mr_craftable_nametag, mr_death_count (incompatible), mr_no_endermangrief (incompatible), mr_oszoukauas_beesmall, redstone_experiments, resource_backpacks (incompatible), sereneseasons, trade_rebalance, undeadleather, vanilla
	Enabled Feature Flags: minecraft:vanilla
	World Generation: Stable
	World Seed: -3594954339578924545
	Suppressed Exceptions: ~~NONE~~
	Is Modded: Definitely; Server brand changed to 'fabric'
	Type: Dedicated Server (map_server.txt)```
commented

So sorry about that, looks like I forgot to update the bundled dependency. It should be fixed now in the 10.0.1 version I just released.