Minestom / VanillaReimplementation

Reimplementation of Vanilla features in Minestom
Apache License 2.0
126 stars 31 forks source link

Smithing inventory #35

Open KrystilizeNevaDies opened 10 months ago

KrystilizeNevaDies commented 10 months ago

Smithing recipes are already loaded and sent to the player inside of the crafting module. Inside of the crafting module, add the handling for smithing inventory interactions. Inside of the blocks module, add the logic to open the inventory when right clicking the block.

This includes smithing_transform and smithing_trim.

You also need to do some registry work to get this working. See comments below for more details

lordtgm commented 9 months ago

Done: reading the recipes, upgrading diamond gear to netherite gear, trimming armor mechanics current problems: the client doesnt receive the registries "trim_material" and "trim_pattern" required for rendering trimmed armor, causing a crash when you put the ingredient for trimming in the smithing table. I wasn't successful in sending the registries to the client. my work is available in the smithing branch of my personal fork. I'm moving on to other stuff to do for now.