Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CIT] Values such as {"translate":"filled_map.manion"} in the item_name component don't seem to be detected in .properties #7755

Open
EtechMC opened this issue Sep 19, 2024 · 1 comment

Comments

@EtechMC
Copy link

EtechMC commented Sep 19, 2024

Description of Issue

I'm not sure the best way to explain this. But it seems that there is no way to have a CIT based on the {"translate":"value"} item_name component as shown in the image below
Screenshot 2024-09-16 165548
I have tried many different synaxes for it, and none of them seem to work.
I've concluded at this point that it must be an Optifine issue of some kind.
Screenshot 2024-09-15 172710

Steps to Reproduce

  1. Create a new resource pack and create a .properties file in assets>minecraft>optifine>cit
  2. Open the .properties file and write type=item matchItems=filled_map texture=map_mansion components.item_name={"translate":"filled_map.mansion"}
  3. In the same folder where the .properties file is located, add a png file and name it "map_mansion.png"
  4. Load the resource pack in Optfine 1.21.1 and obtain a Woodland explorer map from a cartographer villager

OptiFine Version

1.21.1 HD U J1 pre11

Installation Method

Placed in the mods folder

Fabric/Forge Version

Forge 52.0.15 (Minecraft 1.21.1)

Other Installed Mods

NBT Autocomplete (Note: The issue still occurs without this mod)

F3 Debug Screenshot

2024-09-18_18 09 42

Additional Notes

I know this is probably missing some information, but I don't know what else I could include. If any other information is needed then please ask, I am not good at this sort of thing.

@EtechMC
Copy link
Author

EtechMC commented Sep 25, 2024

Just as an update, I tried it with CIT resewn on fabric and it works fine, just not on Optfine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants