Wiki 9Minecraft MoreVanillaLib Mod Wiki

MoreVanillaLib Mod — Guide

Special Material Effects

MoreVanillaLib includes a specialized "Feature" system that grants unique abilities to items made from specific materials. These effects are handled globally by the library:

  • Fiery Effect: Tools made from Fiery materials (often involving Blaze rods or powder) have an inherent Auto-Smelt ability. Mining ores will drop the smelted ingot version, and attacking mobs will set them on fire.
  • Glowstone Effect: Items provide a light source or grant the player Night Vision when held or worn, depending on the specific child mod's implementation.
  • Ender Effect: Provides a chance to teleport away from danger or increases the drop rate of Ender Pearls. Ender tools often have a longer reach.
  • Slime Effect: Adds significant knockback to weapons, allowing players to keep enemies at a distance.
  • Obsidian Effect: Grants extreme durability and resistance to fire/lava damage, making the equipment ideal for Nether exploration.

Technical Integration

For modpack developers, MoreVanillaLib utilizes the standard Minecraft Tag system. It looks for specific item tags to determine what counts as a "repair ingredient" for the various tiers.

  • #c:ingots/copper or #forge:ingots/copper is used for Copper tools.
  • #c:gems/quartz or #forge:gems/quartz is used for Quartz tools.
  • #c:obsidian or #forge:obsidian is used for Obsidian tools.

This tagging system ensures that MoreVanillaLib is compatible with other resource-adding mods, allowing materials from different mods to be used interchangeably in crafting and repairing.

Core Mechanics and Material Tiers

The primary function of MoreVanillaLib is the definition of custom ToolMaterial and ArmorMaterial sets. These tiers are used to calculate how effective a tool is at mining, how much damage it deals, and how long it lasts.

A showcase of various material tiers managed by the library

Material Statistics Table

The following table outlines the base statistics defined within the library for use across supported mods:

Material Durability Mining Speed Attack Damage Enchantability
Paper 13 1.8 0.0 17
Slime 121 3.0 0.5 22
Coal 145 2.5 0.5 17
Lapis 173 6.0 1.0 32
Glowstone 173 5.0 1.5 35
Redstone 173 6.5 1.5 20
Bone 176 4.0 1.0 10
Copper 185 4.5 1.5 12
Prismarine 225 6.0 2.5 15
Quartz 137 8.0 2.0 20
Fiery 750 7.0 2.5 15
Emerald 1054 9.0 3.5 25
Obsidian 1337 4.7 3.0 10
Ender 1845 10.0 4.0 15
Nether 1880 11.0 4.5 20