setRotation

fun setRotation(rotation: Rotation?): FilterBuilder

Sets the rotation filter on the player.

Return

The updated builder, useful for chaining

Parameters

rotation

The rotation filter to apply to the player. Set to null to disable the filter.