74480d9d2c
- 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
22 lines
579 B
Properties
22 lines
579 B
Properties
org.gradle.jvmargs=-Xmx4G
|
|
org.gradle.daemon=true
|
|
|
|
# Mod Properties
|
|
mod_version=3.2
|
|
mod_id=custom_ore_gen
|
|
mod_name=Custom Ore Gen
|
|
mod_group_id=com.aulyrius.custom_ore_gen
|
|
mod_license=Not specified
|
|
mod_authors=Aulyrius crée via MCreator
|
|
mod_description=Changement de la distribution des ressources sur Minecraft, pour NeoForge 1.21.1
|
|
|
|
# Minecraft and NeoForge Versions
|
|
minecraft_version=1.21.1
|
|
minecraft_version_range=[1.21, 1.21.2)
|
|
neo_version=21.1.219
|
|
neo_version_range=[21,)
|
|
loader_version_range=[1,)
|
|
|
|
# KubeJS version (to be updated when available for 1.21)
|
|
# kubejs_version=
|