FakeAction

data class FakeAction(var fakeYaw: Float = 0.0f, var fakePitch: Float = 0.0f, var rightClick: Boolean = true, var itemSlot: Int = 0, var forceSneak: Boolean = false, var swingItem: Boolean = true, var extraActionFun: () -> Unit = {})

Constructors

Link copied to clipboard
fun FakeAction(fakeYaw: Float = 0.0f, fakePitch: Float = 0.0f, rightClick: Boolean = true, itemSlot: Int = 0, forceSneak: Boolean = false, swingItem: Boolean = true, extraActionFun: () -> Unit = {})

Functions

Link copied to clipboard

Additional action that will be performed after the fake action.

Properties

Link copied to clipboard
var extraActionFun: () -> Unit

Will be run right after the fake action

Link copied to clipboard
var fakePitch: Float = 0.0f
Link copied to clipboard
var fakeYaw: Float = 0.0f
Link copied to clipboard
var forceSneak: Boolean = false
Link copied to clipboard
var itemSlot: Int = 0
Link copied to clipboard
var rightClick: Boolean = true
Link copied to clipboard
var swingItem: Boolean = true

Determines whether the item should be swung client side on left click.