Skip to content
Success

Changes

Summary

  1. Update smithing recipe registration (#2520) (commit: 95e7d5b) (details)
Commit 95e7d5b5d3e58ff07ba1e7812837eda3cf643088 by noreply
Update smithing recipe registration (#2520)

* Update Smithing recipes to support `SmithingTransformRecipe`s

Support for "SmithingTrimRecipes" coming soon

* Change creation of `NamespacedKey`

Also remove all trim related things. I just don't understand how this is supposed to work?? :(

* Check if `originalMeta` is `null`

* Change recipe classes back to the `NMS` ones.

* Optimize some import stuff.

* Change names and optimize ternary operator

* Accidentally renamed the wrong variables
(commit: 95e7d5b)
The file was modifiedv1_19/src/main/java/com/denizenscript/denizen/nms/v1_19/helpers/ItemHelperImpl.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/containers/core/ItemScriptContainer.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/nms/interfaces/ItemHelper.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/scripts/containers/core/ItemScriptHelper.java (diff)
The file was modifiedv1_18/src/main/java/com/denizenscript/denizen/nms/v1_18/helpers/ItemHelperImpl.java (diff)
The file was modifiedv1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/helpers/ItemHelperImpl.java (diff)
The file was modifiedv1_17/src/main/java/com/denizenscript/denizen/nms/v1_17/helpers/ItemHelperImpl.java (diff)