EarlyPotionSystem

Restores and implements the early potion system mechanics from old Minecraft versions.

File Details

EarlyPotionSystem v1.0.2

  • R
  • Jun 22, 2026
  • 50.95 KB
  • 23
  • 1.20.1
  • Forge

File Name

earlypotions-1.0.2-1.20.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:earlypotionsystem-1577704:8298677")

Learn more about Curse Maven

## v1.0.2 Changelog
### Changed — Optimized Brewing Stand Hopper Interaction
- Implemented WorldlyContainer interface on the early brewing stand block entity, enabling proper hopper item routing:
  - Top face : only accepts items into the ingredient slot (slot 3)
  - Side faces : can input/output from all slots — ingredients (slot 3), fuel (slot 4), and potion bottles (slots 0–2)
  - Bottom face : only extracts from the output potion slots (slots 0, 1, 2)
- Introduced isWaterBottle() helper method that unifies the check for both empty glass bottles and water-filled bottles, preventing hoppers from prematurely extracting unbrewed bottles before the brewing cycle completes
### Added — Potion Effect Tooltips
- Added vanilla-style effect tooltips via appendHoverText() in EarlyPotionItem :
  - Displays the translatable effect name (e.g. "Night Vision")
  - Shows amplifier in Roman numerals when the effect level is above I (e.g. "Night Vision II")
  - Shows formatted duration (e.g. "3:00") for effects lasting longer than 1 second
  - Tooltip text color matches the effect category (beneficial = blue, harmful = red, etc.)
- Tooltips are generated dynamically from each potion's FoodProperties effect list, ensuring consistency with the actual in-game effects