Skip to content

Capybaras cause a network protocol error for client when they fart. #240

@brys0

Description

@brys0

What happened?

This is a pretty funny bug lol.

When a capybara farts, the sound plays, but the client is disconnected from the server with a network protocol error.

Fabric API version

0.141.2+1.21.11

Relevant log output

---- Minecraft Network Protocol Error Report ----
// Maybe this time it will work!

Time: 2026-02-01 10:03:09
Description: Packet handling error

java.lang.IllegalStateException: Invalid entity data item type for field 17 on entity CapybaraEntity['Capybara'/923, l='ClientLevel', x=156.97, y=66.00, z=-58.60]: old=IDLING(class fr.hugman.promenade.entity.CapybaraEntity$State), new=SPIN_HEAD(class com.faboslav.friendsandfoes.common.entity.pose.FriendsAndFoesEntityPose)
	at knot//net.minecraft.class_2945.method_12785(class_2945.java:124)
	at knot//net.minecraft.class_2945.method_12779(class_2945.java:115)
	at knot//net.minecraft.class_634.method_11093(class_634.java:665)
	at knot//net.minecraft.class_2739.method_11808(class_2739.java:54)
	at knot//net.minecraft.class_2739.method_65081(class_2739.java:12)
	at knot//net.minecraft.class_11980$class_11981.method_74450(class_11980.java:55)
	at knot//net.minecraft.class_11980.method_74449(class_11980.java:38)
	at knot//net.minecraft.class_310.method_1523(class_310.java:1337)
	at knot//net.minecraft.class_310.method_1514(class_310.java:966)
	at knot//net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)


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

-- Head --
Thread: Render thread
Stacktrace:
	at knot//net.minecraft.class_2945.method_12785(class_2945.java:124)
	at knot//net.minecraft.class_2945.method_12779(class_2945.java:115)

-- Incoming Packet --
Details:
	Type: clientbound/minecraft:set_entity_data
	Is Terminal: false
	Is Skippable: false
Stacktrace:
	at knot//net.minecraft.class_2600.method_59803(class_2600.java:41)
	at knot//net.minecraft.class_8673.method_60882(class_8673.java:146)
	at knot//net.minecraft.class_8673.method_59807(class_8673.java:125)
	at knot//net.minecraft.class_11980$class_11981.method_74450(class_11980.java:60)
	at knot//net.minecraft.class_11980.method_74449(class_11980.java:38)
	at knot//net.minecraft.class_310.method_1523(class_310.java:1337)
	at knot//net.minecraft.class_310.method_1514(class_310.java:966)
	at knot//net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:115)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🧐 Needs Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions