Closed yor42 closed 4 months ago
The recent changes primarily focus on modifying the MWCGroovyPlugin
class and the CraftingStation
class in the project. The MWCGroovyPlugin
class now registers the craftingStation
directly instead of using a virtualized registrar. Additionally, the CraftingStation
class has had its dependencies streamlined by removing unnecessary imports for ItemsIngredient
and OreDictIngredient
.
File Path | Change Summary |
---|---|
src/main/java/com/paneedah/mwc/groovyscript/MWCGroovyPlugin.java |
Modified the onCompatLoaded method to use getRegistrar().addRegistry(craftingStation) instead of getVirtualizedRegistrar().addFieldsOf(this) . |
src/main/java/com/paneedah/mwc/groovyscript/script/CraftingStation.java |
Removed imports for ItemsIngredient and OreDictIngredient , reducing dependencies. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
๐ Description
This PR Fixes currently broken GS container registry along deprecated calls.
๐ฏ Goals
Fix broken GS container registry Replace deprecated calls with futureproof one
โ Non Goals
It is not a goal to overhaul GS integration
๐ฆ Testing
Used this script to verify recipe customization working again
โฎ๏ธ Backwards Compatibility
should be backward compatible
๐ Related Issues & Documents
N/A
๐ผ๏ธ Screenshots/Recordings
๐ Added to documentation?
๐ [optional] What gif best describes this PR or how it makes you feel?