Class HitboxInfoImpl
java.lang.Object
com.hammy275.immersivemc.common.api_impl.hitbox.HitboxInfoImpl
- All Implemented Interfaces:
HitboxInfo
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HitboxInfoImpl
-
-
Method Details
-
getHitbox
- Specified by:
getHitbox
in interfaceHitboxInfo
- Returns:
- Get the actual hitbox used for collision, intersection, etc.
-
isTriggerHitbox
public boolean isTriggerHitbox()- Specified by:
isTriggerHitbox
in interfaceHitboxInfo
- Returns:
- Whether this hitbox is a trigger hitbox. As of writing, this is if the break block button is required to be held while a hand is in this hitbox to activate it in VR.
-