view

fun Player.view(action: ViewBuilder.() -> Unit)

Entry point for the view DSL. Applies action to a ViewBuilder for this player.

Parameters

action

DSL block for sending packet-based visual perspective and entity appearance effects.