Skip to content

TopScrech/LiquidAss

 
 

Repository files navigation

LiquidAss By TopScrech

Liquid Glass in Minecraft

Screenshot 2025-10-20 113022

LiquidGlass Is Meant To Be An API For Any Minecraft Mod

Features

  • Easy, Customizable, And Fast Glass Rendering API
  • Highly Optimized, Almost Vanilla Performance (For Dedicated GPU PCs)
  • Some Minecraft UI Redesigns

API Example:

// Widget Based Dimensions
int cornerRadiusPx = 0.5f * Math.min(width, height); // Recommended Rounding
ReGlassApi.create(context).fromWidget(someWidget).cornerRadius(cornerRadiusPx).render();

// Custom Style 
customStyle = WidgetStyle.create()
        .tint(Formatting.GOLD.getColorValue(), 0.4f)
        .blurRadius(0).shadow(25f, 0.2f, 0f, 3f)
        .smoothing(.05f).shadowColor(0x000000, 1.0f);

// Static Based Rendering E.g. Called From Screen `render()`.
ReGlassApi.create(context).dimensions(10, 10, 100, 100).cornerRadius(cornerRadiusPx).style(customStyle).render();

// You Must Apply Blur
LiquidGlassUniforms.get().tryApplyBlur(context);


// Ready To Use Widget (Screen Usage Example):
boolean moveable = true; // Makes The Widget Draggable
addDrawableChild(new LiquidGlassWidget(width / 2 - 75, height / 2 - 25, 150, 50, null).setMoveable(moveable));

Keybinds:

  • G: Open The Configuration Screen For LiquidAss
  • H: Playground, Shows a Styled ReGlass Widget, And You Can Summon More By Right Clicking. All Widgets Are Draggable

Contributing Is More Than Welcome!

Especially In The Minecraft UI Redesign Part, This Part Is Highly WIP And Needs a Lot of Work

Sun Set

About

Liquid Glass in Minecraft

Resources

License

Stars

Watchers

Forks

Contributors

No contributors

Languages

  • Java 87.7%
  • GLSL 12.3%