aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2023-10-28 19:31:28 +0200
committerGitHub <noreply@github.com>2023-10-28 19:31:28 +0200
commit5987dd18a6fc7709d079c81e2062c67b7e62581b (patch)
treef0cc0fa846efd6516f8c161377433c210f0b63ad /src/main/java/at/hannibal2/skyhanni/utils
parente316790f7132430c6d4e7621734999244fb2d34d (diff)
downloadskyhanni-5987dd18a6fc7709d079c81e2062c67b7e62581b.tar.gz
skyhanni-5987dd18a6fc7709d079c81e2062c67b7e62581b.tar.bz2
skyhanni-5987dd18a6fc7709d079c81e2062c67b7e62581b.zip
Feature: Arrow Trail (#601)
Added Arrow Trail Cosmetic #601
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt
index bdab17b3b..339a16efc 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt
@@ -159,6 +159,7 @@ private infix fun Double.multiplyZeroSave(other: Double): Double {
fun BlockPos.toLorenzVec(): LorenzVec = LorenzVec(x, y, z)
fun Entity.getLorenzVec(): LorenzVec = LorenzVec(posX, posY, posZ)
+fun Entity.getPrevLorenzVec(): LorenzVec = LorenzVec(prevPosX, prevPosY, prevPosZ)
fun Vec3.toLorenzVec(): LorenzVec = LorenzVec(xCoord, yCoord, zCoord)