Class DirtPathCollision
java.lang.Object
org.geysermc.geyser.translator.collision.BlockCollision
org.geysermc.geyser.translator.collision.DirtPathCollision
-
Field Summary
Fields inherited from class org.geysermc.geyser.translator.collision.BlockCollision
boundingBoxes, pushAwayTolerance, pushUpTolerance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeCorrectPosition(int x, int y, int z, BoundingBox playerCollision)
Overridden in classes like SnowCollision and GrassPathCollision when correction code needs to be run before the main correctionprotected boolean
boolean
int
hashCode()
Methods inherited from class org.geysermc.geyser.translator.collision.BlockCollision
checkIntersection, checkIntersection, computeCollisionOffset, correctPosition, getBoundingBoxes
-
Constructor Details
-
DirtPathCollision
-
-
Method Details
-
beforeCorrectPosition
Description copied from class:BlockCollision
Overridden in classes like SnowCollision and GrassPathCollision when correction code needs to be run before the main correction- Overrides:
beforeCorrectPosition
in classBlockCollision
-
equals
- Overrides:
equals
in classBlockCollision
-
canEqual
- Overrides:
canEqual
in classBlockCollision
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBlockCollision
-