feat: add Vampiric and Explosive enchantments with 21 language translations
All checks were successful
Build Mod / build (push) Successful in 2m33s

- Add VampiricEnchantmentEffect: heals player on hit (50%/100%/150% per level)
- Add ExplosiveEnchantmentEffect: chance-based explosions (10%/20%/30% per level)
- Register enchantments in ModEnchantmentEffects and datagen
- Add translations for 21 languages (DE, PT-BR, IT, ZH-CN, ZH-TW, JA, KO, RU, TR, UK, NL, DA, SV, NO, PL)
- Generate enchantment JSON data files
- Add enchantments to enchanting table tag
This commit is contained in:
2026-01-18 18:51:00 -06:00
parent 92ac5869b2
commit 2eeee3d626
31 changed files with 338 additions and 38 deletions

View File

@@ -3,7 +3,7 @@ plugins {
id 'idea'
id 'maven-publish'
id 'net.minecraftforge.gradle' version '[6.0.46,6.2)'
id 'org.parchmentmc.librarian.forgegradle' version '1.+'
// id 'org.parchmentmc.librarian.forgegradle' version '1.+'
}
version = mod_version
@@ -27,8 +27,7 @@ minecraft {
// Additional setup is needed to use their mappings: https://parchmentmc.org/docs/getting-started
//
// Simply re-run your setup task after changing the mappings to update your workspace.
mappings channel: mapping_channel, version: mapping_version
mappings channel: 'official', version: '1.21.11'
// Forge 1.20.6 and newer use official mappings at runtime, so we shouldn't reobf from official to SRG
reobf = false