mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-09-19 15:10:01 +00:00
24 lines
1.5 KiB
HTML
24 lines
1.5 KiB
HTML
<!DOCTYPE html> <html> <head><style>table{font-family: arial, sans-serif;border-collapse: collapse;width: 100% ;}.tab { margin-left: 40px; }td, th{text-align: left;padding: 8px;}tr:nth-child(even) {background-color: #dddddd;}div#expand{display:block;}</style> </head> <body><h1>ChangeDimensionPacket (id: 61)</h1>
|
|
<table><col width="1%"><col width="99%"><tr><th></th><th></th></tr><tr><td> <b>Purpose:</b> </td>
|
|
<td>The server sends this packet from the level to kick off dimension changing process.</td>
|
|
</tr><tr><td> <b>Notes:</b> </td>
|
|
<td></td>
|
|
</tr></table><br><h2>Payload</h2>
|
|
<img src="svg/ChangeDimensionPacket.svg" alt="ChangeDimensionPacket">
|
|
<br><br><br><table><col width="10%"><col width="10%"><col width="15%"><col width="80%"><tr><th>Field Name</th><th>Field Type</th><th>Field Constraints</th><th>Field Notes</th></tr><tr><td>Dimension ID</td>
|
|
<td>DimensionType</td>
|
|
<td></td>
|
|
<td>Currently supported: (0 -> Overworld, 1 -> Nether, 2 -> The End, 3 -> Undefined)</td>
|
|
</tr><tr><td>Position</td>
|
|
<td>Vec3</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr><tr><td>Respawn</td>
|
|
<td>bool</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr><tr><td>Loading Screen Id</td>
|
|
<td>unsigned int</td>
|
|
<td></td>
|
|
<td>Leave empty if there is no loading screen expected on the client. This id needs to be unique and not conflict with any other active loading screens. This is implemented with an unsigned integer incrementing forever, and that is expected to not have collisions when it wraps around back to 0 if that could be a possibility.</td>
|
|
</tr></table></body> </html> |