Minecraft.How
加载中...
跳至内容
Java 版模组Libraries & APIs

More Hitboxes

作者 DarkPred

More Hitboxes is a library that lets modders add multiple hitboxes to entities, optionally link them to GeckoLib animations, and mark some as attack boxes for client-side combat.

我们的介绍

这个项目能做什么

What it does

More Hitboxes is a small library that gives mod developers the ability to give mobs more than one hitbox. The hitboxes can be defined in datapacks and, if the developer wants, tied to bones or animations from GeckoLib. When a hitbox is marked as an attack box it can hit players, but that feature only works on the client side.

Who it suits

If you're a modder who wants to give a creature a more realistic collision shape or create a hit-box-based combat mechanic, this library is the tool you need. It's also useful for players who rely on other mods that depend on this library; they will need to install the correct loader version for their Minecraft build.

Supported environments

The mod is available for Fabric and NeoForge. But it requires both client and server side code. Look, what you get works with Minecraft 1.21.1, 1.20.6, 1.20.1, 1.19.4, and 1.19.3.

Key features

  • Multiple hitboxes - Define more than one hitbox per entity through datapacks.
  • GeckoLib integration - Optionally attach hitboxes to GeckoLib bones or animations.
  • Attack boxes - Mark a hitbox as an attack box that can hit players; this is client-side only.
  • Blockbench plugin - A helper tool to create hitboxes in the Blockbench editor.

Limitations

  • The default bounding box is still used for collision, so the library doesn't replace the original hitbox.
  • Movements driven by GeckoLib aren't synchronized to the server. That means attack boxes only work for players on the client.

How to get it

Download the Fabric or NeoForge build that matches the Minecraft version you're running. Add the library as a dependency in your mod’s build script to use its features.

Documentation

The main documentation is hosted on GitHub and includes additional information in the Javadoc once the dependency is added to your build script.

反应

登录后即可做出反应。

兼容性

版本与加载器

已记录 8 个版本

1.20.6-1.9.3-fabric

release

下载 (122 KB)

1.21.1-1.9.4-alpha-fabric

alpha

下载 (122 KB)

1.21.1-1.9.4-alpha-neoforge

alpha

下载 (115 KB)

1.21.1-1.9.3-alpha-neoforge

alpha

下载 (115 KB)

1.21.1-1.9.3-alpha-fabric

alpha

下载 (122 KB)

1.20.1-1.9.3-fabric

release

下载 (118 KB)

1.19.4-1.9.3-fabric

release

下载 (118 KB)

1.19.3-1.9.3-fabric

release

下载 (121 KB)

图库

More Hitboxes icon

我们使用 Cookie 来改善您的体验。继续使用本网站即表示您同意我们使用 Cookie。 阅读我们的隐私政策