InteractHub
Hub interface for packet-based player interaction manipulation.
Provides methods to place/remove fake blocks, lock inventory slots, force held slot changes, and control the credits screen — all via packets without modifying actual server state.
Inheritors
Functions
Forces the player's held item slot to the specified index via a packet.
Hides the end credits screen for the player via a packet.
Locks an inventory slot for the player by sending a fake item packet.
Sends a fake block placement packet to the player at the given location.
Sends a fake block removal packet to the player at the given location, restoring the appearance of the original block.
Sends fake block changes to the player using a FakeBlockBuilder.
Opens a sign editor for the player at the given location.
Shows the end credits screen to the player via a packet.