跳到正文

Prism API: A new perspective on UI

作者:Bartus131313

A powerful UI Rendering library for Minecraft.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Release Last Commit License

💎 Prism API

The Ultimate Rendering Framework for Minecraft NeoForge/Fabric.

Prism is a high-performance, developer-friendly UI and rendering library designed to bridge the gap between “standard modded UIs” and “professional dashboard experiences.” It provides a suite of tools for handling complex layouts, fluid dynamics, and butter-smooth animations with minimal boilerplate.


⚠️ Prism API is a Library Mod!

This mod does not add any content to the game on its own. It is a technical dependency used by other mods.

  • Players: You only need this if another mod specifically requires it.
  • Developers: Check our [GitHub/Wiki] for documentation on how to use this API.

✨ Features

  • ⚡ Hybrid Rendering: Combines immediate-mode convenience with retained-mode efficiency.
  • 🌊 Advanced Fluid Tanks: Built-in support for animated fluid rendering with custom tiling, UV clipping, and dynamic tooltips.
  • 📈 Smooth Motion Engine: A full suite of 30+ easing functions (Sine, Elastic, Bounce, etc.) with Delta-Time independent smoothing.
  • 🌈 Gradient Typography: Per-character color interpolation supporting Component color multiplication (tinting).
  • 📐 Adaptive Layouts: Flex-box inspired PrismLayout system for automatic horizontal and vertical element positioning.
  • ✂️ Precision Clipping: Easy-to-use Scissor API for marquees, scrolling lists, and contained UI elements.

🔨 Demo of the example usage

Foundational v1.0.0 – Core 2D UI components, fluids, and layouts.

Demo of Prism API

The Architect v1.1.0 – WORK IN PROGRESS – 3D-on-2D Pipeline, virtual space rendering, and NBT structures.

Demo of Prism API


🛠️ For Developers

PrismAPI is designed to be easy to implement. For the latest JitPack implementation guide and technical documentation, please visit our GitHub Quick Start Guide.


📜 License

This project is licensed under the MIT License. You are free to use this API in any mod or modpack, provided that the original copyright notice and this permission notice are included in all copies or substantial portions of the software.

Prism isn’t just an API; it’s a new perspective on Minecraft UI.

常见问题

Prism API: A new perspective on UI 支持哪些 Minecraft 版本?

Prism API: A new perspective on UI 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

Prism API: A new perspective on UI 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Bartus131313 的其他作品

查看全部 →