User Tools

Site Tools


tutorial:networking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorial:networking [2024/04/15 02:17] – [Advanced Networking topics] solidblocktutorial:networking [2024/05/04 19:51] (current) – Call out the 1.20.5 networking section at the top so people can know to skip to it bluemeanial
Line 2: Line 2:
 It is recommended to use the new networking API described on this page. It is recommended to use the new networking API described on this page.
 The old page can be [[tutorial:legacy:networking-v0|found here]]. The old page can be [[tutorial:legacy:networking-v0|found here]].
 +
 +For the even newer networking API introduced at 1.20.5, read the [[#Networking in 1.20.5 | separate documentation below]].
  
 ====== Networking ====== ====== Networking ======
Line 219: Line 221:
  
 ===== Networking in 1.20.5 ===== ===== Networking in 1.20.5 =====
-Since 1.20.5, the logic of networking is totally rewrited. In 1.20.5, you have to define a custom ''Payload''. First, define the payload that includes a ''BlockPos'':+Since 1.20.5, the logic of networking has been totally rewritten. In 1.20.5, you have to define a custom ''Payload''. First, define the payload that includes a ''BlockPos'':
  
 <code java> <code java>
tutorial/networking.1713147423.txt.gz · Last modified: 2024/04/15 02:17 by solidblock