Serverbound Use Item On Packet Util
Util class for attaching and working with the ServerboundUseItemOnPacket for user-defined interaction with items on ... by the player.
Types
Link copied to clipboard
data class BlockHitResult(var direction: ServerboundPlayerActionPacketUtil.Direction, var x: Int, var y: Int, var z: Int, var type: ServerboundUseItemOnPacketUtil.ItemUseType, var inside: Boolean, var worldBorderHit: Boolean)
Link copied to clipboard
Link copied to clipboard
data class UseItemOnEvent(var blockHit: ServerboundUseItemOnPacketUtil.BlockHitResult, var hand: ServerboundSwingPacketUtil.InteractionHand, var sequence: Int, var timestamp: Long)