promotional bannermobile promotional banner

Effect Display

Display the potion effect icon and potion level on top of the creature
Back to Files

effect_display-1.1.0.jar

File nameeffect_display-1.1.0.jar
Uploader
dadiao233dadiao233
Uploaded
Jul 9, 2026
Downloads
30
Size
3.0 MB
Mod Loaders
NeoForge
File ID
8398253
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:effect-display-1358597:8398253"

Learn more about Curse Maven

What's new

## New Features

1. Per-player icon rendering control — you can now independently toggle icon rendering for yourself or other players.

2. Buff icons now blink smoothly when the remaining duration drops below 10 seconds, with an on/off toggle.

## Improvements

1. Added line-of-sight filtering — icons are no longer rendered when the entity is not visible, with a configurable render distance. 2. Modified depth testing so that icons are no longer occluded by blocks. Combined with line-of-sight detection, entities behind walls will not show through.

3. Replaced the old reflection-based entity list retrieval with the official API method.

4. Overhauled the coordinate layout system to use relative positioning, with all widget positions now controlled by a unified JSON layout file. The layout is no longer affected by the video settings GUI scale.

## Bug Fixes

1. Fixed an issue where scaling the preview entity would also incorrectly scale the preview buff icons.

2. Fixed an issue where the icon offset control buttons' click areas were overlapped by the title text label.

3. Fixed a missing localization key for the key binding.

新增内容:

1.图标渲染玩家控制,现在可以单独开关自身或其他玩家的图标渲染。

2.现在药水效果在时长低于十秒时会开始闪烁,并且也可以开关。

优化内容:

1.新增视线检测过滤,现在看不到实体时不再渲染,并且可以配置渲染距离。

2.修改深度测试使得图标不被方块遮挡,受视线检测影响,看不到的实体不会穿墙显示。

3.优化原有反射获取的实体列表为官方方法获取。

4.优化整体坐标布局为相对坐标计算,统一json控制布局,使其布局不受视频设置缩放功能影响布局

bug修复:

1.修复预览实体缩放时预览图标也会跟随缩放大小的问题。

2.修复图标偏移操作按钮被标题文本标签遮盖点击判定区域的问题。

3.修复按键绑定本地化key丢失的问题

This mod has no additional files