promotional bannermobile promotional banner

MHSCore

Essential core library for all MagicHell Studio mods. Provides the infrastructure for complex gameplay systems, visual effects, multilingual support, and seamless integration with other mods. Required for running any MH Studio mod.
Back to Files

mhscore-1.0.3.jar

File namemhscore-1.0.3.jar
Uploaded
Jul 31, 2026
Downloads
193
Size
82.9 KB
Mod Loaders
Forge
File ID
8547033
Type
R
Release
Supported game versions
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1

Curse Maven Snippet

Forge

implementation "curse.maven:mhscore-1327397:8547033"

Learn more about Curse Maven

What's new

Changelog — Version 1.0.3

This major update introduces the MHS UI Kit component engine, Universal Recipe Engine, intelligent rarity classification, and dev-only UI debugging tools!

Key Changes:

[MHS UI Kit & Custom Tooltip Engine]

  • Tooltip Renderer & RenderTooltipEvent Interceptor: Intercepts vanilla tooltip rendering across all screens to display sleek glassmorphic MHS frames with glowing top rarity lines, badge pills, and separator lines.
  • Dynamic Text Wrapping & Exact Padding: Integrated font.split line-wrapping for long lore text (up to 220px width) and dynamic height calculations ensuring exact 6px bottom padding without badge collision.
  • MHSItemTooltipRegistry: Added 1-line API registry for mod developers to associate custom rarities, translatable summary components, and expandable SHIFT lore with items.
  • Added CREATIVE Rarity: Introduced a vibrant dark magenta #D500F9 rarity tier for debug items, spawn eggs, and admin tools.
  • Intelligent Vanilla Rarity Classifier: Automatically maps vanilla items to appropriate rarity tiers (Netherite -> LEGENDARY, Diamond -> RARE, Gold/Emerald -> UNCOMMON, Coal/Cobble -> COMMON).

[MHS UI Kit Component Engine]

  • Modular UI Component Library: MHSButton, MHSProgressBar (animated smooth progress bars), MHSTabControl & MHSTab (tabbed container navigation), MHSSlotDecoration (slot borders & animated rarity vignettes).

[Universal Custom Recipe Engine & JEI Integration]

  • Custom Recipe Framework: MHSBaseRecipe, MHSShapedRecipe, MHSShapelessRecipe, and MHSAltarRecipe with a fluent MHSRecipeBuilder API to create custom worktables and magical altar recipes in 5-10 lines of code.
  • MHSAltarRecipeCategory: Radial JEI recipe category rendering for central catalyst + pedestal altar recipes.

[Dev-Only UI Inspector Debug Screen]

  • UI Inspector Screen (MHSDebugUIScreen): Pressing F8 in a non-production development environment opens an interactive component inspector to preview and live-tweak buttons, progress bars, tab controls, slot decorations, and tooltips.

This mod has no related projects