Random Enchants 2 Modification
After the text come previous codes.
This version, inheriting ideas from the original Random Enchants, features unique enchantments and curses for various tools and weapons.
Universal Effects
Most items can receive:
- Shielding Enchantment prevents damage from cacti, explosions, and lava
- Timeless Enchantment prevents items from disappearing from the world
- Solar Enchantment allows durability restoration during daytime or near torches (requires 8+ light levels)
Combat Equipment
Weapons unlock new options in battles:
- Dungeon Enchantment makes defeated mobs drop items from standard dungeon loot
- Chaos Strike applies random effects to hit entities
- Swift Charging speeds up attack cooldown on swords and axes
Axes can be enhanced with Clear Forestry which fells entire trees at once, while shields gain the Projectile Return ability, sending arrows back with double force.
Ranged Combat
Ranged weapons become significantly more diverse:
- Arrow return to inventory feature
- Position swapping with target
- Instant teleportation to shot location (except near lava)
- Faster reloading and glass penetration capability
Also available are explosive, homing, and illuminating arrows, as well as arrows with ricochet and plant harvesting properties.
Combined Abilities
Weapons and bows share the following parameters:
- Forced target jumping to lethal heights
- Health draining, instant death, or lightning strike effects
- Target paralysis and levitation
- Automatic loot collection and provoking creatures against each other
- Grabbing items from enemy hands
Tools and Miscellaneous
Pickaxes function faster with obsidian, have a chance to repair when breaking stone, or receive random items when mining. Parameters for working with low durability and equal mining speed for all hard blocks are also introduced.
Chestplates become capable of environmental teleportation damage avoidance, incoming attack evasion, and creating zones of non-aggression.
Fishing rods will strip armor from any target or allow grappling hook-enabled high propulsion, while Elytras feature protection from flight movement-based damage scaling with enchantment levels.
Negative Effects
Items can also be affected by curses:
- Tools become faint in use whenever areas are adequately lit
- Drawing constant undesired monster group attention while equipped
- Poor grip manifests unresponsible dropping of items from active player hand slots accompanied by slower gathering rates Calling reinforcements from line-of-sight monster generation set into short range ambushing strike instantaneously
If certain effects need to be enabled or disabled, the configuration can be adjusted through these files:
.minecraft/saves/YourWorld/serverconfig/randomenchants2-server.toml
The mod functions perfectly with Enchantment Descriptions for displaying additional spell details.