Commit Graph

6 Commits

Author SHA1 Message Date
feldenr 74480d9d2c feat: replace event-based drops with Global Loot Modifier (fix Create drill crash)
- Add CustomOreLootModifier (Global Loot Modifier) handling all ore drops,
  ensuring compatibility with machines (Create drill/contraptions) and avoiding
  duplication. Handles silk touch (vanilla block / shard diamond block) and
  fortune via config-driven min/max drops.
- Register GLM serializer via DeferredRegister in CustomOreGenMod (user code block)
- Rewrite OreBreakEventHandler: remove direct drops mutation that caused
  UnsupportedOperationException on immutable list when broken by Create drill.
  Drops are now fully GLM-driven; handler only triggers XP/procedure logic.
- Migrate loot tables from loot_table/ (singular, 1.20) to loot_tables/
  (plural, NeoForge 1.21 format) for all 16 ore blocks.
- Declare GLM in data/neoforge/loot_modifiers/global_loot_modifiers.json
- Add Create crushing + milling recipes for diamond -> diamond shards
- Config tweaks: tool durabilities (pickaxe/axe/shovel 450, paxel 800),
  Pure Golden Ore maxHeight 256 -> 320
- Refresh shard diamond armor/item textures
- Simplify unit tests for new drop system
2026-06-14 11:08:59 +02:00
felden.r@grenoble.archi.fr d0ae2916ad fix: resolve build errors and link tool/armor stats to config 2026-02-03 11:23:06 +01:00
felden.r@grenoble.archi.fr 7bd578797b chore: align ore drops and XP with vanilla 1.21 and add AGENTS.md guide 2026-02-03 09:23:25 +01:00
felden.r@grenoble.archi.fr b636fd4295 Fix world crash, restore custom ores, fix armor textures (NeoForge 1.21.1) 2026-02-02 16:57:31 +01:00
feldenr e388fb6ad1 Changement global + ajout item et commande 2026-01-04 22:08:42 +01:00
Roman ea4bcfbbeb Correction texture diamond shard ore 2025-12-30 14:03:14 +01:00