Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
(TippedArrow metadata; MC|DebugNeighborUpdates)
Line 28: Line 28:
  
 
=== Entity Metadata ===
 
=== Entity Metadata ===
 +
 +
=== TippedArrow ===
 +
 +
Extends [[#Arrow|Arrow]].
 +
 +
Used for both tipped and regular arrows.  If not tipped, then color is set to 0 and no tipped arrow particles are used.
 +
 +
{| class="wikitable"
 +
! Index
 +
! Type
 +
!style="width: 250px;" colspan="2"| Meaning
 +
! Default
 +
|-
 +
| 7
 +
| VarInt
 +
|colspan="2"| Color ({{Change|0|-1}} for no particles)
 +
| {{Change|0|-1}}
 +
|}
 +
 +
Statuses:
 +
;0
 +
:Spawns tipped arrow particle effects, if the color is greater than 0.
  
 
=== Fireworks ===
 
=== Fireworks ===
Line 75: Line 97:
 
No changes so far.  
 
No changes so far.  
  
[[Category:Minecraft Modern]]
+
== Plugin Channels ==
 +
 
 +
=== <code>MC|DebugNeighborsUpdate</code> ===
 +
''Server to client''
 +
 
 +
{{Change||Never sent, but used to debug block updates.  Does not render without modifying the client.}}
 +
 
 +
{|class="wikitable" style="background-color: #d9ead3;"
 +
! Name
 +
! Type
 +
! Notes
 +
|-
 +
| Time
 +
| Long
 +
| World timestamp at which the update occurred.  200 ticks after this timestamp, the given update stops rendering.
 +
|-
 +
| Location
 +
| Position
 +
| Location of the block that updated.
 +
|}
  
 
== Handshaking ==
 
== Handshaking ==
Line 138: Line 179:
  
 
No changes so far.
 
No changes so far.
 +
 +
[[Category:Minecraft Modern]]

Revision as of 20:57, 28 December 2016

This page documents the changes from the last stable Minecraft release (currently 1.11, protocol 315) to the current pre-release (currently 1.11.2, protocol 316). Note that this page contains bleeding-edge information that may not be completely or correctly documented.

One who wishes to commandeer the merging of this into Protocol when an update is made must be sure to respect any changes that may have occurred to the respective packets there.

Contents

Data types

No changes so far.

Packets

No changes so far.

ID Packet name Documentation
Handshaking serverbound
0x00 Handshake Current Pre

New/modified data types

Entity Metadata

TippedArrow

Extends Arrow.

Used for both tipped and regular arrows. If not tipped, then color is set to 0 and no tipped arrow particles are used.

Index Type Meaning Default
7 VarInt Color (0 -1 for no particles) 0 -1

Statuses:

0
Spawns tipped arrow particle effects, if the color is greater than 0.

Fireworks

Extends Entity.

Index Type Meaning Default
6 Slot Firework info Empty
7 VarInt Entity ID of entity which used firework (for elytra boosting) 0

Pig

Extends Animal.

Index Type Meaning Default
13 Boolean Has saddle false
14 VarInt Total boost time 0

Block Actions

No changes so far.

Plugin Channels

MC|DebugNeighborsUpdate

Server to client

Never sent, but used to debug block updates. Does not render without modifying the client.

Name Type Notes
Time Long World timestamp at which the update occurred. 200 ticks after this timestamp, the given update stops rendering.
Location Position Location of the block that updated.

Handshaking

Clientbound

No changes so far.

Serverbound

No changes so far.

Handshake

This causes the server to switch into the target state.

Packet ID State Bound To Field Name Field Type Notes
0x00 Handshaking Server Protocol Version VarInt See protocol version numbers (currently 315 316)
Server Address String Hostname or IP, e.g. localhost or 127.0.0.1, that was used to connect. The Notchian server does not use this information.
Server Port Unsigned Short Default is 25565. The Notchian server does not use this information.
Next State VarInt Enum 1 for status, 2 for login

Status

Clientbound

No changes so far.

Serverbound

No changes so far.

Login

Clientbound

No changes so far.

Serverbound

No changes so far.