XGlow 图标

XGlow

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/xglow
资源信息

Minecraft 版本: 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3

平台: bukkit paper purpur spigot

标签: decoration library magic

资源介绍

gif

Works with Java 8 and above.




(I noticed that the GlowAPI from the inventivetalent has been abandoned, has not been updated for a long time, has bad reviews and bugs, as well as a rather low-quality code - so I decided to make and publish my own version of the api for the glow)




XGlow - is a simple, easy-to-use API to create glow on your entities. The plugin requires ProtocolLib to work.

Usage

First you need to create a Glow object:
(You can use a builder for this)

Glow glow = Glow.builder()
                 .сolor(ChatColor.GREEN)
                 .name("test")
                 .build();

You can add entity to glow object holders,
to make this entity glow with glow object colors.
The glow of the entity will be seen by all viewers
which the glow object contains:
glow.addHolders(entity);




To remove the glow of an entity,
you can remove it from the glow object holders.
The entity's glow will disappear for all viewers of the glow object:
glow.removeHolders(entity);
⁣⁣



You can add a viewer to the glow object so that he immediately sees the glow of all holders of the glow object:
glow.display(player);




When the viewer is removed from the glow object,
all holders of the glow object will
no longer glow for removed viewer:
glow.hideFrom(player);




⁣For more features check out XGlow wiki page on github: https://github.com/Xezard/XGlow/wiki

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Chilled

价格:0 墨喵币
下载量:0

查看详情
NotifMod

价格:0 墨喵币
下载量:0

查看详情
Hungry For Pizza

价格:0 墨喵币
下载量:0

查看详情
S.O.M

价格:0 墨喵币
下载量:0

查看详情