public class HitBox
extends java.lang.Object
Constructor and Description |
---|
HitBox(StorageHitbox hitbox)
Hitbox constructor
This calculate all point offsets async
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<org.bukkit.util.Vector,HitBoxSide> |
getPointOffsets(java.lang.Integer rotation)
Get the offset map based on rotation
|
public HitBox(StorageHitbox hitbox)
hitbox
- the StorageHitbox (Sizes)public java.util.HashMap<org.bukkit.util.Vector,HitBoxSide> getPointOffsets(java.lang.Integer rotation)
rotation
- yaw int