Skip to content

Crash on Player Join: IllegalStateException: Unknown component type named farmersdelight:backstabbing in NeoForge 1.21.1 #1352

Description

@FrostMatr1x

Minecraft version

1.21.1

Farmer's Delight version

1.3.2

NeoForge version

21.1.233

Description

When a player joins a NeoForge 1.21.1 server running FlectonePulse v1.10.1, the Netty IO thread crashes with an IllegalStateException. This happens because the internal PacketEvents library bundled with FlectonePulse does not recognize custom Data Components registered by mods, specifically farmersdelight:backstabbing from the Farmer's Delight mod.
This error spams the console for every player join and may lead to network instability or DoS vulnerabilities due to unhandled exceptions in the Netty event loop.

Steps to reproduce

Install NeoForge 1.21.1
Add Farmer's Delight mod (which registers the backstabbing enchantment effect component).
Install FlectonePulse plugin.
Start the server and have a player join.

Mod list

Mods:
Create (6.0.10)
Create Deco
Create: Avionics
Create: Crafts & Additions
Create: Food
Create: Mobile Packages
Create: Simulated
Create Connected
Create Extra Casing
Create Propulsion
Create Tweaked Controllers
Copycats+
Farmer's Delight
Quark (4.1-480)
Sable (Физика блоков)
Supplementaries
Terralith (Генерация мира)
Nature's Spirit
Towns and Towers
YUNG's API (и структуры: Better Dungeons, Better Mineshafts и др.)
KubeJS
GeckoLib
Curios API
Polymorph
Rechiseled
Slice & Dice
Tom's Simple Storage
Voice Chat (Simple Voice Chat)
Artifacts
Cataclysm
Iron Furnaces
Enderite Mod
Aether Redux / The Aether
Twilight Forest
Biomes O' Plenty
Alex's Mobs
Moonlight Lib
SuperMartijn642's Core Lib
FerriteCore (Оптимизация)
Entity Culling (Оптимизация)
ModernFix (Оптимизация)
ImmediatelyFast (Оптимизация)
Embeddium / Rubidium (Рендер)
YetAnotherConfigLib (YACL)
Fly Higher
Power Grid
Refurbished Furniture
Moog's Structures
Effortless Building
Comforts
Ribbits
Charm of Undying
Gravestone Mod (Curios Compat)
Expanded Delight
Croptopia
Vinery
Beach Party
And many more dependencies...

Bukkit/Paper layer on Youer:
FlectonePulse (v1.10.1)
UltimateAutoRestart (v2026.05)
LuckPerms
EssentialsX
PlaceholderAPI
SkinsRestorer
TAB
CoreProtect
rlogin
Simple Voice Chat (Bukkit part)

Logs

java.lang.IllegalStateException: Error while reading registry minecraft:enchantment for net.flectone.pulse.library.packetevents.protocol.player.User@...
at net.flectone.pulse.library.packetevents.util.mappings.SynchronizedRegistriesHandler.handleRegistry(SynchronizedRegistriesHandler.java:181)
...
Caused by: java.lang.IllegalStateException: Unknown component type named farmersdelight:backstabbing encountered
at net.flectone.pulse.library.packetevents.protocol.component.IComponentMap.decode(IComponentMap.java:47)
at net.flectone.pulse.library.packetevents.protocol.item.enchantment.type.EnchantmentType.lambda$decode$1(EnchantmentType.java:67)
...

Minimal instance

  • I have tested this on a minimal instance

Performance and shader mods

  • I am using performance or shader mods

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions