Contents
Class DirectionalHitBoxConfig
java.lang.Object
com.hypixel.hytale.server.core.modules.projectile.config.DirectionalHitBoxConfig
The hit shape of a piercing projectile, rotated with its travel direction. Entity
contact detection is axis-aligned (the model HitBox never rotates with yaw), so author
that HitBox square and large enough to contain this shape in every direction; contacts
that land outside this shape are discarded and retested as the projectile advances.
Horizontal only: the model HitBox bounds the vertical.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CODEC
-
-
Constructor Details
-
DirectionalHitBoxConfig
public DirectionalHitBoxConfig()
-
-
Method Details
-
getWidth
public double getWidth() -
getDepth
public double getDepth()
-