tryEtherwarp

fun tryEtherwarp(start: Vec3, targetPos: BlockPos, message: Boolean = false, queueMode: Boolean = false, fakeTp: Boolean = false): Boolean

Stages an etherwarp fake action to the specified block pos for the given start vec which is assumed to be the players coordinates (at feet level). Returns false as well as sends a chat message if etherwarp not possible. Checks the center of all 6 sides and all corners of the block for visibility.

Parameters

start

the start position.

targetPos

the Target

message

if true sends a chat message on fail.

fakeTp

will set the position client side to the etherwarp position after sending the click packet.