- Joined
- January 28, 2022
- Messages
- 61
- Points
- 14
- Age
- 16
So I've seen people use custom pots to make their game crash.
This will get you banned do not abuse it. -Staff
This is the error on 1.20.5 + and 1.21.x
Now here is the solution!
Use versions below 1.20.4
meaning, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19x, 1.18x, 1.17x works fine
I highly recommend you guys use these versions for now.
Here is why it causes an issue for 1.20.5+ and 1.21.x
These changes mean that custom potions created using the old NBT format (pre-1.20.5) are incompatible with Minecraft versions 1.20.5 and above. Attempting to use such potions results in errors like DecoderException: Failed to decode packet 'clientbound/minecraft:update_mob_effect', as the client cannot interpret the outdated data format.
To ensure compatibility with Minecraft 1.20.5 and later versions:
Update Custom Potion Definitions: Revise all custom potion data to align with the new component-based structure, using namespaced IDs and snake_case field names.
This will get you banned do not abuse it. -Staff
This is the error on 1.20.5 + and 1.21.x
Now here is the solution!
Use versions below 1.20.4
meaning, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19x, 1.18x, 1.17x works fine
I highly recommend you guys use these versions for now.
Here is why it causes an issue for 1.20.5+ and 1.21.x
Key Changes in Minecraft 1.20.5:
- Transition from NBT to Item Components: The traditional tag field in item data has been replaced with structured components. This change affects commands like /give, /clear, and others that utilize item NBT data. For example, an item previously defined as iron_axe{Damage:10} is now represented as iron_axe[minecraft:damage=10].
- Mob Effect Identifiers: Mob effects have transitioned from numeric IDs to namespaced IDs. For instance, the effect previously identified by Id:1 (Speed) is now id:"minecraft:speed".
- Field Naming Conventions: NBT field names have been standardized from PascalCase to snake_case. Examples include CustomPotionEffects becoming custom_effects, and CustomPotionColor changing to custom_color.
- Introduction of potion_contents Component: Potion-related data has been encapsulated within a new potion_contents component. This component includes fields like potion, custom_color, and custom_effects.
These changes mean that custom potions created using the old NBT format (pre-1.20.5) are incompatible with Minecraft versions 1.20.5 and above. Attempting to use such potions results in errors like DecoderException: Failed to decode packet 'clientbound/minecraft:update_mob_effect', as the client cannot interpret the outdated data format.
Resolution:
To ensure compatibility with Minecraft 1.20.5 and later versions:
Update Custom Potion Definitions: Revise all custom potion data to align with the new component-based structure, using namespaced IDs and snake_case field names.