Skip to main content
 Warning: Beta Version
Version: Beta ⚠️

Hit Box Definition

The HitBoxDefinition class is an entry that represents a hit box for an entity to allow interaction with a different entity.

How could this be used?

This could be when using a display entity since they don't have a hit box to allow interaction with.

Fields

Base Entity

Required

Offset

Required

The offset of the hit box relative to the base entity.

Width

Required

The width of the hit box.

Height

Required

The height of the hit box.