TslatEffectsLib 图标

TslatEffectsLib

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20.1

平台: forge

标签: game-mechanics library utility

资源介绍

A small library for making MobEffects easier to use, and more dynamic

What is this?

The existing MobEffect class in Minecraft is very limited and has only very specific and basic functionality.

You can't really do a whole lot with it without needing extra events, mixins, or any combination or the two.

This lib does the work for you, adding several new hooks and features allowing you to make much better use of the effect system

Features

  • Instance-sensitive tick method
  • Instance-sensitive display name
  • Can-apply checks
  • Mutually-exclusive effects check
  • On-application callback
  • On-reapplication callback
  • On-removal callback
  • Instance-sensitive shouldTick method
  • Pre, during, and post attack method callbacks for both incoming and outgoing attacks
  • Client-side tick callback
  • Custom screen overlay render callback
  • Helper classes for building effects and potions

How do I use it?

Just about everything you'll need to know is documented here:

https://github.com/Tslat/TslatEffectsLib/wiki




If you have issues or want to contribute, please jump on the GitHub page and make your voice heard

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
TrueUUID

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

查看详情
Cornucopia Reborn

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

查看详情
Extra Bows

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

查看详情
Sun and Moon Celestial Configuration

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

查看详情