mojira.dev
MCPE-173535

Fails to upgrade minecraft:friction component from 1.10 to 1.18 if friction is greater than 1

Loading a 1.10 format version block with a minecraft:friction component set to a value greater than one, which worked at the time to increase velocity without user input, current versions of the game return the following content error:

<TIMESTAMP>[Json][error]-block_definitions | <PACK_PATH> | <FILE_PATH> | upgrade <FILE_PATH> |  -> minecraft:block -> components -> minecraft:friction:  the input is outside of the accepted range (0.100000, 1)

 

Due to this some blocks are missing from old behavior packs.

Comments 3

What do you expect to happen instead? It was likely a bug in the earlier version to allow values outside the expected range.
Does it work if you fix the pack to have values inside the allowed range?
If not, please attach the pack after making sure it loads with no errors.

I would expect the game to just continue accepting values outside that range for those older files, so packs that made use of it aren't broken. If you change what works for older format versions, there's no need to include a format version.
If I change the values to be inside the allowed range, which the average user will not do, the blocks "work" again but don't have their intended behavior when walking on them.

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Could you please attach an example addon showcasing the issue?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Vinzent Glück

(Unassigned)

Unconfirmed

Windows

22H2

1.20.20.22 Preview, 1.20.12 Hotfix

Retrieved