mojira.dev
MC-271574

Inlining a painting variant causes players to disconnect when receiving entity data

A painting with an inlined variant can be summoned with the following command:

/summon minecraft:painting ~ ~ ~ {variant:{asset_id:"",width:1,height:1}}

Upon executing this command, any observing players including the placer will get kicked from the server with the following message:

Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:set_entity_data'

When trying to reconnect, because the painting still exists in the world, the player will get kicked again.

The following item also produces this issue, meaning any creative player can cause a chunk ban for themselves and others:

/give @s minecraft:painting[minecraft:entity_data={id:painting,variant:{asset_id:"",width:1,height:1}}]

Comments 0

No comments.

haykam

gegy

Confirmed

Platform

Important

Networking

24w18a, 24w19b

24w20a

Retrieved