What are you searching for?

puzzle-piece

SentinelLib

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

download 3 Downloads · favorite 0 Followers · Updated 4 weeks ago
Neoforge 1.21.1

Versions

inventory_2
sentinellibneo-1.1.6-1.21.1

sentinellibneo-1.1.6-1.21.1 · 4 weeks ago · 119.92 KB

Release download
Neoforge 1.21.1

About

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)

open_in_new View on Modrinth
Compatibility
Client: Required Server: Required
gavel GPL-3.0-only

Conversation

What are your thoughts?

lock Cookie consent

SkinMC uses cookies to provide functionality and features.