senseiwells / EssentialClient

EssentialClient is a client side mod originally forked from Carpet Client for 1.15.2 that implements new client side features
MIT License
77 stars 14 forks source link

Custom Item Definition and Display in FakeScreen with New Component System in Minecraft 1.20.6 #137

Open JiangZeOvO opened 4 months ago

JiangZeOvO commented 4 months ago

I'm writing to inquire about how to define a custom item and display it in a FakeScreen in Minecraft 1.20.6, considering the recent changes Mojang made by replacing NBT with a component-based system. Previously, I used ItemStack.parse to edit NBT data to display custom items. However, with the new system, I'm unsure of the appropriate method to achieve this. Is there a new way to define and display custom items, or is it currently not possible?