Class ScaffoldingCollision
java.lang.Object
org.geysermc.geyser.translator.collision.BlockCollision
org.geysermc.geyser.translator.collision.ScaffoldingCollision
In order for scaffolding to work on Bedrock, entity flags need to be sent to the player
-
Field Summary
Fields inherited from class org.geysermc.geyser.translator.collision.BlockCollision
boundingBoxes, pushAwayTolerance, pushUpTolerance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
correctPosition(GeyserSession session, int x, int y, int z, BoundingBox playerCollision)
Returns false if the movement is invalid, and in this case it shouldn't be sent to the server and should be cancelled While the Java server should do this, it could result in false flags by anticheat This functionality is currently only used in 6 or 7 layer snowboolean
int
hashCode()
Methods inherited from class org.geysermc.geyser.translator.collision.BlockCollision
beforeCorrectPosition, checkIntersection, checkIntersection, computeCollisionOffset, getBoundingBoxes
-
Constructor Details
-
ScaffoldingCollision
-
-
Method Details
-
correctPosition
public boolean correctPosition(GeyserSession session, int x, int y, int z, BoundingBox playerCollision)Description copied from class:BlockCollision
Returns false if the movement is invalid, and in this case it shouldn't be sent to the server and should be cancelled While the Java server should do this, it could result in false flags by anticheat This functionality is currently only used in 6 or 7 layer snow- Overrides:
correctPosition
in classBlockCollision
-
equals
- Overrides:
equals
in classBlockCollision
-
canEqual
- Overrides:
canEqual
in classBlockCollision
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBlockCollision
-