Uses of Enum Class
org.geysermc.geyser.level.physics.Axis
Package
Description
-
Uses of Axis in org.geysermc.geyser.level.physics
Modifier and TypeMethodDescriptionDirection.getAxis()
static Axis
Returns the enum constant of this class with the specified name.static Axis[]
Axis.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondouble
BoundingBox.getMaxOffset(double xOffset, double yOffset, double zOffset, BoundingBox otherBoundingBox, Axis axis, double offset)
Find the maximum offset of another bounding box in an axis that will not collide with this bounding box -
Uses of Axis in org.geysermc.geyser.session.cache
Modifier and TypeMethodDescriptiondouble
PistonCache.computeCollisionOffset(com.nukkitx.math.vector.Vector3i blockPos, BoundingBox boundingBox, Axis axis, double offset)
-
Uses of Axis in org.geysermc.geyser.translator.collision
Modifier and TypeMethodDescriptiondouble
BlockCollision.computeCollisionOffset(double x, double y, double z, BoundingBox boundingBox, Axis axis, double offset)
-
Uses of Axis in org.geysermc.geyser.translator.level.block.entity
Modifier and TypeMethodDescriptiondouble
PistonBlockEntity.computeCollisionOffset(com.nukkitx.math.vector.Vector3i blockPos, BoundingBox boundingBox, Axis axis, double movement)
Compute the maximum movement of a bounding box that won't collide with the moving block attached to this piston