mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-07-17 20:24:55 +00:00
* Protocol for r/21_u6 NetworkProtocolVersion 776 * Protocol for r/21_u6 NetworkProtocolVersion 776 - Fix README version * Protocol for r/21_u6 NetworkProtocolVersion 776 - Fix changelog release * Protocol for r/21_u6 NetworkProtocolVersion 776 - Add NoteBlockInstrument to protocol doc
218 lines
12 KiB
XML
218 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
|
|
-->
|
|
<!-- Title: NetworkItemInstanceDescriptor Pages: 1 -->
|
|
<svg width="999pt" height="314pt"
|
|
viewBox="0.00 0.00 999.25 314.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 310)">
|
|
<title>NetworkItemInstanceDescriptor</title>
|
|
<polygon fill="white" stroke="none" points="-4,4 -4,-310 995.25,-310 995.25,4 -4,4"/>
|
|
<!-- 25 -->
|
|
<!-- name: "NetworkItemInstanceDescriptor", typeName: "", id: 25, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node1" class="node">
|
|
<title>25</title>
|
|
<ellipse fill="none" stroke="black" cx="130.17" cy="-99" rx="130.17" ry="18"/>
|
|
<text text-anchor="middle" x="130.17" y="-93.95" font-family="Times New Roman,serif" font-size="14.00">NetworkItemInstanceDescriptor</text>
|
|
</g>
|
|
<!-- 26 -->
|
|
<!-- name: "Dependency on 'Item is valid?'", typeName: "", id: 26, branchId: 0, recurseId: -1, attributes: 2, notes: "" -->
|
|
<g id="node2" class="node">
|
|
<title>26</title>
|
|
<polygon fill="none" stroke="black" points="474.34,-117 296.34,-117 296.34,-81 480.34,-81 480.34,-111 474.34,-117"/>
|
|
<polyline fill="none" stroke="black" points="474.34,-117 474.34,-111"/>
|
|
<polyline fill="none" stroke="black" points="480.34,-111 474.34,-111"/>
|
|
<text text-anchor="middle" x="388.34" y="-93.95" font-family="Times New Roman,serif" font-size="14.00">Dependency on 'Item is valid?'</text>
|
|
</g>
|
|
<!-- 25->26 -->
|
|
<g id="edge1" class="edge">
|
|
<title>25->26</title>
|
|
<path fill="none" stroke="black" d="M260.76,-99C268.76,-99 276.76,-99 284.62,-99"/>
|
|
<polygon fill="black" stroke="black" points="284.52,-102.5 294.52,-99 284.52,-95.5 284.52,-102.5"/>
|
|
</g>
|
|
<!-- 27 -->
|
|
<!-- name: "If False", typeName: "", id: 27, branchId: 0, recurseId: -1, attributes: 4, notes: "" -->
|
|
<g id="node3" class="node">
|
|
<title>27</title>
|
|
<polygon fill="none" stroke="black" points="571.59,-171 516.34,-153 571.59,-135 626.84,-153 571.59,-171"/>
|
|
<text text-anchor="middle" x="571.59" y="-147.95" font-family="Times New Roman,serif" font-size="14.00">If False</text>
|
|
</g>
|
|
<!-- 26->27 -->
|
|
<g id="edge2" class="edge">
|
|
<title>26->27</title>
|
|
<path fill="none" stroke="black" d="M451.21,-117.43C477.47,-125.26 507.33,-134.15 530.62,-141.09"/>
|
|
<polygon fill="black" stroke="black" points="529.44,-144.39 540.02,-143.89 531.44,-137.68 529.44,-144.39"/>
|
|
</g>
|
|
<!-- 38 -->
|
|
<!-- name: "If True", typeName: "", id: 38, branchId: 1, recurseId: -1, attributes: 4, notes: "" -->
|
|
<g id="node14" class="node">
|
|
<title>38</title>
|
|
<polygon fill="none" stroke="black" points="571.59,-90 519.96,-72 571.59,-54 623.22,-72 571.59,-90"/>
|
|
<text text-anchor="middle" x="571.59" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">If True</text>
|
|
</g>
|
|
<!-- 26->38 -->
|
|
<g id="edge13" class="edge">
|
|
<title>26->38</title>
|
|
<path fill="none" stroke="black" d="M480.76,-85.38C495.46,-83.19 510.13,-81.01 523.23,-79.06"/>
|
|
<polygon fill="black" stroke="black" points="523.42,-82.57 532.79,-77.63 522.39,-75.64 523.42,-82.57"/>
|
|
</g>
|
|
<!-- 28 -->
|
|
<!-- name: "Id", typeName: "", id: 28, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node4" class="node">
|
|
<title>28</title>
|
|
<ellipse fill="none" stroke="black" cx="740.81" cy="-288" rx="27" ry="18"/>
|
|
<text text-anchor="middle" x="740.81" y="-282.95" font-family="Times New Roman,serif" font-size="14.00">Id</text>
|
|
</g>
|
|
<!-- 27->28 -->
|
|
<g id="edge3" class="edge">
|
|
<title>27->28</title>
|
|
<path fill="none" stroke="black" d="M581.46,-168.12C595.76,-191.29 626.09,-235.53 662.84,-261 675.02,-269.44 690.11,-275.5 703.7,-279.7"/>
|
|
<polygon fill="black" stroke="black" points="702.62,-283.04 713.2,-282.4 704.53,-276.3 702.62,-283.04"/>
|
|
</g>
|
|
<!-- 30 -->
|
|
<!-- name: "Stack size", typeName: "", id: 30, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node6" class="node">
|
|
<title>30</title>
|
|
<ellipse fill="none" stroke="black" cx="740.81" cy="-234" rx="48.28" ry="18"/>
|
|
<text text-anchor="middle" x="740.81" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">Stack size</text>
|
|
</g>
|
|
<!-- 27->30 -->
|
|
<g id="edge5" class="edge">
|
|
<title>27->30</title>
|
|
<path fill="none" stroke="black" d="M590.66,-165.3C608.46,-177.06 636.72,-194.76 662.84,-207 672.06,-211.32 682.18,-215.35 691.96,-218.9"/>
|
|
<polygon fill="black" stroke="black" points="690.77,-222.19 701.36,-222.2 693.09,-215.59 690.77,-222.19"/>
|
|
</g>
|
|
<!-- 32 -->
|
|
<!-- name: "Aux value", typeName: "", id: 32, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node8" class="node">
|
|
<title>32</title>
|
|
<ellipse fill="none" stroke="black" cx="740.81" cy="-180" rx="49.3" ry="18"/>
|
|
<text text-anchor="middle" x="740.81" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">Aux value</text>
|
|
</g>
|
|
<!-- 27->32 -->
|
|
<g id="edge7" class="edge">
|
|
<title>27->32</title>
|
|
<path fill="none" stroke="black" d="M609.7,-158.99C631.46,-162.51 659.39,-167.02 683.78,-170.95"/>
|
|
<polygon fill="black" stroke="black" points="683.15,-174.4 693.58,-172.54 684.26,-167.49 683.15,-174.4"/>
|
|
</g>
|
|
<!-- 34 -->
|
|
<!-- name: "Block Runtime Id", typeName: "", id: 34, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node10" class="node">
|
|
<title>34</title>
|
|
<ellipse fill="none" stroke="black" cx="740.81" cy="-126" rx="77.97" ry="18"/>
|
|
<text text-anchor="middle" x="740.81" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Block Runtime Id</text>
|
|
</g>
|
|
<!-- 27->34 -->
|
|
<g id="edge9" class="edge">
|
|
<title>27->34</title>
|
|
<path fill="none" stroke="black" d="M609.7,-147.01C625.95,-144.38 645.63,-141.21 664.71,-138.12"/>
|
|
<polygon fill="black" stroke="black" points="665.04,-141.62 674.36,-136.57 663.93,-134.71 665.04,-141.62"/>
|
|
</g>
|
|
<!-- 36 -->
|
|
<!-- name: "User Data Buffer", typeName: "", id: 36, branchId: 0, recurseId: -1, attributes: 0, notes: "The @ItemInstanceUserData.html#ItemInstanceUserData@  binary blob encoded as a String, so it's unsigned varint length prefixed. Get all your nbt+property bytes, calculate the length, write that length, THEN write the data." -->
|
|
<g id="node12" class="node">
|
|
<title>36</title>
|
|
<ellipse fill="none" stroke="black" cx="740.81" cy="-72" rx="74.89" ry="18"/>
|
|
<text text-anchor="middle" x="740.81" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">User Data Buffer</text>
|
|
</g>
|
|
<!-- 27->36 -->
|
|
<g id="edge11" class="edge">
|
|
<title>27->36</title>
|
|
<path fill="none" stroke="black" d="M590.66,-140.7C608.46,-128.94 636.72,-111.24 662.84,-99 669.47,-95.89 676.57,-92.94 683.67,-90.2"/>
|
|
<polygon fill="black" stroke="black" points="684.45,-93.64 692.6,-86.88 682.01,-87.08 684.45,-93.64"/>
|
|
</g>
|
|
<!-- 29 -->
|
|
<!-- name: "varint", typeName: "", id: 29, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node5" class="node">
|
|
<title>29</title>
|
|
<ellipse fill="none" stroke="black" cx="923.01" cy="-288" rx="32.41" ry="18"/>
|
|
<text text-anchor="middle" x="923.01" y="-282.95" font-family="Times New Roman,serif" font-size="14.00">varint</text>
|
|
</g>
|
|
<!-- 28->29 -->
|
|
<g id="edge4" class="edge">
|
|
<title>28->29</title>
|
|
<path fill="none" stroke="black" d="M768.01,-288C797.13,-288 844.59,-288 879.13,-288"/>
|
|
<polygon fill="black" stroke="black" points="878.8,-291.5 888.8,-288 878.8,-284.5 878.8,-291.5"/>
|
|
</g>
|
|
<!-- 31 -->
|
|
<!-- name: "unsigned short", typeName: "", id: 31, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node7" class="node">
|
|
<title>31</title>
|
|
<ellipse fill="none" stroke="black" cx="923.01" cy="-234" rx="65.17" ry="18"/>
|
|
<text text-anchor="middle" x="923.01" y="-228.95" font-family="Times New Roman,serif" font-size="14.00">unsigned short</text>
|
|
</g>
|
|
<!-- 30->31 -->
|
|
<g id="edge6" class="edge">
|
|
<title>30->31</title>
|
|
<path fill="none" stroke="black" d="M789.15,-234C806.59,-234 826.8,-234 846.12,-234"/>
|
|
<polygon fill="black" stroke="black" points="845.85,-237.5 855.85,-234 845.85,-230.5 845.85,-237.5"/>
|
|
</g>
|
|
<!-- 33 -->
|
|
<!-- name: "unsigned varint", typeName: "", id: 33, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node9" class="node">
|
|
<title>33</title>
|
|
<ellipse fill="none" stroke="black" cx="923.01" cy="-180" rx="68.24" ry="18"/>
|
|
<text text-anchor="middle" x="923.01" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
|
|
</g>
|
|
<!-- 32->33 -->
|
|
<g id="edge8" class="edge">
|
|
<title>32->33</title>
|
|
<path fill="none" stroke="black" d="M790.57,-180C806.81,-180 825.33,-180 843.25,-180"/>
|
|
<polygon fill="black" stroke="black" points="843.09,-183.5 853.09,-180 843.09,-176.5 843.09,-183.5"/>
|
|
</g>
|
|
<!-- 35 -->
|
|
<!-- name: "varint", typeName: "", id: 35, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node11" class="node">
|
|
<title>35</title>
|
|
<ellipse fill="none" stroke="black" cx="923.01" cy="-126" rx="32.41" ry="18"/>
|
|
<text text-anchor="middle" x="923.01" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">varint</text>
|
|
</g>
|
|
<!-- 34->35 -->
|
|
<g id="edge10" class="edge">
|
|
<title>34->35</title>
|
|
<path fill="none" stroke="black" d="M819.01,-126C839.55,-126 860.99,-126 878.96,-126"/>
|
|
<polygon fill="black" stroke="black" points="878.71,-129.5 888.71,-126 878.71,-122.5 878.71,-129.5"/>
|
|
</g>
|
|
<!-- 37 -->
|
|
<!-- name: "string", typeName: "", id: 37, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node13" class="node">
|
|
<title>37</title>
|
|
<ellipse fill="none" stroke="black" cx="923.01" cy="-72" rx="31.9" ry="18"/>
|
|
<text text-anchor="middle" x="923.01" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">string</text>
|
|
</g>
|
|
<!-- 36->37 -->
|
|
<g id="edge12" class="edge">
|
|
<title>36->37</title>
|
|
<path fill="none" stroke="black" d="M816.14,-72C837.72,-72 860.54,-72 879.45,-72"/>
|
|
<polygon fill="black" stroke="black" points="879.45,-75.5 889.45,-72 879.45,-68.5 879.45,-75.5"/>
|
|
</g>
|
|
<!-- 39 -->
|
|
<!-- name: "Id", typeName: "", id: 39, branchId: 0, recurseId: -1, attributes: 0, notes: "Send fixed Id of 0 for invalid item" -->
|
|
<g id="node15" class="node">
|
|
<title>39</title>
|
|
<ellipse fill="none" stroke="black" cx="740.81" cy="-18" rx="27" ry="18"/>
|
|
<text text-anchor="middle" x="740.81" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">Id</text>
|
|
</g>
|
|
<!-- 38->39 -->
|
|
<g id="edge14" class="edge">
|
|
<title>38->39</title>
|
|
<path fill="none" stroke="black" d="M599.46,-63.32C628.15,-54.06 673.73,-39.34 705.12,-29.2"/>
|
|
<polygon fill="black" stroke="black" points="706.1,-32.56 714.55,-26.16 703.95,-25.9 706.1,-32.56"/>
|
|
</g>
|
|
<!-- 40 -->
|
|
<!-- name: "varint", typeName: "", id: 40, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node16" class="node">
|
|
<title>40</title>
|
|
<ellipse fill="none" stroke="black" cx="923.01" cy="-18" rx="32.41" ry="18"/>
|
|
<text text-anchor="middle" x="923.01" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">varint</text>
|
|
</g>
|
|
<!-- 39->40 -->
|
|
<g id="edge15" class="edge">
|
|
<title>39->40</title>
|
|
<path fill="none" stroke="black" d="M768.01,-18C797.13,-18 844.59,-18 879.13,-18"/>
|
|
<polygon fill="black" stroke="black" points="878.8,-21.5 888.8,-18 878.8,-14.5 878.8,-21.5"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|