https://wiki.vg/index.php?title=Units_of_Measurement&feed=atom&action=history
Units of Measurement - Revision history
2024-03-29T00:22:57Z
Revision history for this page on the wiki
MediaWiki 1.34.4
https://wiki.vg/index.php?title=Units_of_Measurement&diff=3305&oldid=prev
SirCmpwn at 12:35, 29 March 2012
2012-03-29T12:35:55Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 12:35, 29 March 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l32" >Line 32:</td>
<td colspan="2" class="diff-lineno">Line 32:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Protocol Details]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Protocol Details]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Minecraft <del class="diffchange diffchange-inline">Beta</del>]]</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Minecraft <ins class="diffchange diffchange-inline">Modern</ins>]]</div></td></tr>
</table>
SirCmpwn
https://wiki.vg/index.php?title=Units_of_Measurement&diff=3304&oldid=prev
SirCmpwn at 10:12, 5 March 2012
2012-03-05T10:12:40Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 10:12, 5 March 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l30" >Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| class="col3" | Represents the position of a chunk.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| class="col3" | Represents the position of a chunk.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Protocol Details]]</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Minecraft Beta]]</ins></div></td></tr>
</table>
SirCmpwn
https://wiki.vg/index.php?title=Units_of_Measurement&diff=3303&oldid=prev
SirCmpwn: Created page with "There are several different units of measurement used in the protocol depending on what is being described. For example, it wouldn't make much sense to send the position of a ..."
2012-03-05T10:10:56Z
<p>Created page with "There are several different units of measurement used in the protocol depending on what is being described. For example, it wouldn't make much sense to send the position of a ..."</p>
<p><b>New page</b></p><div>There are several different units of measurement used in the protocol depending on what is being described. For example, it wouldn't make much sense to send the position of a block (which is a constant multiple of 32) in a floating point double.<br />
<br />
A block represents 1 meter x 1 meter x 1 meter. There are 32 pixels per meter, and chunks are 16m x 128m x 16m.<br />
<br />
{| class="wikitable"<br />
|- class="row0"<br />
| class="col0" |<br />
! class="col1 centeralign" | Data Types<br />
! class="col2 centeralign" | Units<br />
! class="col3" | Represents<br />
|- class="row1"<br />
! class="col0" | Absolute<br />
| class="col1 centeralign" | double<br />
| class="col2 centeralign" | meters<br />
| class="col3" | Represents an object's location in the world.<br />
|- class="row2"<br />
! class="col0" | Absolute Integer<br />
| class="col1 centeralign" | int<br />
| class="col2 centeralign" | pixels<br />
| class="col3" | Represents an object's location in the world. <br/> Functions the same as Absolute Double, but requires fewer bytes and is less precise. <br/> In C/C++/Java: <code>absolute_int = (int)(absolute_double * 32.0);</code><br />
|- class="row3"<br />
! class="col0" | Block<br />
| class="col1 centeralign" | byte, short, int<br />
| class="col2 centeralign" | meters<br />
| class="col3" | Represents a block's location in the world.<br />
|- class="row4"<br />
! class="col0" | Chunk<br />
| class="col1 centeralign" | short, int<br />
| class="col2 centeralign" | chunks<br />
| class="col3" | Represents the position of a chunk.<br />
|}</div>
SirCmpwn