Applied Energistics 2

Applied Energistics 2

156M Downloads

Failed to decode packet 'clientbound/minecraft:custom_payload' on trying to open an ME network

WhitePhant0m opened this issue · 2 comments

commented

Describe the bug

Whenever a player tries to open an ME network with some specific item(s) inside it, they get disconnected.
This is the nbt of said item in an item cell.

          {
            #t: "ae2:i",
            components: {
              minecraft:item_name: "{\"italic\":false,\"text\":\"Arrow of Super Fatigue\"}",
              minecraft:rarity: "uncommon",
              minecraft:potion_contents: {
                custom_effects: [
                  {
                    duration: 450,
                    amplifier: 4b,
                    show_icon: 1b,
                    id: "minecraft:slowness"
                  },
                  {
                    duration: 555,
                    amplifier: 2b,
                    show_icon: 1b,
                    id: "minecraft:mining_fatigue"
                  }
                ],
                custom_color: 1682431
              }
            },
            #: 7L,
            id: "minecraft:tipped_arrow"
          }

How to reproduce the bug

New World.zip
Open attached world, try to open the ME chest, get disconnected.

Expected behavior

Not getting disconnected on opening the ME network.

Additional details

latest.log
debug.log
disconnect-client.txt

Which minecraft version are you using?

1.21

On which mod loaders does it happen?

NeoForge

Crash log

https://mclo.gs/GcTBtPk

commented
commented

This also happens to me with the following item

{
	"components": {
		"minecraft:item_name": {
			"italic": false,
			"text": "Splash Potion of Water Boost"
		},
		"minecraft:rarity": "uncommon",
		"minecraft:potion_contents": {
			"custom_effects": [
				{
					"duration": 1200, 
					"show_icon": true, 
					"id": "minecraft:water_breathing"
				},
				{
					"duration": 1200, 
					"show_icon": true, 
					"id": "minecraft:dolphins_grace"
				}
			], 
			"custom_color": 3847167
		}
	}, 
	"count": 1, 
	"id": "minecraft:splash_potion"
}