Skip to content

IllegalArgumentException: Component 'minecraft:map_post_processing' is not encodable #220

@852DuartePls

Description

@852DuartePls

Spark link

https://spark.lucko.me/qrxqtAItvE

Plugin Version

1.7.0

Server Version

1.21

Server Platform

Paper/Purpur

Describe the bug

A crash occurs on the client side when Minecraft tries to process a minecraft:map_post_processing component, specifically its SCALE property. The game fails to encode or serialize this component, resulting in a java.lang.IllegalArgumentException. No errors appear on the server side.

Crash log generated in the latest supported version according to Modrinth (1.21.7):
https://mclo.gs/sfZRIh1
The same thing continues to happen in version 1.21.8:
https://mclo.gs/KfcQKba

Steps to reproduce

  1. Obtain any filled map in the game (e.g., player-generated maps, buried treasure maps, or structure maps).
  2. Place the map for sale (/ah sell (amount)).
  3. Tell another player to purchase the map from the shop.
  4. The client attempting the purchase crashes immediately, while the server continues running without errors.
Image Image

Additional context

No response

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I ticked all the boxes without actually reading them
  • My version of Minecraft is supported by CrazyCrew.

Metadata

Metadata

Labels

type: bugSomething doesn't work as it was intended to.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions