Talk:Main Page: Difference between revisions
Jump to navigation
Jump to search
imported>Pokechu22 |
imported>Hacker1280 →Velocity: new section |
||
Line 12: | Line 12: | ||
:[http://en.wikipedia.org/wiki/.vg .vg] is apparently for the Virgin Islands, but also can be used to mean video games, if that helps. --[[User:Pokechu22|Pokechu22]] ([[User talk:Pokechu22|talk]]) 00:06, 26 October 2015 (UTC) | :[http://en.wikipedia.org/wiki/.vg .vg] is apparently for the Virgin Islands, but also can be used to mean video games, if that helps. --[[User:Pokechu22|Pokechu22]] ([[User talk:Pokechu22|talk]]) 00:06, 26 October 2015 (UTC) | ||
== Velocity == | |||
I can confirm that velocity is in 1/8000ths | |||
/** | |||
* Sets the velocity of the specified entity to the specified value | |||
*/ | |||
public void handleEntityVelocity(SPacketEntityVelocity packetIn) | |||
{ | |||
PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); | |||
Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityID()); | |||
if (entity != null) | |||
{ | |||
entity.setVelocity((double)packetIn.getMotionX() / 8000.0D, (double)packetIn.getMotionY() / 8000.0D, (double)packetIn.getMotionZ() / 8000.0D); | |||
} | |||
} | |||
From 1.11.2 source |
Revision as of 01:57, 16 August 2017
Minecraft not in Beta anymore
Can we change all "Minecraft Beta" references to just "Minecraft" on this wiki? --Thvortex 16:57, 13 January 2012 (MST)
How about "Minecraft Modern" and start referring to it as the Modern Protocol (to juxtapose with "Classic Protocol") 01:07, 13 March 2012 (MST)
- The official website uses "Minecraft" and "Minecraft Classic" when referring to the two versions. That's what I as going for. --Thvortex 00:14, 27 March 2012 (MST)
Why wiki.vg?
A domain called wiki for Minecraft? Seems odd. VG? Never heard such a country code. --Bleonard252 (talk) 17:29, 29 July 2015 (UTC)
- .vg is apparently for the Virgin Islands, but also can be used to mean video games, if that helps. --Pokechu22 (talk) 00:06, 26 October 2015 (UTC)
Velocity
I can confirm that velocity is in 1/8000ths
/** * Sets the velocity of the specified entity to the specified value */ public void handleEntityVelocity(SPacketEntityVelocity packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityID());
if (entity != null) { entity.setVelocity((double)packetIn.getMotionX() / 8000.0D, (double)packetIn.getMotionY() / 8000.0D, (double)packetIn.getMotionZ() / 8000.0D); } }
From 1.11.2 source