Create icon indicating copy to clipboard operation
Create copied to clipboard

Changes in the code of the ValueSettingsFormatter

Open Lucreeper74 opened this issue 6 months ago • 0 comments
trafficstars

I was trying to implement a new ScrollOptionBehavior for my mod. But I was struggling when I wanted to add my own Lang entries for the menu.

Since the code from ValueSettingsFormatter, have an hard codded CreateLang.translateDirect(), I can't just make my own lang entries by adding my own Lang.translateDirect(). I came on the Devchat on the discord to ask help, and IThundxr advised me to open a ticket to report the problem. I didn't take the initiative on my own because I wasn't sure if it was intentional.

In this class, you can see the hard codded "CreateLang.translateDirect()" https://github.com/Creators-of-Create/Create/blob/mc1.20.1/dev/src/main/java/com/simibubi/create/foundation/blockEntity/behaviour/ValueSettingsFormatter.java

Thanks you very much in advance to take the time to read this and modify it for better compatibility for addons makers, Create: Metallurgy dev here 👋

Lucreeper74 avatar Apr 21 '25 18:04 Lucreeper74