InteractBuilder
DSL builder for sending packet-based interaction effects to a Player.
Obtain an instance via the Player.interact extension function.
Parameters
player
The target player for all operations in this builder.
Functions
Link copied to clipboard
Forces the player's held item slot to the specified index via a packet.
Link copied to clipboard
Hides the end credits screen for the player via a packet.
Link copied to clipboard
Sends a fake block removal packet to the player, restoring the original block appearance.
Link copied to clipboard
Shows the end credits screen to the player via a packet.