跳到正文

SentinelLib

作者:OmbreMoon

A light-weight hitbox library for more engaging mob battles.

收藏

介绍

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

This is a small lib made out of necessity that’s only purpose is to make mob combat a bit more engaging. The typical way Minecraft handles melee combat is checking whether an entity is within a certain distance of another entity and dealing damage, which is kinda boring. Then of course you can apply a hitbox to every attack, but writing the code for the hitbox repeatedly becomes redundant and messy. Not to mention, they don’t natively render and MC restricts hitboxes to AABBs (Axis Aligned Bounding Box).

With SentinelLib, developers can now easily define hitboxes, not just AABBs, but OBBs (Oriented Bounding Box) as well that will rotate with entity movement, apply custom functionality with ease, and can actually see their entities attack hitboxes.

Why fight a boring zombie, when you can fight a Sentinel.

NOTE

This mod is still very much in the beta stage, some functionalities to be implemented soon:

  • Dynamic Rotational Sentinel Boxes
  • Dynamic Scaling Sentinel Boxes
  • Geckolib compatibility (GeoBone based Sentinel Boxes)

常见问题

SentinelLib 支持哪些 Minecraft 版本?

SentinelLib 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

SentinelLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

OmbreMoon 的其他作品

查看全部 →