<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to get the player looking pos?]]></title><description><![CDATA[<p dir="auto">I need smth like this:<br />
var C06PlayerPacket = Java.type('net.minecraft.network.play.client.C03PacketPlayer.<strong>C06PacketPlayerPosLook</strong>');<br />
and i wanna mark this like the normal Teleport with a meter counter. Then i want to get my tp (its a hclip setted to the distance) till now i just got an x axis teleport but i wanna tp u can choose how long and where u tp :C</p>
<p dir="auto">Smth like:</p>
<p dir="auto">Get Meters<br />
Set Meters to hclip distance<br />
Clip</p>
<p dir="auto">example:</p>
<p dir="auto">If Meters (10)<br />
set distance to hclip to (10)<br />
Clip</p>
]]></description><link>https://forum.liquidbounce.net/topic/399/how-to-get-the-player-looking-pos</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Jul 2026 13:07:01 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/399.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Aug 2020 20:19:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to get the player looking pos? on Fri, 07 Aug 2020 21:34:02 GMT]]></title><description><![CDATA[<p dir="auto">Just take a look at the teleport class of LiquidBounce, you should be able to find the code that gets the block you are looking at and how to determine the distance to it.<br />
By the way, if you want to teleport more than 10 blocks, you have to send several packets. <img src="https://forum.liquidbounce.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=866ab33d74c" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /><br />
<a href="https://github.com/CCBlueX/LiquidBounce/blob/master/1.8.9-Forge/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/Teleport.java" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/CCBlueX/LiquidBounce/blob/master/1.8.9-Forge/src/main/java/net/ccbluex/liquidbounce/features/module/modules/exploit/Teleport.java</a></p>
]]></description><link>https://forum.liquidbounce.net/post/2649</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/2649</guid><dc:creator><![CDATA[scorpion3013]]></dc:creator><pubDate>Fri, 07 Aug 2020 21:34:02 GMT</pubDate></item><item><title><![CDATA[Reply to How to get the player looking pos? on Fri, 07 Aug 2020 21:07:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/czechhek" aria-label="Profile: CzechHek">@<bdi>CzechHek</bdi></a> said in <a href="/post/2646">How to get the player looking pos?</a>:</p>
<blockquote>
<p dir="auto">var MovementUtils = Java.type("net.ccbluex.liquidbounce.utils.MovementUtils"), clipDistance;</p>
</blockquote>
<p dir="auto">so this gets the distance of looking block and sets the distance to the clipdistance?</p>
<p dir="auto">ive tried it with this offset</p>
<pre><code>function hClip(offset) {
	mc.thePlayer.sendQueue.addToSendQueue(new C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ + offset, mc.thePlayer.onGround));
</code></pre>
<p dir="auto">then ive tried to put in ur script but it seems not to work do i have to change on urs smth like rename it to hClip not clipDistance ?</p>
<pre><code>this.onUpdate = function () {
		if(mc.thePlayer.onGround) {
			mc.thePlayer.motionY = 0.32
			if(spoofGround.get()){
		        mc.thePlayer.sendQueue.addToSendQueue(new C03PacketPlayer(true));
		      }
		}
		if (mc.thePlayer.onGround &amp;&amp; mc.gameSettings.keyBindSneak.pressed == true) {
			MovementUtils.getSpeed() &gt;= 10 &amp;&amp; MovementUtils.forward(clipDistance = 10);
			hClip(20)
	}
    }
</code></pre>
]]></description><link>https://forum.liquidbounce.net/post/2648</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/2648</guid><dc:creator><![CDATA[FaaatPotato]]></dc:creator><pubDate>Fri, 07 Aug 2020 21:07:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to get the player looking pos? on Fri, 07 Aug 2020 20:53:58 GMT]]></title><description><![CDATA[<p dir="auto">var MovementUtils = Java.type("net.ccbluex.liquidbounce.utils.MovementUtils"), clipDistance;</p>
<p dir="auto">MovementUtils.getSpeed() &gt;= 10 &amp;&amp; MovementUtils.forward(clipDistance = 10);</p>
]]></description><link>https://forum.liquidbounce.net/post/2646</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/2646</guid><dc:creator><![CDATA[CzechHek]]></dc:creator><pubDate>Fri, 07 Aug 2020 20:53:58 GMT</pubDate></item></channel></rss>