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 revisionBoth sides next revision
tutorial:networking [2020/12/10 19:13] – Rewrite for networking v1 - v0 has been moved i509vcbtutorial:networking [2020/12/14 00:56] – Update to API call getStackInHand zulrang
Line 76: Line 76:
         // BAD CODE: DON'T EVER DO THIS!         // BAD CODE: DON'T EVER DO THIS!
         ClientBlockHighlighting.highlightBlock(MinecraftClient.getInstance(), target);         ClientBlockHighlighting.highlightBlock(MinecraftClient.getInstance(), target);
-        return TypedActionResult.success(user.getHandStack(hand));+        return TypedActionResult.success(user.getStackInHand(hand));
     }     }
 </code> </code>
tutorial/networking.txt · Last modified: 2024/05/04 19:51 by bluemeanial