* Encode the packet into {@code buf}. * In Forge 1.20.1, all packets implement {@code Packet#write(FriendlyByteBuf)}. * We simply delegate to that.