mojira.dev
MC-195975

Item translation/Locked block with resourcepack

When having an item with name {"translate":"key"} and try to oben a lockt chest {Lock:key} it don´t work if I have an active resourcepack whit a translation for "key".

 

To replicate:

  1. Join attached world (v. 21w03a)

  2. Try to open the dropper with the stick whitout the resourcepack

  3. Activate the resourcepack and set your language to "Englisch / US"

  4. Try to open the dropper again

The signs will help you to understand!

Linked issues

Attachments

Comments 8

Hey there!

Please could you provide some screenshots or recordings of this issue occurring whilst the F3 Debug Screen is enabled. This would help myself, along with others, determine what the problem is. Thanks!

This is intended. You can't use a resource pack to bypass the lock

I made a world and a resourcepack to replicate the bug!

⚠️ Please do not add Affected Versions to resolved reports.

Have a look at the Resolution and the comments to see why this ticket has been resolved. If you think this ticket has been resolved erroneously you can contact the Mojira staff on Discord or Reddit.

-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

You can't reopen it. It is not a bug, but an intended feature

You can use a resource pack to bypass the Lock.

To open a container with the enabled resource pack, the Lock needs to match the translation, so in this case:

§5Translated Item

To get such a Lock in game, click on this sign:

/setblock ~ ~ ~ oak_sign{Text1:'{"text":"","clickEvent":{"action":"run_command","value":"data modify block 8 4 8 Lock set value \\"\\u00A75Translated Item\\""}}'}

I'm able to replicate this in 21w03a, this definitely doesn't feel intended

Quipsi Quips

(Unassigned)

Unconfirmed

(Unassigned)

block-data, language, lock, resource-pack, translate

1.16.1, 20w30a, 1.16.2 Release Candidate 1, 20w46a, 21w03a

Retrieved