| Comment: |
Add Fabric 26.1+ class templates (Mojmap) (#2639 )
* Added freemarker templates for 26.1+ fabric mods and renamed old versions in "NAME (1.21.11-).java.xyza", enchantment 26.1+ template is not changed yet for my information miss * Set FabricEnchantment (26.1+).java.ft content according to NeoForgeEnchantment.java.ft but both are not functionals in newer versions, also renamed FabricStatusEffect (26.1+).java.xyza to FabricMobEffect (26.1+).java.xyza for coherence * Added a Minecraft version parsing for fabric with method computeVersion in FabricModule.kt * Fixed typos * Added gradle variables support and minecraft version for neoforge for remove enchantment template in 1.21+ * Added new Json template for 1.21+ enchantments instead of unfunctional java classes with a new action for minecraft resources creation containing for now only enchantments templates (in a future pr i think that i'll expand it, changing from Minecraft Enchantment to Minecraft Json and adding blockstates, models, etc. templates) * Improved resource modid detection resource root's modid now detected scanning the path instead of choosing ever the first modid in project modids * Update action text for Minecraft Json creation * Clean up commented code in MinecraftResourceCreateAction Removed commented-out code related to module and Minecraft version checks. * Cleaned Code and Deleting Rendundant Version Detecting Code * Remove fabricMinecraftVersion from FabricModule Remove unused fabricMinecraftVersion property. * Removed Unused Imports and Deleted Json Template * Resolved unrelated formatting changes * Fix formatting of constructor in ForgeEnchantment template * Default to newest template if mcVersion is null --------- Co-authored-by: joe <[email protected]> |
Status: | all builds with this change have finished |
| Revision: | b8a594f8f8413eef6bdfa66bbd13b3dbc2392af8 | VCS Roots: | minecraft-dev/MinecraftDev (Git), minecraft-dev/MinecraftDev Nightly (Git) |
| Parent revisions: | c6f0217256b87cc10966c66f6d04d239ebd0d0ee | ||
| User: | Unknown (none of TeamCity users defined orlando sangiovanni username in their VCS username settings) | ||
Changed: 26 files (8 removed, 14 added, 4 edited) in