Difference between revisions of "Pre-release protocol"

From wiki.vg
Jump to navigation Jump to search
m (→‎Pig: Detail on boost)
(Reset page)
 
(857 intermediate revisions by 52 users not shown)
Line 1: Line 1:
This page documents the changes from the [[Protocol|last stable Minecraft release]] (currently [[Protocol version numbers|1.11, protocol 315]]) to the current pre-release (currently [[Protocol version numbers|1.11.2, protocol 316]]). Note that this page contains bleeding-edge information that may not be completely or correctly documented.
+
There are currently no pre-release versions available to document on this page. For the latest stable Minecraft release, see the [[Protocol|Protocol]] page. For previous pre-release pages, see the [[Protocol version numbers|Protocol version numbers]] page.
  
 
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.
 
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.
Line 12: Line 12:
  
 
=== Packets ===
 
=== Packets ===
 
No changes so far.
 
 
{| class="wikitable"
 
! ID
 
! Packet name
 
!colspan="2"| Documentation
 
|-
 
!colspan="4"| Handshaking serverbound
 
{{PacketList|0x00|Handshake}}
 
|-
 
|}
 
 
== New/modified data types ==
 
 
=== 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 ===
 
 
Extends [[Entities#Entity|Entity]].
 
 
{| class="wikitable"
 
! Index
 
! Type
 
!style="width: 250px;" colspan="2"| Meaning
 
! Default
 
|-
 
| 6
 
| [[Slot]]
 
|colspan="2"| Firework info
 
| Empty
 
|-
 
|style="background-color: #d9ead3;"| 7
 
|style="background-color: #d9ead3;"| VarInt
 
|colspan="2" style="background-color: #d9ead3;"| Entity ID of entity which used firework (for elytra boosting)
 
|style="background-color: #d9ead3;"| 0
 
|}
 
 
=== Pig ===
 
 
Extends [[Entities#Animal|Animal]].
 
 
{| class="wikitable"
 
! Index
 
! Type
 
!style="width: 250px;" colspan="2"| Meaning
 
! Default
 
|-
 
| 13
 
| Boolean
 
|colspan="2"| Has saddle
 
| false
 
|-
 
|style="background-color: #d9ead3;"| 14
 
|style="background-color: #d9ead3;"| VarInt
 
|colspan="2" style="background-color: #d9ead3;"| Total time to "boost" with a carrot on a stick for
 
|style="background-color: #d9ead3;"| 0
 
|}
 
 
Whenever a carrot on a stick is used, if the pig is not currently boosting it will start to boost for 140 to 980 (inclusive) ticks.  When boost time is changed, a counter is reset which counts up to the boost time, after which boosting will stop.  The value remains set at its modified value even after boosting is stopped.
 
 
== Block Actions ==
 
 
No changes so far.
 
 
== 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 ==
 
 
=== Clientbound ===
 
 
No changes so far.
 
 
=== Serverbound ===
 
 
No changes so far.
 
 
==== Handshake ====
 
 
This causes the server to switch into the target state.
 
 
{| class="wikitable"
 
! Packet ID
 
! State
 
! Bound To
 
! Field Name
 
! Field Type
 
! Notes
 
|-
 
|rowspan="4"| 0x00
 
|rowspan="4"| Handshaking
 
|rowspan="4"| Server
 
| Protocol Version
 
| VarInt
 
| See [[protocol version numbers]] (currently {{change|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|status]], 2 for [[#Login|login]]
 
|}
 
 
== Status ==
 
 
=== Clientbound ===
 
 
No changes so far.
 
 
=== Serverbound ===
 
 
No changes so far.
 
 
== Login ==
 
 
=== Clientbound ===
 
 
No changes so far.
 
 
=== Serverbound ===
 
  
 
No changes so far.
 
No changes so far.
  
 
[[Category:Minecraft Modern]]
 
[[Category:Minecraft Modern]]

Latest revision as of 16:42, 29 June 2024

There are currently no pre-release versions available to document on this page. For the latest stable Minecraft release, see the Protocol page. For previous pre-release pages, see the Protocol version numbers page.

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.