diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-07 11:42:48 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-07 11:42:48 +0200 |
commit | 163cc857b0b1e6f52d56e663b8cb1c55f5e1bff2 (patch) | |
tree | 27a128342125bade370c1fdf8b5ef0166d86a881 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | 2d0f63b156f936e9f056537a67eaa13bffa54c27 (diff) | |
download | skyhanni-163cc857b0b1e6f52d56e663b8cb1c55f5e1bff2.tar.gz skyhanni-163cc857b0b1e6f52d56e663b8cb1c55f5e1bff2.tar.bz2 skyhanni-163cc857b0b1e6f52d56e663b8cb1c55f5e1bff2.zip |
Hiding the flame particles when using the Fire Veil Wand ability.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt index 95ab29433..117a35f77 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzVec.kt @@ -1,6 +1,7 @@ package at.hannibal2.skyhanni.utils import net.minecraft.entity.Entity +import net.minecraft.network.play.server.S2APacketParticles import net.minecraft.util.BlockPos import net.minecraft.util.Rotations import net.minecraft.util.Vec3 @@ -107,4 +108,6 @@ fun Entity.getLorenzVec(): LorenzVec = LorenzVec(posX, posY, posZ) fun Vec3.toLorenzVec(): LorenzVec = LorenzVec(xCoord, yCoord, zCoord) -fun Rotations.toLorenzVec(): LorenzVec = LorenzVec(x, y, z)
\ No newline at end of file +fun Rotations.toLorenzVec(): LorenzVec = LorenzVec(x, y, z) + +fun S2APacketParticles.toLorenzVec(): LorenzVec = LorenzVec(xCoordinate, yCoordinate, zCoordinate)
\ No newline at end of file |