mojira.dev
MCPE-139023

New potion translation strings not matching java

These strings were changed in this beta, however they still don't match Java's established format. Therefore this change sidesteps parity, interoperability, and consistency.

Format

Old
potion.effectName.postfix

Current beta
potion.effectName.name
potion.effectName.splash.name
potion.effectName.linger.name

Java
item.minecraft.potion.effect.effect_name
item.minecraft.splash_potion.effect.effect_name
item.minecraft.lingering_potion.effect.effect_name

Confusing effect names

The current strings use names for potions that are not used anywhere else, like damageBoost instead of strength, which is just confusing.

Actual effect name

Effect name in bedrock lang files

strength

damageBoost

fire_resistance

fireResistance

instant_damage

harm

instant_health

heal

invisibility

invisibility

slowness

moveSlowdown

slow_falling

slowFalling

speed

moveSpeed

night_vision

nightVision

poison

poison

regeneration

regeneration

turtle_master

turtleMaster

water_breathing

waterBreathing

weakness

weakness

Comments 2

Affects 1.17.40.20

night_vision

is still

nightVison

in loot tables but not listed. Likewise,

long_night_vision

is still

long_nightVision

This camel case discrepancy issue effects potion, splash_potion and lingering_potion variants.

From my testing, all other potion id’s listed on the Minecraft Wiki are listed in the correct case format.

Note: the generation of the potion in a loot table uses a function

"function": "set_potion",

and an id

"id": "long_nightVision"

If you use the listed one "night_vision", you get a water bottle.

Ref: Minecraft Wiki Potion Metadata

tryashtar

(Unassigned)

609895

Confirmed

Multiple

1.19.80.21 Preview, 1.19.10.20 Preview, 1.17.40.21 Beta, 1.17.30.25 Beta, 1.17.30.22 Beta, 1.17.30, 1.18.31, 1.19.70, 1.21.60.28 Preview

Retrieved